Hi!
How can we load the datasets to work with them directly on our jupyter notebook in our PC local??
Thanks
First option would be to download the project by clicking on the green button Code
and then Download ZIP
from our github repo then just focus on the datasets
folder.
Second option would be to follow the local install instructions to clone the whole repo.
Last option is to use wget
from inside a jupyter notebook by running a cell with the following syntax:
!wget https://raw.githubusercontent.com/INRIA/scikit-learn-mooc/main/datasets/bike_rides.csv -P ../datasets/
to load the bike_rides dataset (in this example) directly to that jupyter book. Then you simply use pandas to read it:
cycling = pd.read_csv("../datasets/bike_rides.csv")
2 Likes
Perfect! Thank you very much!