Skip to content

Commit a44a6ea

Browse files
expand aggregation
1 parent 8603db7 commit a44a6ea

File tree

2 files changed

+318
-74
lines changed

2 files changed

+318
-74
lines changed

book/20-concepts/03-relational-practice.ipynb

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,14 @@
315315
},
316316
{
317317
"cell_type": "code",
318-
"execution_count": 2,
318+
"execution_count": 1,
319319
"metadata": {},
320320
"outputs": [
321321
{
322322
"name": "stderr",
323323
"output_type": "stream",
324324
"text": [
325-
"[2025-10-31 19:50:04,787][INFO]: DataJoint 0.14.6 connected to dev@db:3306\n"
325+
"[2025-10-31 20:02:44,906][INFO]: DataJoint 0.14.6 connected to dev@db:3306\n"
326326
]
327327
},
328328
{
@@ -400,10 +400,10 @@
400400
"</svg>"
401401
],
402402
"text/plain": [
403-
"<datajoint.diagram.Diagram at 0xffff6392de80>"
403+
"<datajoint.diagram.Diagram at 0xffff351e5d30>"
404404
]
405405
},
406-
"execution_count": 2,
406+
"execution_count": 1,
407407
"metadata": {},
408408
"output_type": "execute_result"
409409
}
@@ -495,7 +495,7 @@
495495
},
496496
{
497497
"cell_type": "code",
498-
"execution_count": 3,
498+
"execution_count": 2,
499499
"metadata": {},
500500
"outputs": [],
501501
"source": [
@@ -551,7 +551,7 @@
551551
},
552552
{
553553
"cell_type": "code",
554-
"execution_count": 4,
554+
"execution_count": 3,
555555
"metadata": {},
556556
"outputs": [],
557557
"source": [
@@ -639,7 +639,7 @@
639639
},
640640
{
641641
"cell_type": "code",
642-
"execution_count": 5,
642+
"execution_count": 4,
643643
"metadata": {},
644644
"outputs": [
645645
{
@@ -741,7 +741,7 @@
741741
" (Total: 4)"
742742
]
743743
},
744-
"execution_count": 5,
744+
"execution_count": 4,
745745
"metadata": {},
746746
"output_type": "execute_result"
747747
}
@@ -767,7 +767,7 @@
767767
},
768768
{
769769
"cell_type": "code",
770-
"execution_count": 6,
770+
"execution_count": 5,
771771
"metadata": {},
772772
"outputs": [
773773
{
@@ -853,7 +853,7 @@
853853
" (Total: 1)"
854854
]
855855
},
856-
"execution_count": 6,
856+
"execution_count": 5,
857857
"metadata": {},
858858
"output_type": "execute_result"
859859
}
@@ -890,7 +890,7 @@
890890
},
891891
{
892892
"cell_type": "code",
893-
"execution_count": 7,
893+
"execution_count": 6,
894894
"metadata": {},
895895
"outputs": [
896896
{
@@ -984,7 +984,7 @@
984984
" (Total: 2)"
985985
]
986986
},
987-
"execution_count": 7,
987+
"execution_count": 6,
988988
"metadata": {},
989989
"output_type": "execute_result"
990990
}
@@ -1017,7 +1017,7 @@
10171017
},
10181018
{
10191019
"cell_type": "code",
1020-
"execution_count": 8,
1020+
"execution_count": 7,
10211021
"metadata": {},
10221022
"outputs": [
10231023
{
@@ -1131,7 +1131,7 @@
11311131
" (Total: 2)"
11321132
]
11331133
},
1134-
"execution_count": 8,
1134+
"execution_count": 7,
11351135
"metadata": {},
11361136
"output_type": "execute_result"
11371137
}
@@ -1164,7 +1164,7 @@
11641164
},
11651165
{
11661166
"cell_type": "code",
1167-
"execution_count": 9,
1167+
"execution_count": 8,
11681168
"metadata": {},
11691169
"outputs": [
11701170
{
@@ -1250,7 +1250,7 @@
12501250
" (Total: 1)"
12511251
]
12521252
},
1253-
"execution_count": 9,
1253+
"execution_count": 8,
12541254
"metadata": {},
12551255
"output_type": "execute_result"
12561256
}
@@ -1278,7 +1278,7 @@
12781278
},
12791279
{
12801280
"cell_type": "code",
1281-
"execution_count": 10,
1281+
"execution_count": 9,
12821282
"metadata": {},
12831283
"outputs": [
12841284
{
@@ -1360,7 +1360,7 @@
13601360
" (Total: 1)"
13611361
]
13621362
},
1363-
"execution_count": 10,
1363+
"execution_count": 9,
13641364
"metadata": {},
13651365
"output_type": "execute_result"
13661366
}
@@ -1382,7 +1382,7 @@
13821382
},
13831383
{
13841384
"cell_type": "code",
1385-
"execution_count": 11,
1385+
"execution_count": 10,
13861386
"metadata": {},
13871387
"outputs": [
13881388
{
@@ -1466,7 +1466,7 @@
14661466
" (Total: 2)"
14671467
]
14681468
},
1469-
"execution_count": 11,
1469+
"execution_count": 10,
14701470
"metadata": {},
14711471
"output_type": "execute_result"
14721472
}
@@ -1535,16 +1535,16 @@
15351535
},
15361536
{
15371537
"cell_type": "code",
1538-
"execution_count": 12,
1538+
"execution_count": 11,
15391539
"metadata": {},
15401540
"outputs": [
15411541
{
15421542
"name": "stderr",
15431543
"output_type": "stream",
15441544
"text": [
1545-
"[2025-10-31 19:50:05,003][INFO]: Deleting 3 rows from `research_lab`.`neural_unit`\n",
1546-
"[2025-10-31 19:50:05,008][INFO]: Deleting 1 rows from `research_lab`.`recording`\n",
1547-
"[2025-10-31 19:50:08,300][WARNING]: Delete cancelled\n"
1545+
"[2025-10-31 20:02:45,093][INFO]: Deleting 3 rows from `research_lab`.`neural_unit`\n",
1546+
"[2025-10-31 20:02:45,097][INFO]: Deleting 1 rows from `research_lab`.`recording`\n",
1547+
"[2025-10-31 20:02:48,368][WARNING]: Delete cancelled\n"
15481548
]
15491549
},
15501550
{
@@ -1553,7 +1553,7 @@
15531553
"1"
15541554
]
15551555
},
1556-
"execution_count": 12,
1556+
"execution_count": 11,
15571557
"metadata": {},
15581558
"output_type": "execute_result"
15591559
}
@@ -1587,6 +1587,13 @@
15871587
"\n",
15881588
"The next chapter introduces DataJoint's Relational Workflow Model in detail, showing how Computed tables turn your schema into an executable pipeline specification.\n"
15891589
]
1590+
},
1591+
{
1592+
"cell_type": "code",
1593+
"execution_count": null,
1594+
"metadata": {},
1595+
"outputs": [],
1596+
"source": []
15901597
}
15911598
],
15921599
"metadata": {

0 commit comments

Comments
 (0)