Skip to content

Commit

Permalink
Daily Pathway examples refresh
Browse files Browse the repository at this point in the history
Co-authored-by: Manul from Pathway <[email protected]>
GitOrigin-RevId: cad1b06f15c032e6ec8f2f0899cb15d91d9bde2f
  • Loading branch information
Pathway-Dev and Manul from Pathway committed Oct 12, 2024
1 parent 95899b6 commit 65bf335
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 56 deletions.
110 changes: 55 additions & 55 deletions examples/notebooks/tutorials/asynctransformer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@
"output_type": "stream",
"text": [
" | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 3 | 1728621187864 | 1\n",
"^3CZ78B4... | 2 | 3 | 1728621188064 | 1\n",
"^YYY4HAB... | 6 | 7 | 1728621188064 | 1\n",
"^3HN31E1... | 6 | 7 | 1728621188466 | 1\n",
"^X1MXHYY... | 12 | 13 | 1728621188466 | 1\n"
"^Z3QWT29... | 2 | 3 | 1728707571756 | 1\n",
"^3CZ78B4... | 2 | 3 | 1728707571956 | 1\n",
"^YYY4HAB... | 6 | 7 | 1728707571956 | 1\n",
"^3HN31E1... | 6 | 7 | 1728707572356 | 1\n",
"^X1MXHYY... | 12 | 13 | 1728707572356 | 1\n"
]
}
],
Expand Down Expand Up @@ -410,12 +410,12 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728621191916 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728621192016 | -1\n",
"^Z3QWT29... | 2 | 3 | 4 | 1728621192016 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728621192218 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728621192418 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1728621192418 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1728707575746 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728707575846 | -1\n",
"^Z3QWT29... | 2 | 3 | 4 | 1728707575846 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728707576048 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728707576248 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1728707576248 | 1\n"
]
}
],
Expand Down Expand Up @@ -537,18 +537,18 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728621192690 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728621192690 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728621192990 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728621192990 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1728621192990 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1728621192990 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728621193090 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728621193090 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728621193190 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728621193190 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1728621193190 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1728621193190 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1728707576508 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728707576508 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728707576810 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728707576810 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1728707576810 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1728707576810 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728707576908 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728707576908 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728707577008 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728707577008 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1728707577008 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1728707577008 | 1\n"
]
}
],
Expand Down Expand Up @@ -581,16 +581,16 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728621193336 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1728621193436 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728621193536 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728621193636 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728621193636 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1728621193636 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1728621193636 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728621193738 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728621193836 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1728621193836 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1728707577160 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1728707577260 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728707577360 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728707577460 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728707577460 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1728707577460 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1728707577460 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728707577560 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728707577660 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1728707577660 | 1\n"
]
}
],
Expand Down Expand Up @@ -633,18 +633,18 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728621193966 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728621193966 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728621193966 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728621193966 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728621194468 | -1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728621194468 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728621194468 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728621194468 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1728621194468 | 1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1728621194468 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1728621194468 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1728621194468 | 1\n"
"^YYY4HAB... | 1 | 5 | 6 | 1728707577806 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728707577806 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728707577806 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728707577806 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728707578306 | -1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728707578306 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728707578306 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728707578306 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1728707578306 | 1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1728707578306 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1728707578306 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1728707578306 | 1\n"
]
}
],
Expand Down Expand Up @@ -688,16 +688,16 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728621194590 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728621194590 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728621194890 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728621194890 | -1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728621194990 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728621194990 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728621195090 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728621195090 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1728621195090 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1728621195090 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1728707578440 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728707578440 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1728707578740 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1728707578740 | -1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728707578840 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728707578840 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1728707578942 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1728707578942 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1728707578942 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1728707578942 | 1\n"
]
}
],
Expand Down
3 changes: 2 additions & 1 deletion examples/notebooks/tutorials/windowby_manual.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,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 00:00:00 | 2023-06-22 10:00:00 | 3\n",
"Fudge_McChoc | 2023-06-22 03:00:00 | 2023-06-22 13:00:00 | 10\n",
"Fudge_McChoc | 2023-06-22 06:00:00 | 2023-06-22 16:00:00 | 11\n",
Expand Down

0 comments on commit 65bf335

Please sign in to comment.