Skip to content

Commit 0d080d5

Browse files
committed
⬆️ Update to Python 3.13 and pandas 3
* Add accelerate>=1.1.0 * Update notebooks * Update gitignore config
1 parent df3013d commit 0d080d5

12 files changed

Lines changed: 7416 additions & 3953 deletions

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.python-version
2-
31
# Distribution / packaging
42
*.egg-info/
53

@@ -11,3 +9,6 @@ docs/_build/
119

1210
# virtualenv
1311
.venv
12+
13+
# Generated checkpoints
14+
docs/4gen_ai/llm_ai_act_finetuned/

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12
1+
3.13

docs/2deep_ml_ops/cnn-beispiel.ipynb

Lines changed: 635 additions & 558 deletions
Large diffs are not rendered by default.

docs/2deep_ml_ops/deduplicate.ipynb

Lines changed: 127 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@
1515
"cell_type": "code",
1616
"execution_count": 1,
1717
"id": "b40d877a-7429-463b-9443-1f423d36121a",
18-
"metadata": {},
18+
"metadata": {
19+
"execution": {
20+
"iopub.execute_input": "2026-03-02T16:52:57.599573Z",
21+
"iopub.status.busy": "2026-03-02T16:52:57.599269Z",
22+
"iopub.status.idle": "2026-03-02T16:52:57.810704Z",
23+
"shell.execute_reply": "2026-03-02T16:52:57.810081Z",
24+
"shell.execute_reply.started": "2026-03-02T16:52:57.599551Z"
25+
}
26+
},
1927
"outputs": [],
2028
"source": [
2129
"import pandas as pd"
@@ -25,7 +33,15 @@
2533
"cell_type": "code",
2634
"execution_count": 2,
2735
"id": "c5fca3df-d2c0-47a5-81e7-1ffa864bb90a",
28-
"metadata": {},
36+
"metadata": {
37+
"execution": {
38+
"iopub.execute_input": "2026-03-02T16:52:57.811124Z",
39+
"iopub.status.busy": "2026-03-02T16:52:57.810993Z",
40+
"iopub.status.idle": "2026-03-02T16:52:57.961789Z",
41+
"shell.execute_reply": "2026-03-02T16:52:57.961117Z",
42+
"shell.execute_reply.started": "2026-03-02T16:52:57.811115Z"
43+
}
44+
},
2945
"outputs": [],
3046
"source": [
3147
"customers = pd.read_csv(\n",
@@ -34,14 +50,6 @@
3450
")"
3551
]
3652
},
37-
{
38-
"cell_type": "code",
39-
"execution_count": null,
40-
"id": "c7bd864d-3e9d-4711-8003-2cd2dd4596b3",
41-
"metadata": {},
42-
"outputs": [],
43-
"source": []
44-
},
4553
{
4654
"cell_type": "markdown",
4755
"id": "67b62ec8-4c31-4e77-b46d-32364b01a79b",
@@ -56,6 +64,13 @@
5664
"execution_count": 3,
5765
"id": "c7cf08e8-bebd-47f7-824d-60f16c86c85b",
5866
"metadata": {
67+
"execution": {
68+
"iopub.execute_input": "2026-03-02T16:52:57.962213Z",
69+
"iopub.status.busy": "2026-03-02T16:52:57.962124Z",
70+
"iopub.status.idle": "2026-03-02T16:52:57.971149Z",
71+
"shell.execute_reply": "2026-03-02T16:52:57.970648Z",
72+
"shell.execute_reply.started": "2026-03-02T16:52:57.962204Z"
73+
},
5974
"scrolled": true
6075
},
6176
"outputs": [
@@ -293,31 +308,39 @@
293308
},
294309
{
295310
"cell_type": "code",
296-
"execution_count": 5,
311+
"execution_count": 4,
297312
"id": "578db81c-f9ad-47c1-bf1f-c4183e6498f4",
298-
"metadata": {},
313+
"metadata": {
314+
"execution": {
315+
"iopub.execute_input": "2026-03-02T16:52:57.971598Z",
316+
"iopub.status.busy": "2026-03-02T16:52:57.971504Z",
317+
"iopub.status.idle": "2026-03-02T16:52:57.974641Z",
318+
"shell.execute_reply": "2026-03-02T16:52:57.974097Z",
319+
"shell.execute_reply.started": "2026-03-02T16:52:57.971589Z"
320+
}
321+
},
299322
"outputs": [
300323
{
301324
"data": {
302325
"text/plain": [
303-
"name object\n",
304-
"job object\n",
305-
"company object\n",
306-
"street_address object\n",
307-
"city object\n",
308-
"state object\n",
309-
"email object\n",
310-
"user_name object\n",
326+
"name str\n",
327+
"job str\n",
328+
"company str\n",
329+
"street_address str\n",
330+
"city str\n",
331+
"state str\n",
332+
"email str\n",
333+
"user_name str\n",
311334
"dtype: object"
312335
]
313336
},
314-
"execution_count": 5,
337+
"execution_count": 4,
315338
"metadata": {},
316339
"output_type": "execute_result"
317340
}
318341
],
319342
"source": [
320-
"customers.dtypes\n"
343+
"customers.dtypes"
321344
]
322345
},
323346
{
@@ -338,9 +361,16 @@
338361
},
339362
{
340363
"cell_type": "code",
341-
"execution_count": 6,
364+
"execution_count": 5,
342365
"id": "0540e3f9-4db0-4b91-9f7f-878f53dc1a44",
343366
"metadata": {
367+
"execution": {
368+
"iopub.execute_input": "2026-03-02T16:52:57.974962Z",
369+
"iopub.status.busy": "2026-03-02T16:52:57.974897Z",
370+
"iopub.status.idle": "2026-03-02T16:52:57.977799Z",
371+
"shell.execute_reply": "2026-03-02T16:52:57.977233Z",
372+
"shell.execute_reply.started": "2026-03-02T16:52:57.974955Z"
373+
},
344374
"scrolled": true
345375
},
346376
"outputs": [
@@ -383,9 +413,17 @@
383413
},
384414
{
385415
"cell_type": "code",
386-
"execution_count": 8,
416+
"execution_count": 6,
387417
"id": "1ae2365b-d980-409f-9f36-e2cee7525a35",
388-
"metadata": {},
418+
"metadata": {
419+
"execution": {
420+
"iopub.execute_input": "2026-03-02T16:52:57.978137Z",
421+
"iopub.status.busy": "2026-03-02T16:52:57.978075Z",
422+
"iopub.status.idle": "2026-03-02T16:52:57.982252Z",
423+
"shell.execute_reply": "2026-03-02T16:52:57.981695Z",
424+
"shell.execute_reply.started": "2026-03-02T16:52:57.978130Z"
425+
}
426+
},
389427
"outputs": [
390428
{
391429
"data": {
@@ -404,13 +442,13 @@
404442
"Length: 2080, dtype: bool"
405443
]
406444
},
407-
"execution_count": 8,
445+
"execution_count": 6,
408446
"metadata": {},
409447
"output_type": "execute_result"
410448
}
411449
],
412450
"source": [
413-
"customers.duplicated()\n"
451+
"customers.duplicated()"
414452
]
415453
},
416454
{
@@ -423,9 +461,17 @@
423461
},
424462
{
425463
"cell_type": "code",
426-
"execution_count": 9,
464+
"execution_count": 7,
427465
"id": "8857b4f6-ec55-4c24-8adc-1645eca3c1c1",
428-
"metadata": {},
466+
"metadata": {
467+
"execution": {
468+
"iopub.execute_input": "2026-03-02T16:52:57.982595Z",
469+
"iopub.status.busy": "2026-03-02T16:52:57.982516Z",
470+
"iopub.status.idle": "2026-03-02T16:52:57.988313Z",
471+
"shell.execute_reply": "2026-03-02T16:52:57.987390Z",
472+
"shell.execute_reply.started": "2026-03-02T16:52:57.982588Z"
473+
}
474+
},
429475
"outputs": [
430476
{
431477
"data": {
@@ -469,13 +515,13 @@
469515
"Index: []"
470516
]
471517
},
472-
"execution_count": 9,
518+
"execution_count": 7,
473519
"metadata": {},
474520
"output_type": "execute_result"
475521
}
476522
],
477523
"source": [
478-
"customers[customers.duplicated()]\n"
524+
"customers[customers.duplicated()]"
479525
]
480526
},
481527
{
@@ -500,9 +546,17 @@
500546
},
501547
{
502548
"cell_type": "code",
503-
"execution_count": 12,
549+
"execution_count": 8,
504550
"id": "757fa2fb-381c-4a92-b001-6ddf0ea51d7e",
505-
"metadata": {},
551+
"metadata": {
552+
"execution": {
553+
"iopub.execute_input": "2026-03-02T16:52:57.988680Z",
554+
"iopub.status.busy": "2026-03-02T16:52:57.988594Z",
555+
"iopub.status.idle": "2026-03-02T16:52:57.992716Z",
556+
"shell.execute_reply": "2026-03-02T16:52:57.991910Z",
557+
"shell.execute_reply.started": "2026-03-02T16:52:57.988673Z"
558+
}
559+
},
506560
"outputs": [
507561
{
508562
"name": "stdout",
@@ -537,9 +591,16 @@
537591
},
538592
{
539593
"cell_type": "code",
540-
"execution_count": 13,
594+
"execution_count": 9,
541595
"id": "950221bf-7983-4bc7-bb80-8f250b6903fe",
542596
"metadata": {
597+
"execution": {
598+
"iopub.execute_input": "2026-03-02T16:52:57.993220Z",
599+
"iopub.status.busy": "2026-03-02T16:52:57.993124Z",
600+
"iopub.status.idle": "2026-03-02T16:52:58.001182Z",
601+
"shell.execute_reply": "2026-03-02T16:52:58.000384Z",
602+
"shell.execute_reply.started": "2026-03-02T16:52:57.993212Z"
603+
},
543604
"scrolled": true
544605
},
545606
"outputs": [
@@ -932,7 +993,7 @@
932993
" <td>Juan Carlos Iker Boix Ros</td>\n",
933994
" <td>Pre phtgrapher</td>\n",
934995
" <td>Pont, P44om4r4s 4nd Arjon4</td>\n",
935-
" <td>Pasadzo de Josep Bentez Pso</td>\n",
996+
" <td>Pasadzo de Josep Bentez&nbsp;&nbsp;Pso</td>\n",
936997
" <td>Las Palmas</td>\n",
937998
" <td>Mia</td>\n",
938999
" <td>srgio24@gail.co</td>\n",
@@ -1354,13 +1415,13 @@
13541415
"2075 Hamburg gutknechtevelyn@niemeier.com dkreusel "
13551416
]
13561417
},
1357-
"execution_count": 13,
1418+
"execution_count": 9,
13581419
"metadata": {},
13591420
"output_type": "execute_result"
13601421
}
13611422
],
13621423
"source": [
1363-
"customers[customers.duplicated([\"user_name\"])]\n"
1424+
"customers[customers.duplicated([\"user_name\"])]"
13641425
]
13651426
},
13661427
{
@@ -1373,9 +1434,17 @@
13731434
},
13741435
{
13751436
"cell_type": "code",
1376-
"execution_count": 15,
1437+
"execution_count": 10,
13771438
"id": "46e76915-de2b-4227-aba6-0d53c43b651b",
1378-
"metadata": {},
1439+
"metadata": {
1440+
"execution": {
1441+
"iopub.execute_input": "2026-03-02T16:52:58.001995Z",
1442+
"iopub.status.busy": "2026-03-02T16:52:58.001905Z",
1443+
"iopub.status.idle": "2026-03-02T16:52:58.006510Z",
1444+
"shell.execute_reply": "2026-03-02T16:52:58.006029Z",
1445+
"shell.execute_reply.started": "2026-03-02T16:52:58.001987Z"
1446+
}
1447+
},
13791448
"outputs": [
13801449
{
13811450
"data": {
@@ -1449,7 +1518,7 @@
14491518
"337 christinefinke "
14501519
]
14511520
},
1452-
"execution_count": 15,
1521+
"execution_count": 10,
14531522
"metadata": {},
14541523
"output_type": "execute_result"
14551524
}
@@ -1468,9 +1537,17 @@
14681537
},
14691538
{
14701539
"cell_type": "code",
1471-
"execution_count": 17,
1540+
"execution_count": 11,
14721541
"id": "fe3c078d-e6cc-403d-9443-9415a798327d",
1473-
"metadata": {},
1542+
"metadata": {
1543+
"execution": {
1544+
"iopub.execute_input": "2026-03-02T16:52:58.006783Z",
1545+
"iopub.status.busy": "2026-03-02T16:52:58.006713Z",
1546+
"iopub.status.idle": "2026-03-02T16:52:58.009900Z",
1547+
"shell.execute_reply": "2026-03-02T16:52:58.009447Z",
1548+
"shell.execute_reply.started": "2026-03-02T16:52:58.006776Z"
1549+
}
1550+
},
14741551
"outputs": [
14751552
{
14761553
"name": "stdout",
@@ -1529,14 +1606,6 @@
15291606
"\n",
15301607
"https://www.python4data.science/de/latest/clean-prep/deduplicate.html#3.-Dedupe"
15311608
]
1532-
},
1533-
{
1534-
"cell_type": "code",
1535-
"execution_count": null,
1536-
"id": "41592878-3dac-4a9b-9929-1bd5c11f2de9",
1537-
"metadata": {},
1538-
"outputs": [],
1539-
"source": []
15401609
}
15411610
],
15421611
"metadata": {
@@ -1555,7 +1624,14 @@
15551624
"name": "python",
15561625
"nbconvert_exporter": "python",
15571626
"pygments_lexer": "ipython3",
1558-
"version": "3.12.9"
1627+
"version": "3.13.0"
1628+
},
1629+
"widgets": {
1630+
"application/vnd.jupyter.widget-state+json": {
1631+
"state": {},
1632+
"version_major": 2,
1633+
"version_minor": 0
1634+
}
15591635
}
15601636
},
15611637
"nbformat": 4,

0 commit comments

Comments
 (0)