📊 Dataset · CSV
taxis.csv dataset
Download taxis.csv free (6,433 rows × 14 columns, 849.0 KB). Preview the rows and columns, load it in pandas in one line and practise with 1 Python lesson.
- Size849.0 KB
- Rows6,433
- Columns14
- Used in1 lesson
Preview (first rows)
| pickup | dropoff | passengers | distance | fare | tip | tolls | total | color | payment | pickup_zone | dropoff_zone |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 2019-03-23 20:21:09 | 2019-03-23 20:27:24 | 1 | 1.6 | 7.0 | 2.15 | 0.0 | 12.95 | yellow | credit card | Lenox Hill West | UN/Turtle Bay South |
| 2019-03-04 16:11:55 | 2019-03-04 16:19:00 | 1 | 0.79 | 5.0 | 0.0 | 0.0 | 9.3 | yellow | cash | Upper West Side South | Upper West Side South |
| 2019-03-27 17:53:01 | 2019-03-27 18:00:25 | 1 | 1.37 | 7.5 | 2.36 | 0.0 | 14.16 | yellow | credit card | Alphabet City | West Village |
| 2019-03-10 01:23:59 | 2019-03-10 01:49:51 | 1 | 7.7 | 27.0 | 6.15 | 0.0 | 36.95 | yellow | credit card | Hudson Sq | Yorkville West |
| 2019-03-30 13:27:42 | 2019-03-30 13:37:14 | 3 | 2.16 | 9.0 | 1.1 | 0.0 | 13.4 | yellow | credit card | Midtown East | Yorkville West |
| 2019-03-11 10:37:23 | 2019-03-11 10:47:31 | 1 | 0.49 | 7.5 | 2.16 | 0.0 | 12.96 | yellow | credit card | Times Sq/Theatre District | Midtown East |
| 2019-03-26 21:07:31 | 2019-03-26 21:17:29 | 1 | 3.65 | 13.0 | 2.0 | 0.0 | 18.8 | yellow | credit card | Battery Park City | Two Bridges/Seward Park |
| 2019-03-22 12:47:13 | 2019-03-22 12:58:17 | 0 | 1.4 | 8.5 | 0.0 | 0.0 | 11.8 | yellow | Murray Hill | Flatiron |
+ 2 more columns
Columns
| Column | Type | Missing | Example |
|---|---|---|---|
pickup | text | 0 | 2019-03-23 20:21:09 |
dropoff | text | 0 | 2019-03-23 20:27:24 |
passengers | integer | 0 | 1 |
distance | decimal | 0 | 1.6 |
fare | decimal | 0 | 7.0 |
tip | decimal | 0 | 2.15 |
tolls | decimal | 0 | 0.0 |
total | decimal | 0 | 12.95 |
color | text | 0 | yellow |
payment | text | 44 | credit card |
pickup_zone | text | 26 | Lenox Hill West |
dropoff_zone | text | 45 | UN/Turtle Bay South |
pickup_borough | text | 26 | Manhattan |
dropoff_borough | text | 45 | Manhattan |
Load it in Python
import pandas as pd
df = pd.read_csv("taxis.csv")
df.head()
