SoFunction
Updated on 2024-11-18

Jupyter notebook how to implement open dataset

Jupyter notebook opens the dataset

Jupyter notebook can only open datasets (txt, CSV, etc.) in the current directory, so you need to import the dataset backward into the current directory, and the way to do so is to

Upload,

The simple and rough way is to copy the dataset directly to the directory of Jupyter notebook. What if you don't know the default directory of Jupyter notebook? Then change its directory

Then just copy the dataset to this directory

The right way to open Jupyter notebook

Open from command line (recommended)

Windows logo + R: opens the "Run" window

Type cmd: to open a command window

Enter the target path with the cd command

Recommended:(Or directly under the target path: shift+right-click and select 'open cmd here' to open a command window, just under the current path.)

Type: jupyter notebook Enter to open the notebook

This changes the path to the notebook to the path we want.

summarize

The above is a personal experience, I hope it can give you a reference, and I hope you can support me more.