📊 Dataset · CSV
flights.csv dataset
Download flights.csv free (144 rows × 3 columns, 2.3 KB). Preview the rows and columns, load it in pandas in one line and practise with 4 Python lessons.
- Size2.3 KB
- Rows144
- Columns3
- Used in4 lessons
Preview (first rows)
| year | month | passengers |
|---|---|---|
| 1949 | January | 112 |
| 1949 | February | 118 |
| 1949 | March | 132 |
| 1949 | April | 129 |
| 1949 | May | 121 |
| 1949 | June | 135 |
| 1949 | July | 148 |
| 1949 | August | 148 |
Columns
| Column | Type | Missing | Example |
|---|---|---|---|
year | integer | 0 | 1949 |
month | text | 0 | January |
passengers | integer | 0 | 112 |
Load it in Python
import pandas as pd
df = pd.read_csv("flights.csv")
df.head()



