Sample datasetsΒΆ
Two kinds of CSV live here:
Synthetic dumps β the notebooks generate their data inline (so every run is reproducible and 100% offline). These three files are the same data dumped to disk, so you can practise
pd.read_csvagainst a real file instead of building one in memory.Small real datasets β permissively licensed, bundled so the optional βπ try it on real dataβ sections in the notebooks also run offline.
Synthetic dumpsΒΆ
File |
Rows |
Schema |
Used by |
|---|---|---|---|
|
60 |
|
NB 47 (capstone analytics) |
|
50 |
|
NB 7 (pandas fundamentals) |
|
15 |
|
sample mirroring the inline data in NB 17 & NB 28 |
Real datasets (permissively licensed)ΒΆ
File |
Rows |
What it is |
Used by |
Licence |
|---|---|---|---|---|
|
344 |
Palmer Penguins β species, island, bill/flipper measurements, body mass, sex (includes real missing values) |
NB 9 (visualization) |
CC0 |
|
731 |
UCI Bike Sharing β daily rental counts (2011β2012) with weather + calendar features |
NB 26 (demand forecasting) |
CC BY 4.0 |
Attribution (required by CC BY 4.0). bike_sharing_daily.csv is the day.csv
file from the UCI Bike Sharing Dataset by Hadi Fanaee-T & JoΓ£o Gama (2013) β
https://archive.ics.uci.edu/dataset/275/bike+sharing+dataset. Numeric weather
columns are normalised as documented there (temp Γ· 41 Β°C, atemp Γ· 50 Β°C,
hum Γ· 100, windspeed Γ· 67). Palmer Penguins (Horst, Hill & Gorman) is
released CC0 via the Palmer Station LTER.
LoadingΒΆ
import pandas as pd
df = pd.read_csv("data/penguins.csv") # or any file above
df.head()
All files are small on purpose β they fit on a screen and travel with this repo.
For real-world projects youβd point pd.read_csv at a much bigger file (or a
database connection); the technique is identical. See the course READMEβs
Datasets β Going further section for more real
datasets you can load in one line.