Skip to content

Commit 25578ee

Browse files
committed
update notebooks
1 parent 7878d16 commit 25578ee

18 files changed

+28591
-87079
lines changed

extras/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616

1717
## packages imported directly in notebooks ##
1818
# match version in Colab returned by `!python --version`
19-
- python=3.11.11
19+
- python=3.11.13
2020
# match versions in Colab returned by `!pip list`
2121
# required for pandas' read_html()
2222
- html5lib=1.1

hw_2.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
},
100100
{
101101
"cell_type": "code",
102-
"execution_count": null,
102+
"execution_count": 1,
103103
"metadata": {
104104
"tags": [
105105
"solution"
@@ -127,7 +127,7 @@
127127
},
128128
{
129129
"cell_type": "code",
130-
"execution_count": null,
130+
"execution_count": 2,
131131
"metadata": {
132132
"tags": [
133133
"solution"
@@ -155,7 +155,7 @@
155155
},
156156
{
157157
"cell_type": "code",
158-
"execution_count": null,
158+
"execution_count": 3,
159159
"metadata": {
160160
"tags": [
161161
"solution"
@@ -204,7 +204,7 @@
204204
},
205205
{
206206
"cell_type": "code",
207-
"execution_count": null,
207+
"execution_count": 4,
208208
"metadata": {
209209
"tags": [
210210
"solution"
@@ -259,7 +259,7 @@
259259
"name": "python",
260260
"nbconvert_exporter": "python",
261261
"pygments_lexer": "ipython3",
262-
"version": "3.11.11"
262+
"version": "3.11.13"
263263
},
264264
"mimetype": "text/x-python",
265265
"name": "python",

lecture_0.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@
755755
" "
756756
],
757757
"text/plain": [
758-
"<IPython.lib.display.IFrame at 0x1044a5350>"
758+
"<IPython.lib.display.IFrame at 0x107081bd0>"
759759
]
760760
},
761761
"execution_count": 1,
@@ -953,7 +953,7 @@
953953
"name": "python",
954954
"nbconvert_exporter": "python",
955955
"pygments_lexer": "ipython3",
956-
"version": "3.11.11"
956+
"version": "3.11.13"
957957
},
958958
"mimetype": "text/x-python",
959959
"name": "python",

lecture_1.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
"name": "stderr",
340340
"output_type": "stream",
341341
"text": [
342-
"/var/folders/kr/nx0m1j811kz5vy8c87ffchzr0000gn/T/ipykernel_94278/4056869583.py:1: DtypeWarning: Columns (8,20,31,34) have mixed types. Specify dtype option on import or set low_memory=False.\n",
342+
"/var/folders/kr/nx0m1j811kz5vy8c87ffchzr0000gn/T/ipykernel_29431/4056869583.py:1: DtypeWarning: Columns (8,20,31,34) have mixed types. Specify dtype option on import or set low_memory=False.\n",
343343
" requests = pd.read_csv(\n"
344344
]
345345
}
@@ -1787,7 +1787,7 @@
17871787
"name": "python",
17881788
"nbconvert_exporter": "python",
17891789
"pygments_lexer": "ipython3",
1790-
"version": "3.11.11"
1790+
"version": "3.11.13"
17911791
}
17921792
},
17931793
"nbformat": 4,

lecture_1_demo_solution.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"name": "stderr",
4343
"output_type": "stream",
4444
"text": [
45-
"/var/folders/kr/nx0m1j811kz5vy8c87ffchzr0000gn/T/ipykernel_69550/3437185872.py:3: DtypeWarning: Columns (8,20,31,34) have mixed types. Specify dtype option on import or set low_memory=False.\n",
45+
"/var/folders/kr/nx0m1j811kz5vy8c87ffchzr0000gn/T/ipykernel_29476/3437185872.py:3: DtypeWarning: Columns (8,20,31,34) have mixed types. Specify dtype option on import or set low_memory=False.\n",
4646
" requests = pd.read_csv(\n"
4747
]
4848
}
@@ -85,7 +85,7 @@
8585
},
8686
{
8787
"cell_type": "code",
88-
"execution_count": 13,
88+
"execution_count": 2,
8989
"metadata": {
9090
"editable": true,
9191
"slideshow": {
@@ -106,7 +106,7 @@
106106
"Name: count, dtype: int64"
107107
]
108108
},
109-
"execution_count": 13,
109+
"execution_count": 2,
110110
"metadata": {},
111111
"output_type": "execute_result"
112112
}
@@ -130,7 +130,7 @@
130130
},
131131
{
132132
"cell_type": "code",
133-
"execution_count": 14,
133+
"execution_count": 3,
134134
"metadata": {
135135
"editable": true,
136136
"id": "S90gXzXAiFoC",
@@ -153,7 +153,7 @@
153153
"dtype: int64"
154154
]
155155
},
156-
"execution_count": 14,
156+
"execution_count": 3,
157157
"metadata": {},
158158
"output_type": "execute_result"
159159
}
@@ -1543,7 +1543,7 @@
15431543
"name": "python",
15441544
"nbconvert_exporter": "python",
15451545
"pygments_lexer": "ipython3",
1546-
"version": "3.11.11"
1546+
"version": "3.11.13"
15471547
}
15481548
},
15491549
"nbformat": 4,

