Skip to content

Commit 2ae986e

Browse files
committed
Upgraded packages, notably to pandas 2 with CoW.
1 parent ea3078f commit 2ae986e

11 files changed

+165
-21
lines changed

notebooks/0a_intro.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"name": "python",
8989
"nbconvert_exporter": "python",
9090
"pygments_lexer": "ipython3",
91-
"version": "3.11.2"
91+
"version": "3.11.3"
9292
},
9393
"vscode": {
9494
"interpreter": {

notebooks/0b_anaconda.ipynb

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"cells": [
33
{
4+
"attachments": {},
45
"cell_type": "markdown",
56
"metadata": {},
67
"source": [
@@ -16,6 +17,7 @@
1617
]
1718
},
1819
{
20+
"attachments": {},
1921
"cell_type": "markdown",
2022
"metadata": {},
2123
"source": [
@@ -52,6 +54,16 @@
5254
]
5355
},
5456
{
57+
"cell_type": "code",
58+
"execution_count": null,
59+
"metadata": {},
60+
"outputs": [],
61+
"source": [
62+
"pd.set_option(\"mode.copy_on_write\", True)"
63+
]
64+
},
65+
{
66+
"attachments": {},
5567
"cell_type": "markdown",
5668
"metadata": {},
5769
"source": [
@@ -76,13 +88,15 @@
7688
]
7789
},
7890
{
91+
"attachments": {},
7992
"cell_type": "markdown",
8093
"metadata": {},
8194
"source": [
8295
"Note that to find the contents of this attribute `executable` within the `sys` package, we have to use the package namespace `sys`. Most about namespaces below."
8396
]
8497
},
8598
{
99+
"attachments": {},
86100
"cell_type": "markdown",
87101
"metadata": {},
88102
"source": [
@@ -107,6 +121,7 @@
107121
]
108122
},
109123
{
124+
"attachments": {},
110125
"cell_type": "markdown",
111126
"metadata": {},
112127
"source": [
@@ -124,6 +139,7 @@
124139
]
125140
},
126141
{
142+
"attachments": {},
127143
"cell_type": "markdown",
128144
"metadata": {},
129145
"source": [
@@ -140,13 +156,15 @@
140156
]
141157
},
142158
{
159+
"attachments": {},
143160
"cell_type": "markdown",
144161
"metadata": {},
145162
"source": [
146163
"Note that we see the `sys` and `pd` packages that we imported, and we also see the `TextBlob` class that we imported from its package."
147164
]
148165
},
149166
{
167+
"attachments": {},
150168
"cell_type": "markdown",
151169
"metadata": {},
152170
"source": [
@@ -166,6 +184,7 @@
166184
]
167185
},
168186
{
187+
"attachments": {},
169188
"cell_type": "markdown",
170189
"metadata": {},
171190
"source": [
@@ -179,6 +198,7 @@
179198
]
180199
},
181200
{
201+
"attachments": {},
182202
"cell_type": "markdown",
183203
"metadata": {},
184204
"source": [
@@ -195,6 +215,7 @@
195215
]
196216
},
197217
{
218+
"attachments": {},
198219
"cell_type": "markdown",
199220
"metadata": {},
200221
"source": [
@@ -219,6 +240,7 @@
219240
]
220241
},
221242
{
243+
"attachments": {},
222244
"cell_type": "markdown",
223245
"metadata": {},
224246
"source": [
@@ -261,6 +283,7 @@
261283
]
262284
},
263285
{
286+
"attachments": {},
264287
"cell_type": "markdown",
265288
"metadata": {},
266289
"source": [
@@ -285,6 +308,7 @@
285308
]
286309
},
287310
{
311+
"attachments": {},
288312
"cell_type": "markdown",
289313
"metadata": {},
290314
"source": [
@@ -298,6 +322,7 @@
298322
]
299323
},
300324
{
325+
"attachments": {},
301326
"cell_type": "markdown",
302327
"metadata": {},
303328
"source": [
@@ -340,6 +365,7 @@
340365
]
341366
},
342367
{
368+
"attachments": {},
343369
"cell_type": "markdown",
344370
"metadata": {},
345371
"source": [
@@ -397,13 +423,15 @@
397423
]
398424
},
399425
{
426+
"attachments": {},
400427
"cell_type": "markdown",
401428
"metadata": {},
402429
"source": [
403430
"For many examples of really cool vizualizations that are easy to do (and have code samples), see the [plotly express documentation](https://plot.ly/python/plotly-express/)."
404431
]
405432
},
406433
{
434+
"attachments": {},
407435
"cell_type": "markdown",
408436
"metadata": {},
409437
"source": [
@@ -425,6 +453,7 @@
425453
]
426454
},
427455
{
456+
"attachments": {},
428457
"cell_type": "markdown",
429458
"metadata": {},
430459
"source": [
@@ -448,6 +477,7 @@
448477
]
449478
},
450479
{
480+
"attachments": {},
451481
"cell_type": "markdown",
452482
"metadata": {},
453483
"source": [
@@ -465,6 +495,7 @@
465495
]
466496
},
467497
{
498+
"attachments": {},
468499
"cell_type": "markdown",
469500
"metadata": {},
470501
"source": [
@@ -483,6 +514,7 @@
483514
]
484515
},
485516
{
517+
"attachments": {},
486518
"cell_type": "markdown",
487519
"metadata": {},
488520
"source": [
@@ -497,6 +529,7 @@
497529
]
498530
},
499531
{
532+
"attachments": {},
500533
"cell_type": "markdown",
501534
"metadata": {},
502535
"source": [
@@ -529,6 +562,7 @@
529562
]
530563
},
531564
{
565+
"attachments": {},
532566
"cell_type": "markdown",
533567
"metadata": {},
534568
"source": [
@@ -550,6 +584,7 @@
550584
"source": []
551585
},
552586
{
587+
"attachments": {},
553588
"cell_type": "markdown",
554589
"metadata": {},
555590
"source": [
@@ -580,7 +615,7 @@
580615
"name": "python",
581616
"nbconvert_exporter": "python",
582617
"pygments_lexer": "ipython3",
583-
"version": "3.11.2"
618+
"version": "3.11.3"
584619
},
585620
"vscode": {
586621
"interpreter": {

notebooks/0c_python1.ipynb

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"cells": [
33
{
4+
"attachments": {},
45
"cell_type": "markdown",
56
"metadata": {},
67
"source": [
@@ -25,6 +26,16 @@
2526
]
2627
},
2728
{
29+
"cell_type": "code",
30+
"execution_count": null,
31+
"metadata": {},
32+
"outputs": [],
33+
"source": [
34+
"pd.set_option(\"mode.copy_on_write\", True)"
35+
]
36+
},
37+
{
38+
"attachments": {},
2839
"cell_type": "markdown",
2940
"metadata": {},
3041
"source": [
@@ -44,6 +55,7 @@
4455
]
4556
},
4657
{
58+
"attachments": {},
4759
"cell_type": "markdown",
4860
"metadata": {},
4961
"source": [
@@ -139,6 +151,7 @@
139151
]
140152
},
141153
{
154+
"attachments": {},
142155
"cell_type": "markdown",
143156
"metadata": {},
144157
"source": [
@@ -168,6 +181,7 @@
168181
]
169182
},
170183
{
184+
"attachments": {},
171185
"cell_type": "markdown",
172186
"metadata": {},
173187
"source": [
@@ -187,6 +201,7 @@
187201
]
188202
},
189203
{
204+
"attachments": {},
190205
"cell_type": "markdown",
191206
"metadata": {},
192207
"source": [
@@ -208,6 +223,7 @@
208223
]
209224
},
210225
{
226+
"attachments": {},
211227
"cell_type": "markdown",
212228
"metadata": {},
213229
"source": [
@@ -288,6 +304,7 @@
288304
]
289305
},
290306
{
307+
"attachments": {},
291308
"cell_type": "markdown",
292309
"metadata": {},
293310
"source": [
@@ -325,6 +342,7 @@
325342
]
326343
},
327344
{
345+
"attachments": {},
328346
"cell_type": "markdown",
329347
"metadata": {},
330348
"source": [
@@ -368,6 +386,7 @@
368386
]
369387
},
370388
{
389+
"attachments": {},
371390
"cell_type": "markdown",
372391
"metadata": {},
373392
"source": [
@@ -415,6 +434,7 @@
415434
]
416435
},
417436
{
437+
"attachments": {},
418438
"cell_type": "markdown",
419439
"metadata": {},
420440
"source": [
@@ -469,6 +489,7 @@
469489
]
470490
},
471491
{
492+
"attachments": {},
472493
"cell_type": "markdown",
473494
"metadata": {},
474495
"source": [
@@ -509,6 +530,7 @@
509530
]
510531
},
511532
{
533+
"attachments": {},
512534
"cell_type": "markdown",
513535
"metadata": {},
514536
"source": [
@@ -523,6 +545,7 @@
523545
]
524546
},
525547
{
548+
"attachments": {},
526549
"cell_type": "markdown",
527550
"metadata": {},
528551
"source": [
@@ -553,6 +576,7 @@
553576
]
554577
},
555578
{
579+
"attachments": {},
556580
"cell_type": "markdown",
557581
"metadata": {},
558582
"source": [
@@ -591,6 +615,7 @@
591615
]
592616
},
593617
{
618+
"attachments": {},
594619
"cell_type": "markdown",
595620
"metadata": {},
596621
"source": [
@@ -632,6 +657,7 @@
632657
]
633658
},
634659
{
660+
"attachments": {},
635661
"cell_type": "markdown",
636662
"metadata": {},
637663
"source": [
@@ -662,7 +688,7 @@
662688
"name": "python",
663689
"nbconvert_exporter": "python",
664690
"pygments_lexer": "ipython3",
665-
"version": "3.11.2"
691+
"version": "3.11.3"
666692
},
667693
"vscode": {
668694
"interpreter": {

notebooks/1a_python2.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@
718718
"name": "python",
719719
"nbconvert_exporter": "python",
720720
"pygments_lexer": "ipython3",
721-
"version": "3.11.2"
721+
"version": "3.11.3"
722722
},
723723
"vscode": {
724724
"interpreter": {

0 commit comments

Comments
 (0)