--- license: cc-by-4.0 language: - en pretty_name: "Chicago taxi rides" tags: - zenodo - scientific-data - parquet configs: - config_name: "chicago-taxi" data_files: - split: train path: "chicago-taxi.parquet" default: true --- # 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.
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 ```bibtex @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](https://zenodo.org/records/14537442) **DOI:** [10.5281/zenodo.14537442](https://doi.org/10.5281/zenodo.14537442) **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.