lecture_1_exercise.ipynb

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"name": "stdout",
2929
"output_type": "stream",
3030
"text": [
31-
"2025-03-17 00:00:28 URL:https://data.cityofnewyork.us/resource/m6nq-qud6.csv [136065] -> \"2021_yellow_taxi_trips.csv\" [1]\r\n"
31+
"2025-06-29 23:01:23 URL:https://data.cityofnewyork.us/resource/m6nq-qud6.csv [136065] -> \"2021_yellow_taxi_trips.csv\" [1]\r\n"
3232
]
3333
}
3434
],
@@ -52,35 +52,36 @@
5252
"name": "stdout",
5353
"output_type": "stream",
5454
"text": [
55-
"2021_yellow_taxi_trips.csv lecture_1_exercise.ipynb\r\n",
56-
"LICENSE.md lecture_1_exercise_solution.ipynb\r\n",
57-
"Makefile lecture_2.ipynb\r\n",
58-
"\u001b[1m\u001b[36m__pycache__\u001b[m\u001b[m lecture_2.slides.html\r\n",
59-
"\u001b[1m\u001b[36m_build\u001b[m\u001b[m lecture_2_exercise.ipynb\r\n",
60-
"_config.yml lecture_2_exercise_2_solution.ipynb\r\n",
61-
"\u001b[1m\u001b[36m_static\u001b[m\u001b[m lecture_3.ipynb\r\n",
62-
"_toc.yml lecture_3.slides.html\r\n",
63-
"\u001b[1m\u001b[36massignments\u001b[m\u001b[m lecture_3_exercise_solution.ipynb\r\n",
64-
"assignments.md lecture_4.ipynb\r\n",
65-
"attendance.csv lecture_4.slides.html\r\n",
66-
"conf.py lecture_5.ipynb\r\n",
67-
"curve.ipynb lecture_5.slides.html\r\n",
68-
"\u001b[35mdata\u001b[m\u001b[m lecture_5_exercise_solution.ipynb\r\n",
69-
"\u001b[1m\u001b[36mextras\u001b[m\u001b[m lecture_6.ipynb\r\n",
70-
"\u001b[1m\u001b[36mfinal_project\u001b[m\u001b[m lecture_6.slides.html\r\n",
71-
"final_project.md lectures.md\r\n",
72-
"home.md \u001b[1m\u001b[36mmeta\u001b[m\u001b[m\r\n",
73-
"hw_0.ipynb meta.md\r\n",
74-
"hw_1.md nbdime_config.json\r\n",
75-
"hw_2.ipynb pyproject.toml\r\n",
76-
"hw_3.ipynb registration.md\r\n",
77-
"hw_4.ipynb resources.md\r\n",
78-
"index.md \u001b[1m\u001b[36mresults\u001b[m\u001b[m\r\n",
79-
"joining_late.md simple.html\r\n",
80-
"lecture_0.ipynb simple.ipynb\r\n",
81-
"lecture_0.slides.html \u001b[35msolutions\u001b[m\u001b[m\r\n",
82-
"lecture_1.ipynb syllabus.md\r\n",
83-
"lecture_1.slides.html \u001b[1m\u001b[36mtmp\u001b[m\u001b[m\r\n"
55+
"\u001b[1m\u001b[36m__pycache__\u001b[m\u001b[m lecture_1.slides.html\r\n",
56+
"\u001b[1m\u001b[36m_build\u001b[m\u001b[m lecture_2_exercise_2_solution.ipynb\r\n",
57+
"_config.yml lecture_2_exercise.ipynb\r\n",
58+
"\u001b[1m\u001b[36m_static\u001b[m\u001b[m lecture_2_makeup.slides.html\r\n",
59+
"_toc.yml lecture_2.ipynb\r\n",
60+
"2021_yellow_taxi_trips.csv lecture_2.slides.html\r\n",
61+
"\u001b[1m\u001b[36massignments\u001b[m\u001b[m lecture_3_demo_solution.ipynb\r\n",
62+
"assignments.md lecture_3_exercise_solution.ipynb\r\n",
63+
"attendance.csv lecture_3.ipynb\r\n",
64+
"brackets.ipynb lecture_3.slides.html\r\n",
65+
"conf.py lecture_4_demo_solution.ipynb\r\n",
66+
"curve.ipynb lecture_4.ipynb\r\n",
67+
"\u001b[35mdata\u001b[m\u001b[m lecture_4.slides.html\r\n",
68+
"\u001b[1m\u001b[36mextras\u001b[m\u001b[m lecture_5_exercise_solution.ipynb\r\n",
69+
"\u001b[1m\u001b[36mfinal_project\u001b[m\u001b[m lecture_5.ipynb\r\n",
70+
"final_project.md lecture_5.slides.html\r\n",
71+
"home.md lecture_6.ipynb\r\n",
72+
"hw_0.ipynb lecture_6.slides.html\r\n",
73+
"hw_1.md lectures.md\r\n",
74+
"hw_2.ipynb LICENSE.md\r\n",
75+
"hw_3.ipynb Makefile\r\n",
76+
"hw_4.md \u001b[1m\u001b[36mmeta\u001b[m\u001b[m\r\n",
77+
"index.md meta.md\r\n",
78+
"joining_late.md nbdime_config.json\r\n",
79+
"lecture_0.ipynb pyproject.toml\r\n",
80+
"lecture_0.slides.html registration.md\r\n",
81+
"lecture_1_demo_solution.ipynb resources.md\r\n",
82+
"lecture_1_exercise_solution.ipynb \u001b[35msolutions\u001b[m\u001b[m\r\n",
83+
"lecture_1_exercise.ipynb syllabus.md\r\n",
84+
"lecture_1.ipynb \u001b[1m\u001b[36mtmp\u001b[m\u001b[m\r\n"
8485
]
8586
}
8687
],
@@ -182,7 +183,7 @@
182183
"name": "python",
183184
"nbconvert_exporter": "python",
184185
"pygments_lexer": "ipython3",
185-
"version": "3.11.11"
186+
"version": "3.11.13"
186187
},
187188
"mimetype": "text/x-python",
188189
"name": "python",

