NYC taxi trips dataset
About 6,400 New York City taxi trips in March 2019 with distance, fare, tip, tolls, total, payment type and pickup/drop-off zones.
6,433 rows · 14 columns · CSV · one of the example datasets distributed with the seaborn Python library.
Columns
| Column | Type |
|---|---|
| pickup | text |
| dropoff | text |
| passengers | numeric |
| distance | numeric |
| fare | numeric |
| tip | numeric |
| tolls | numeric |
| total | numeric |
| color | text |
| payment | text |
| pickup_zone | text |
| dropoff_zone | text |
| pickup_borough | text |
| dropoff_borough | text |
Summary statistics
Computed from all 6,433 rows. For numeric columns: mean, standard deviation and range; for text columns: the most common values.
| Numeric column | Mean | SD | Min | Median | Max | Missing |
|---|---|---|---|---|---|---|
| passengers | 1.539 | 1.204 | 0 | 1 | 6 | 0 |
| distance | 3.025 | 3.828 | 0 | 1.64 | 36.7 | 0 |
| fare | 13.09 | 11.55 | 1 | 9.5 | 150 | 0 |
| tip | 1.979 | 2.449 | 0 | 1.7 | 33.2 | 0 |
| tolls | 0.3253 | 1.415 | 0 | 0 | 24.02 | 0 |
| total | 18.52 | 13.82 | 1.3 | 14.16 | 174.8 | 0 |
| Text column | Distinct values | Most common | Missing |
|---|---|---|---|
| pickup | 6,414 | 2019-03-24 00:12:23 (2), 2019-03-17 12:10:05 (2), 2019-03-15 08:39:34 (2), 2019-03-19 14:40:14 (2) | 0 |
| dropoff | 6,425 | 2019-03-02 00:58:26 (2), 2019-03-26 17:39:56 (2), 2019-03-20 10:38:15 (2), 2019-03-13 19:39:35 (2) | 0 |
| color | 2 | yellow (5,451), green (982) | 0 |
| payment | 2 | credit card (4,577), cash (1,812) | 44 |
| pickup_zone | 194 | Midtown Center (230), Upper East Side South (211), Penn Station/Madison Sq West (210), Clinton East (208) | 26 |
| dropoff_zone | 203 | Upper East Side North (245), Murray Hill (220), Midtown Center (215), Upper East Side South (177) | 45 |
| pickup_borough | 4 | Manhattan (5,268), Queens (657), Brooklyn (383), Bronx (99) | 26 |
| dropoff_borough | 5 | Manhattan (5,206), Queens (542), Brooklyn (501), Bronx (137) | 45 |
Preview (first 8 rows)
| pickup | dropoff | passengers | distance | fare | tip | tolls | total | color | payment | pickup_zone | dropoff_zone | pickup_borough | dropoff_borough |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | Manhattan | Manhattan |
| 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 | Manhattan | Manhattan |
| 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 | Manhattan | Manhattan |
| 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 | Manhattan | Manhattan |
| 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 | Manhattan | Manhattan |
| 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 | Manhattan | Manhattan |
| 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 | Manhattan | Manhattan |
| 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 | Manhattan | Manhattan |