Mathew K Analytics

📊 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.

Preview (first rows)

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

+ 2 more columns

Columns

ColumnTypeMissingExample
pickuptext02019-03-23 20:21:09
dropofftext02019-03-23 20:27:24
passengersinteger01
distancedecimal01.6
faredecimal07.0
tipdecimal02.15
tollsdecimal00.0
totaldecimal012.95
colortext0yellow
paymenttext44credit card
pickup_zonetext26Lenox Hill West
dropoff_zonetext45UN/Turtle Bay South
pickup_boroughtext26Manhattan
dropoff_boroughtext45Manhattan

Load it in Python

import pandas as pd
df = pd.read_csv("taxis.csv")
df.head()