Skip to content

Commit 59b60a5

Browse files
committed
fix(sn07): filter orders not present in orders list
1 parent a786c80 commit 59b60a5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

notebooks/sn07_combining_datasets.ipynb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,17 @@
336336
"source": [
337337
"sum(price * quantity for _, _, _, _, _, price, quantity in order_details_right)"
338338
]
339+
},
340+
{
341+
"cell_type": "code",
342+
"execution_count": null,
343+
"id": "b0eb1d4e-19f7-4d79-ad8b-4a093e585d33",
344+
"metadata": {},
345+
"outputs": [],
346+
"source": [
347+
"# Filter out orders not present in `orders` list by checkitn\n",
348+
"sum(price * quantity for _, date, _, _, _, price, quantity in order_details_right if date != None)"
349+
]
339350
}
340351
],
341352
"metadata": {

0 commit comments

Comments
 (0)