From ddd0d70a73989bce5eab264459e172f73adf6e46 Mon Sep 17 00:00:00 2001 From: Pathway-Dev <72749368+Pathway-Dev@users.noreply.github.com> Date: Tue, 24 Dec 2024 06:38:49 +0100 Subject: [PATCH] Daily Pathway examples refresh Co-authored-by: Manul from Pathway GitOrigin-RevId: 1ac78ad8d611be04ec2988340c89a6567c487011 --- .../tutorials/asynctransformer.ipynb | 110 +++++++++--------- .../notebooks/tutorials/fs_connector.ipynb | 4 +- .../notebooks/tutorials/windowby_manual.ipynb | 3 +- 3 files changed, 59 insertions(+), 58 deletions(-) diff --git a/examples/notebooks/tutorials/asynctransformer.ipynb b/examples/notebooks/tutorials/asynctransformer.ipynb index 3a6d2dfe..48635795 100644 --- a/examples/notebooks/tutorials/asynctransformer.ipynb +++ b/examples/notebooks/tutorials/asynctransformer.ipynb @@ -162,11 +162,11 @@ "output_type": "stream", "text": [ " | value | ret | __time__ | __diff__\n", - "^Z3QWT29... | 2 | 3 | 1734931975308 | 1\n", - "^3CZ78B4... | 2 | 3 | 1734931975508 | 1\n", - "^YYY4HAB... | 6 | 7 | 1734931975508 | 1\n", - "^3HN31E1... | 6 | 7 | 1734931975910 | 1\n", - "^X1MXHYY... | 12 | 13 | 1734931975910 | 1\n" + "^Z3QWT29... | 2 | 3 | 1735018365826 | 1\n", + "^3CZ78B4... | 2 | 3 | 1735018366026 | 1\n", + "^YYY4HAB... | 6 | 7 | 1735018366026 | 1\n", + "^3HN31E1... | 6 | 7 | 1735018366426 | 1\n", + "^X1MXHYY... | 12 | 13 | 1735018366426 | 1\n" ] } ], @@ -410,12 +410,12 @@ "output_type": "stream", "text": [ " | group | value | ret | __time__ | __diff__\n", - "^Z3QWT29... | 2 | 1 | 2 | 1734931979258 | 1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1734931979360 | -1\n", - "^Z3QWT29... | 2 | 3 | 4 | 1734931979360 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1734931979560 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1734931979760 | -1\n", - "^YYY4HAB... | 1 | 2 | 3 | 1734931979760 | 1\n" + "^Z3QWT29... | 2 | 1 | 2 | 1735018369758 | 1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1735018369858 | -1\n", + "^Z3QWT29... | 2 | 3 | 4 | 1735018369858 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1735018370058 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1735018370258 | -1\n", + "^YYY4HAB... | 1 | 2 | 3 | 1735018370258 | 1\n" ] } ], @@ -537,18 +537,18 @@ "output_type": "stream", "text": [ " | group | value | ret | __time__ | __diff__\n", - "^Z3QWT29... | 2 | 1 | 2 | 1734931979996 | 1\n", - "^3HN31E1... | 4 | 3 | 4 | 1734931979996 | 1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1734931980296 | -1\n", - "^3HN31E1... | 4 | 3 | 4 | 1734931980296 | -1\n", - "^Z3QWT29... | 2 | 4 | 5 | 1734931980296 | 1\n", - "^3HN31E1... | 4 | 2 | 3 | 1734931980296 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1734931980396 | 1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1734931980396 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1734931980496 | -1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1734931980496 | -1\n", - "^YYY4HAB... | 1 | 2 | 3 | 1734931980496 | 1\n", - "^3CZ78B4... | 3 | 2 | 3 | 1734931980496 | 1\n" + "^Z3QWT29... | 2 | 1 | 2 | 1735018370464 | 1\n", + "^3HN31E1... | 4 | 3 | 4 | 1735018370464 | 1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1735018370766 | -1\n", + "^3HN31E1... | 4 | 3 | 4 | 1735018370766 | -1\n", + "^Z3QWT29... | 2 | 4 | 5 | 1735018370766 | 1\n", + "^3HN31E1... | 4 | 2 | 3 | 1735018370766 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1735018370864 | 1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1735018370864 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1735018370966 | -1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1735018370966 | -1\n", + "^YYY4HAB... | 1 | 2 | 3 | 1735018370966 | 1\n", + "^3CZ78B4... | 3 | 2 | 3 | 1735018370966 | 1\n" ] } ], @@ -581,16 +581,16 @@ "output_type": "stream", "text": [ " | group | value | ret | __time__ | __diff__\n", - "^Z3QWT29... | 2 | 1 | 2 | 1734931980632 | 1\n", - "^3CZ78B4... | 3 | 2 | 3 | 1734931980732 | 1\n", - "^3HN31E1... | 4 | 3 | 4 | 1734931980832 | 1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1734931980934 | -1\n", - "^3HN31E1... | 4 | 3 | 4 | 1734931980934 | -1\n", - "^Z3QWT29... | 2 | 4 | 5 | 1734931980934 | 1\n", - "^3HN31E1... | 4 | 2 | 3 | 1734931980934 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1734931981032 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1734931981134 | -1\n", - "^YYY4HAB... | 1 | 2 | 3 | 1734931981134 | 1\n" + "^Z3QWT29... | 2 | 1 | 2 | 1735018371090 | 1\n", + "^3CZ78B4... | 3 | 2 | 3 | 1735018371190 | 1\n", + "^3HN31E1... | 4 | 3 | 4 | 1735018371290 | 1\n", + "^3HN31E1... | 4 | 3 | 4 | 1735018371390 | -1\n", + "^3HN31E1... | 4 | 2 | 3 | 1735018371390 | 1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1735018371392 | -1\n", + "^Z3QWT29... | 2 | 4 | 5 | 1735018371392 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1735018371490 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1735018371592 | -1\n", + "^YYY4HAB... | 1 | 2 | 3 | 1735018371592 | 1\n" ] } ], @@ -633,18 +633,18 @@ "output_type": "stream", "text": [ " | group | value | ret | __time__ | __diff__\n", - "^YYY4HAB... | 1 | 5 | 6 | 1734931981258 | 1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1734931981258 | 1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1734931981258 | 1\n", - "^3HN31E1... | 4 | 3 | 4 | 1734931981258 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1734931981758 | -1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1734931981758 | -1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1734931981758 | -1\n", - "^3HN31E1... | 4 | 3 | 4 | 1734931981758 | -1\n", - "^YYY4HAB... | 1 | 2 | 3 | 1734931981758 | 1\n", - "^Z3QWT29... | 2 | 4 | 5 | 1734931981758 | 1\n", - "^3CZ78B4... | 3 | 2 | 3 | 1734931981758 | 1\n", - "^3HN31E1... | 4 | 2 | 3 | 1734931981758 | 1\n" + "^YYY4HAB... | 1 | 5 | 6 | 1735018371726 | 1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1735018371726 | 1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1735018371726 | 1\n", + "^3HN31E1... | 4 | 3 | 4 | 1735018371726 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1735018372228 | -1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1735018372228 | -1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1735018372228 | -1\n", + "^3HN31E1... | 4 | 3 | 4 | 1735018372228 | -1\n", + "^YYY4HAB... | 1 | 2 | 3 | 1735018372228 | 1\n", + "^Z3QWT29... | 2 | 4 | 5 | 1735018372228 | 1\n", + "^3CZ78B4... | 3 | 2 | 3 | 1735018372228 | 1\n", + "^3HN31E1... | 4 | 2 | 3 | 1735018372228 | 1\n" ] } ], @@ -688,16 +688,16 @@ "output_type": "stream", "text": [ " | group | value | ret | __time__ | __diff__\n", - "^Z3QWT29... | 2 | 1 | 2 | 1734931981888 | 1\n", - "^3HN31E1... | 4 | 3 | 4 | 1734931981888 | 1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1734931982188 | -1\n", - "^3HN31E1... | 4 | 3 | 4 | 1734931982188 | -1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1734931982290 | 1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1734931982290 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1734931982388 | -1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1734931982388 | -1\n", - "^YYY4HAB... | 1 | 2 | 3 | 1734931982388 | 1\n", - "^3CZ78B4... | 3 | 2 | 3 | 1734931982388 | 1\n" + "^Z3QWT29... | 2 | 1 | 2 | 1735018372340 | 1\n", + "^3HN31E1... | 4 | 3 | 4 | 1735018372340 | 1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1735018372642 | -1\n", + "^3HN31E1... | 4 | 3 | 4 | 1735018372642 | -1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1735018372742 | 1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1735018372742 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1735018372840 | -1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1735018372840 | -1\n", + "^YYY4HAB... | 1 | 2 | 3 | 1735018372840 | 1\n", + "^3CZ78B4... | 3 | 2 | 3 | 1735018372840 | 1\n" ] } ], diff --git a/examples/notebooks/tutorials/fs_connector.ipynb b/examples/notebooks/tutorials/fs_connector.ipynb index 445259fd..3f8d78b5 100644 --- a/examples/notebooks/tutorials/fs_connector.ipynb +++ b/examples/notebooks/tutorials/fs_connector.ipynb @@ -539,8 +539,8 @@ "output_type": "stream", "text": [ "data,time,diff\r\n", - "test2\\ndata2,1727690272252,1\r\n", - "test1\\ndata1,1727690272252,1\r\n" + "test1\\ndata1,1727690272252,1\r\n", + "test2\\ndata2,1727690272252,1\r\n" ] }, { diff --git a/examples/notebooks/tutorials/windowby_manual.ipynb b/examples/notebooks/tutorials/windowby_manual.ipynb index d0102bdb..5f9f218e 100644 --- a/examples/notebooks/tutorials/windowby_manual.ipynb +++ b/examples/notebooks/tutorials/windowby_manual.ipynb @@ -272,7 +272,8 @@ "name": "stdout", "output_type": "stream", "text": [ - "name | window_start | window_end | chocolate_bars\n", + "name | window_start | window_end | chocolate_bars", + "\n", "Fudge_McChoc | 2023-06-22 09:00:00 | 2023-06-22 14:00:00 | 10\n", "Fudge_McChoc | 2023-06-22 14:00:00 | 2023-06-22 19:00:00 | 3\n", "Ganache_Gobbler | 2023-06-22 09:00:00 | 2023-06-22 14:00:00 | 8\n",