📊 Dataset · CSV
sample_data.csv dataset
Download sample_data.csv free (3 rows × 4 columns, 73 B). Preview the rows and columns, load it in pandas in one line and practise with 1 Python lesson.
- Size73 B
- Rows3
- Columns4
- Used in1 lesson
Preview (first rows)
| name | age | city | age_next_year |
|---|---|---|---|
| Alice | 25 | NY | 26 |
| Bob | 30 | LA | 31 |
| Charlie | 35 | SF | 36 |
Columns
| Column | Type | Missing | Example |
|---|---|---|---|
name | text | 0 | Alice |
age | integer | 0 | 25 |
city | text | 0 | NY |
age_next_year | integer | 0 | 26 |
Load it in Python
import pandas as pd
df = pd.read_csv("sample_data.csv")
df.head()
