PhysiQuanty commited on
Commit
4e933a2
·
verified ·
1 Parent(s): ad4ee17

Import Zenodo dataset 14537442

Browse files
Files changed (2) hide show
  1. README.md +99 -0
  2. chicago-taxi.parquet +3 -0
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ pretty_name: "Chicago taxi rides"
6
+ tags:
7
+ - zenodo
8
+ - scientific-data
9
+ - parquet
10
+ configs:
11
+ - config_name: "chicago-taxi"
12
+ data_files:
13
+ - split: train
14
+ path: "chicago-taxi.parquet"
15
+ default: true
16
+ ---
17
+
18
+ # Chicago taxi rides
19
+
20
+ ## Description
21
+
22
+ <p>Taxi trips from 2019 to 2021, derived from a <a href="https://data.cityofchicago.org/Transportation/Taxi-Trips-2013-2023-/wrvz-psew/about_data">larger dataset</a> published by the <a href="https://data.cityofchicago.org/">City of Chicago Data Portal</a>.</p>
23
+ <p>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.</p>
24
+ <ul>
25
+ <li><a href="https://cfp.scipy.org/2023/talk/XBUC8S/">Tutorial abstract</a> (2023)</li>
26
+ <li><a href="https://www.youtube.com/watch?v=d7etLJeK20M">Video of tutorial</a> (2023)</li>
27
+ <li><a href="https://github.com/jpivarski-talks/2023-07-11-scipy2023-tutorial-thinking-in-arrays">Tutorial materials</a> (2023) and <a href="https://github.com/jpivarski-talks/2023-07-11-scipy2023-tutorial-thinking-in-arrays/blob/main/part-3/project.ipynb">specific lesson</a> that uses this dataset</li>
28
+ </ul>
29
+ <p>It has this nested schema:</p>
30
+ <pre><code>&gt;&gt;&gt; import awkward as ak
31
+ &gt;&gt;&gt; a = ak.from_parquet("data/chicago-taxi.parquet")
32
+ &gt;&gt;&gt; a.type.show()
33
+ 7728 * var * {
34
+ trip: {
35
+ sec: ?float32,
36
+ km: ?float32,
37
+ begin: {
38
+ lon: ?float64,
39
+ lat: ?float64,
40
+ time: ?datetime64[ms]
41
+ },
42
+ end: {
43
+ lon: ?float64,
44
+ lat: ?float64,
45
+ time: ?datetime64[ms]
46
+ },
47
+ path: var * {
48
+ londiff: float32,
49
+ latdiff: float32
50
+ }
51
+ },
52
+ payment: {
53
+ fare: ?float32,
54
+ tips: ?float32,
55
+ total: ?float32,
56
+ type: categorical[type=string]
57
+ },
58
+ company: categorical[type=string]
59
+ }</code></pre>
60
+ <p>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.</p>
61
+ <p>This dataset was previously published at the following URL: <a href="https://pivarski-princeton.s3.us-east-1.amazonaws.com/chicago-taxi.parquet">https://pivarski-princeton.s3.us-east-1.amazonaws.com/chicago-taxi.parquet</a></p>
62
+
63
+ ## Authors
64
+
65
+ - Pivarski, Jim — Princeton University
66
+ - Chicago Data Portal
67
+
68
+ ## Citation
69
+
70
+ ```bibtex
71
+ @misc{zenodo14537442,
72
+ title = {Chicago taxi rides},
73
+ author = {Pivarski, Jim and Chicago Data Portal},
74
+ year = {2022},
75
+ publisher = {Zenodo},
76
+ doi = {10.5281/zenodo.14537442},
77
+ url = {https://zenodo.org/records/14537442}
78
+ }
79
+ ```
80
+
81
+ ## Original Source
82
+
83
+ **Repository:** [Zenodo](https://zenodo.org/records/14537442)
84
+
85
+ **DOI:** [10.5281/zenodo.14537442](https://doi.org/10.5281/zenodo.14537442)
86
+
87
+ **Publication Date:** 2022-06-06
88
+
89
+ **Version:** Not specified
90
+
91
+ **Original Publisher:** Zenodo
92
+
93
+ **Original License:** cc-by-4.0
94
+
95
+ ## Provenance
96
+
97
+ This dataset was originally published on Zenodo.
98
+
99
+ The original authors and DOI are preserved above.
chicago-taxi.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:faf82892f45c364ee7209ce686724a918555650cb1df7f49b4b6a8661b8935a3
3
+ size 672006132