Skip to content

Commit

Permalink
úklid
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkasparek committed Nov 26, 2024
1 parent 521e672 commit bf78e3c
Show file tree
Hide file tree
Showing 23 changed files with 300,407 additions and 365,293 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ ar_*.parquet
le_*.parquet
rj_*.parquet
tm3k
sklad
2 changes: 1 addition & 1 deletion 001_cd_scrapovani.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def cd(odkud, kam, pocet_dni=0):
dny = [0, 1, 2, 3]
dny.append(random.randint(4, 5))
dny.append(random.randint(6, 7))
dny.append(random.randint(8, 15))
dny.append(random.randint(31, 90))
dny.append(random.randint(16, 30))
dny.append(random.randint(31, 90))

Expand Down
13 changes: 2 additions & 11 deletions 002_cd_cisteni.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,21 +116,12 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "e297e728-2198-4215-af23-6cf12ab2802f",
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"cd_2024-11-24.parquet\n",
"2024-11-24: 812\n"
]
}
],
"outputs": [],
"source": [
"kam = \"data\" \n",
"os.makedirs(kam, exist_ok=True)\n",
Expand Down
14 changes: 12 additions & 2 deletions 004_rj_cisteni.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "4001b228-a1f4-40d8-97b8-e8152ce730dc",
"metadata": {},
"outputs": [
Expand All @@ -1249,7 +1249,17 @@
"2024-11-03: 0\n",
"2024-11-04: 0\n",
"2024-11-05: 0\n",
"2024-11-24: 756\n"
"2024-11-06: 312\n",
"2024-11-07: 140\n",
"2024-11-08: 824\n",
"2024-11-09: 930\n",
"2024-11-10: 873\n",
"2024-11-11: 587\n",
"2024-11-12: 917\n",
"2024-11-13: 956\n",
"2024-11-14: 847\n",
"2024-11-15: 776\n",
"2024-11-16: 859\n"
]
}
],
Expand Down
1 change: 0 additions & 1 deletion 005_le_scrapovani.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ def data(days):
odstup.append(random.randint(8, 15))
odstup.append(random.randint(16, 30))
odstup.append(random.randint(31, 90))
odstup

trasy = [
(['5457076','Praha'],['OSTRAVA','Ostrava'])
Expand Down
20 changes: 18 additions & 2 deletions 006_le_cisteni.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,31 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "ace7b62e-9cf2-4268-aac8-29a94271508f",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2024-11-24: 270\n"
"2024-11-07: 128\n",
"2024-11-08: 436\n",
"2024-11-09: 287\n",
"2024-11-10: 259\n",
"2024-11-11: 269\n",
"2024-11-12: 299\n",
"2024-11-13: 276\n",
"2024-11-14: 269\n",
"2024-11-15: 284\n",
"2024-11-16: 258\n",
"2024-11-17: 251\n",
"2024-11-18: 251\n",
"2024-11-19: 267\n",
"2024-11-20: 270\n",
"2024-11-21: 292\n",
"2024-11-22: 263\n",
"2024-11-23: 235\n"
]
}
],
Expand Down
15 changes: 12 additions & 3 deletions 008_ar_cisteni.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"text": [
"<>:11: SyntaxWarning: invalid escape sequence '\\d'\n",
"<>:11: SyntaxWarning: invalid escape sequence '\\d'\n",
"C:\\Users\\micha\\AppData\\Local\\Temp\\ipykernel_25700\\1036985530.py:11: SyntaxWarning: invalid escape sequence '\\d'\n",
"C:\\Users\\micha\\AppData\\Local\\Temp\\ipykernel_15272\\1036985530.py:11: SyntaxWarning: invalid escape sequence '\\d'\n",
" datum = re.search(\"\\d{1,2}\\.\\s\\w{4,15}\\s20\\d{2}\", radek).group(0)\n"
]
}
Expand Down Expand Up @@ -513,7 +513,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"id": "6e76aab9-797d-4448-9284-a6db0dea9b71",
"metadata": {},
"outputs": [
Expand All @@ -528,7 +528,16 @@
"2024-11-04: 0\n",
"2024-11-05: 0\n",
"2024-11-06: 0\n",
"2024-11-24: 726\n"
"2024-11-07: 516\n",
"2024-11-08: 1837\n",
"2024-11-09: 758\n",
"2024-11-10: 736\n",
"UWAGA UWAGA, nepodařilo se najít čas odjezdu.\n",
"UWAGA UWAGA, nepodařilo se najít čas odjezdu.\n",
"UWAGA UWAGA, nepodařilo se najít čas odjezdu.\n",
"UWAGA UWAGA, nepodařilo se najít čas odjezdu.\n",
"UWAGA UWAGA, nepodařilo se najít čas odjezdu.\n",
"2024-11-11: 725\n"
]
}
],
Expand Down
Loading

0 comments on commit bf78e3c

Please sign in to comment.