8,000 rows · 10 columns

Ride-hail trips

Eight thousand city ride-hail trips with fares, distances, surge multipliers and tips. Heavy right skew on fare, a rush-hour bimodal duration distribution, and a handful of impossible trips left in on purpose.

What is in it, and what is wrong with it

Fares follow a lognormal shape, so the mean sits well above the median — a good first lesson in why you should not report an average fare. Roughly 0.4% of rows have a distance_km of 0 with a non-zero fare: those are real-world cancellations that still billed, and they will wreck a naive fare-per-km calculation if you do not filter them.

Schema

ColumnTypeDescription
trip_idstringStable synthetic identifier.
pickup_attimestampTrip start, UTC, second resolution.
boroughcategoryPickup zone: Downtown, Midtown, Uptown, Harbour, Airport.
distance_kmfloatTrip distance. Zero on billed cancellations.
duration_minfloatWheels-moving duration in minutes.
fare_usdfloatBase fare before tip, after surge.
tip_usdfloatTip. Always 0 for cash trips in this city.
surge_multiplierfloat1.0 when demand is normal, up to 3.4 at peak.
payment_typecategorycard, wallet, or cash.
passengersintegerRiders in the vehicle, 1–6.

First twelve rows

trip_idpickup_atboroughdistance_kmduration_minfare_usdtip_usdsurge_multiplier
T1039752023-01-01 02:27:59Downtown1.8810.28.932.221
T1005002023-01-01 08:05:36Downtown1.9311.618.873.782
T1021122023-01-01 08:13:48Midtown4.4421.616.13.511
T1017542023-01-01 08:48:01Uptown4.1823.721.32.171.3
T1076702023-01-01 09:18:22Harbour2.2512.310.110.961
T1070192023-01-01 11:16:06Downtown3.0714.511.952.411
T1014132023-01-01 16:06:23Midtown2.4714.515.543.41.4
T1018962023-01-01 16:15:49Airport12.953.137.883.731
T1009292023-01-01 16:39:38Airport12.9270.843.394.361
T1073152023-01-01 17:51:47Midtown3.9523.115.8701
T1040382023-01-01 18:01:29Harbour2.5516.611.872.051
T1031082023-01-01 18:59:26Midtown0.787.46.51.461

Showing the first 8 of 10 columns. Open the full table in the Explorer.