▚DATAJIN

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.

Open in DATAJINDownload CSV

6,433 rows · 14 columns · CSV · one of the example datasets distributed with the seaborn Python library.

Columns

ColumnType
pickuptext
dropofftext
passengersnumeric
distancenumeric
farenumeric
tipnumeric
tollsnumeric
totalnumeric
colortext
paymenttext
pickup_zonetext
dropoff_zonetext
pickup_boroughtext
dropoff_boroughtext

Summary statistics

Computed from all 6,433 rows. For numeric columns: mean, standard deviation and range; for text columns: the most common values.

Numeric columnMeanSDMinMedianMaxMissing
passengers1.5391.2040160
distance3.0253.82801.6436.70
fare13.0911.5519.51500
tip1.9792.44901.733.20
tolls0.32531.4150024.020
total18.5213.821.314.16174.80
Text columnDistinct valuesMost commonMissing
pickup6,4142019-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
dropoff6,4252019-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
color2yellow (5,451), green (982)0
payment2credit card (4,577), cash (1,812)44
pickup_zone194Midtown Center (230), Upper East Side South (211), Penn Station/Madison Sq West (210), Clinton East (208)26
dropoff_zone203Upper East Side North (245), Murray Hill (220), Midtown Center (215), Upper East Side South (177)45
pickup_borough4Manhattan (5,268), Queens (657), Brooklyn (383), Bronx (99)26
dropoff_borough5Manhattan (5,206), Queens (542), Brooklyn (501), Bronx (137)45

Preview (first 8 rows)

pickupdropoffpassengersdistancefaretiptollstotalcolorpaymentpickup_zonedropoff_zonepickup_boroughdropoff_borough
2019-03-23 20:21:092019-03-23 20:27:2411.67.02.150.012.95yellowcredit cardLenox Hill WestUN/Turtle Bay SouthManhattanManhattan
2019-03-04 16:11:552019-03-04 16:19:0010.795.00.00.09.3yellowcashUpper West Side SouthUpper West Side SouthManhattanManhattan
2019-03-27 17:53:012019-03-27 18:00:2511.377.52.360.014.16yellowcredit cardAlphabet CityWest VillageManhattanManhattan
2019-03-10 01:23:592019-03-10 01:49:5117.727.06.150.036.95yellowcredit cardHudson SqYorkville WestManhattanManhattan
2019-03-30 13:27:422019-03-30 13:37:1432.169.01.10.013.4yellowcredit cardMidtown EastYorkville WestManhattanManhattan
2019-03-11 10:37:232019-03-11 10:47:3110.497.52.160.012.96yellowcredit cardTimes Sq/Theatre DistrictMidtown EastManhattanManhattan
2019-03-26 21:07:312019-03-26 21:17:2913.6513.02.00.018.8yellowcredit cardBattery Park CityTwo Bridges/Seward ParkManhattanManhattan
2019-03-22 12:47:132019-03-22 12:58:1701.48.50.00.011.8yellowMurray HillFlatironManhattanManhattan

Analyses to try

Simple linear regression calculatorFit Y = a + b·X with slope, intercept, R² and p-value.Multiple linear regression calculatorPredict one column from several predictors.Correlation coefficient calculator (Pearson and Spearman)Pearson r or Spearman ρ between two columns, with p-value.

All example datasets