list |
|---|
[{"trip":{"sec":60.0,"km":0.0,"begin":{"lon":-87.717503858,"lat":41.942859303,"time":"2019-01-02T13:(...TRUNCATED) |
[{"trip":{"sec":180.0,"km":0.0,"begin":{"lon":-87.717503858,"lat":41.942859303,"time":"2019-10-24T16(...TRUNCATED) |
[{"trip":{"sec":586.0,"km":0.9656063914299011,"begin":{"lon":-87.63186395,"lat":41.892042136,"time":(...TRUNCATED) |
[{"trip":{"sec":420.0,"km":1.2874752283096313,"begin":{"lon":-87.620762865,"lat":41.898331794,"time"(...TRUNCATED) |
[{"trip":{"sec":0.0,"km":0.0,"begin":{"lon":-87.711210593,"lat":41.938666196,"time":"2019-03-12T17:0(...TRUNCATED) |
[{"trip":{"sec":2644.0,"km":29.579742431640625,"begin":{"lon":-87.903039661,"lat":41.97907082,"time"(...TRUNCATED) |
[{"trip":{"sec":2301.0,"km":29.06475257873535,"begin":{"lon":-87.903039661,"lat":41.97907082,"time":(...TRUNCATED) |
[] |
[{"trip":{"sec":480.0,"km":2.73588490486145,"begin":{"lon":-87.633308037,"lat":41.899602111,"time":"(...TRUNCATED) |
[{"trip":{"sec":0.0,"km":0.0,"begin":{"lon":-87.717503858,"lat":41.942859303,"time":"2019-03-29T16:3(...TRUNCATED) |
Chicago taxi rides
Description
Taxi trips from 2019 to 2021, derived from a larger dataset published by the City of Chicago Data Portal.
This subset has been converted into a Parquet file for use in the _Thinking in Arrays_ tutorial presented at SciPy 2022, 2023, 2024, 2025, and 2026.
- Tutorial abstract (2023)
- Video of tutorial (2023)
- Tutorial materials (2023) and specific lesson that uses this dataset
It has this nested schema:
>>> import awkward as ak
>>> a = ak.from_parquet("data/chicago-taxi.parquet")
>>> a.type.show()
7728 * var * {
trip: {
sec: ?float32,
km: ?float32,
begin: {
lon: ?float64,
lat: ?float64,
time: ?datetime64[ms]
},
end: {
lon: ?float64,
lat: ?float64,
time: ?datetime64[ms]
},
path: var * {
londiff: float32,
latdiff: float32
}
},
payment: {
fare: ?float32,
tips: ?float32,
total: ?float32,
type: categorical[type=string]
},
company: categorical[type=string]
}
which is 7728 taxis, each with a variable number of trips. Each trip has a length in seconds and kilometers, a begin and end longitude/latitude/time, as well as a variable-length path (relative to the begin position). Each trip also has payment information (type can be "Unknown", "Cash", "Credit Card", "No Charge", "Mobile", "Prcard", "Dispute", "Pcard", "Prepaid"). Each taxi belongs to one of 65 companies.
This dataset was previously published at the following URL: https://pivarski-princeton.s3.us-east-1.amazonaws.com/chicago-taxi.parquet
Authors
- Pivarski, Jim — Princeton University
- Chicago Data Portal
Citation
@misc{zenodo14537442,
title = {Chicago taxi rides},
author = {Pivarski, Jim and Chicago Data Portal},
year = {2022},
publisher = {Zenodo},
doi = {10.5281/zenodo.14537442},
url = {https://zenodo.org/records/14537442}
}
Original Source
Repository: Zenodo
Publication Date: 2022-06-06
Version: Not specified
Original Publisher: Zenodo
Original License: cc-by-4.0
Provenance
This dataset was originally published on Zenodo.
The original authors and DOI are preserved above.
- Downloads last month
- 20