lecture_1_exercise_solution.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"name": "stdout",
3636
"output_type": "stream",
3737
"text": [
38-
"2025-03-17 00:00:31 URL:https://data.cityofnewyork.us/resource/m6nq-qud6.csv [136065] -> \"2021_yellow_taxi_trips.csv\" [1]\r\n"
38+
"2025-06-29 23:01:26 URL:https://data.cityofnewyork.us/resource/m6nq-qud6.csv [136065] -> \"2021_yellow_taxi_trips.csv\" [1]\r\n"
3939
]
4040
}
4141
],
@@ -1171,7 +1171,7 @@
11711171
"name": "python",
11721172
"nbconvert_exporter": "python",
11731173
"pygments_lexer": "ipython3",
1174-
"version": "3.11.11"
1174+
"version": "3.11.13"
11751175
},
11761176
"mimetype": "text/x-python",
11771177
"name": "python",

lecture_2.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@
551551
"name": "stderr",
552552
"output_type": "stream",
553553
"text": [
554-
"/var/folders/kr/nx0m1j811kz5vy8c87ffchzr0000gn/T/ipykernel_96620/610958175.py:2: DtypeWarning: Columns (8,20,31,34) have mixed types. Specify dtype option on import or set low_memory=False.\n",
554+
"/var/folders/kr/nx0m1j811kz5vy8c87ffchzr0000gn/T/ipykernel_29573/610958175.py:2: DtypeWarning: Columns (8,20,31,34) have mixed types. Specify dtype option on import or set low_memory=False.\n",
555555
" requests = pd.read_csv(url)\n"
556556
]
557557
}
@@ -1308,7 +1308,7 @@
13081308
"name": "stderr",
13091309
"output_type": "stream",
13101310
"text": [
1311-
"/var/folders/kr/nx0m1j811kz5vy8c87ffchzr0000gn/T/ipykernel_96620/1354368569.py:1: DtypeWarning: Columns (20,31,34) have mixed types. Specify dtype option on import or set low_memory=False.\n",
1311+
"/var/folders/kr/nx0m1j811kz5vy8c87ffchzr0000gn/T/ipykernel_29573/1354368569.py:1: DtypeWarning: Columns (20,31,34) have mixed types. Specify dtype option on import or set low_memory=False.\n",
13121312
" requests2 = pd.read_csv(url, dtype={\"Incident Zip\": \"string\"})\n"
13131313
]
13141314
}
@@ -2870,7 +2870,7 @@
28702870
"name": "python",
28712871
"nbconvert_exporter": "python",
28722872
"pygments_lexer": "ipython3",
2873-
"version": "3.11.11"
2873+
"version": "3.11.13"
28742874
},
28752875
"rise": {
28762876
"scroll": true

lecture_2_exercise.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"name": "python",
6161
"nbconvert_exporter": "python",
6262
"pygments_lexer": "ipython3",
63-
"version": "3.11.11"
63+
"version": "3.11.13"
6464
},
6565
"mimetype": "text/x-python",
6666
"name": "python",

lecture_2_exercise_2_solution.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2471,7 +2471,7 @@
24712471
"name": "python",
24722472
"nbconvert_exporter": "python",
24732473
"pygments_lexer": "ipython3",
2474-
"version": "3.11.11"
2474+
"version": "3.11.13"
24752475
},
24762476
"rise": {
24772477
"scroll": true

0 commit comments

Comments
 (0)