Skip to content

Commit

Permalink
jízdenky do 2024-12-15
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkasparek committed Dec 16, 2024
1 parent bc4aa57 commit 5d01cdd
Show file tree
Hide file tree
Showing 10 changed files with 160,012 additions and 260,808 deletions.
24 changes: 18 additions & 6 deletions 002_cd_cisteni.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"id": "e27c863b-fd97-4b32-b4b3-0825cb67f49e",
"metadata": {},
"outputs": [],
Expand All @@ -15,7 +15,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"id": "ad771ad2-9650-42bf-a22b-b9249d883ccd",
"metadata": {},
"outputs": [],
Expand All @@ -30,7 +30,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"id": "4d3db07f-3600-48ac-b158-70ea455b365a",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -116,7 +116,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"id": "e297e728-2198-4215-af23-6cf12ab2802f",
"metadata": {
"scrolled": true
Expand All @@ -126,8 +126,20 @@
"name": "stdout",
"output_type": "stream",
"text": [
"cd_2024-12-01.parquet\n",
"2024-12-01: 825\n"
"cd_2024-12-09.parquet\n",
"2024-12-09: 425\n",
"cd_2024-12-10.parquet\n",
"2024-12-10: 487\n",
"cd_2024-12-11.parquet\n",
"2024-12-11: 472\n",
"cd_2024-12-12.parquet\n",
"2024-12-12: 485\n",
"cd_2024-12-13.parquet\n",
"2024-12-13: 466\n",
"cd_2024-12-14.parquet\n",
"2024-12-14: 488\n",
"cd_2024-12-15.parquet\n",
"2024-12-15: 443\n"
]
}
],
Expand Down
8 changes: 7 additions & 1 deletion 004_rj_cisteni.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,13 @@
"2024-11-03: 0\n",
"2024-11-04: 0\n",
"2024-11-05: 0\n",
"2024-12-01: 199\n"
"2024-12-09: 129\n",
"2024-12-10: 111\n",
"2024-12-11: 322\n",
"2024-12-12: 187\n",
"2024-12-13: 97\n",
"2024-12-14: 108\n",
"2024-12-15: 108\n"
]
}
],
Expand Down
8 changes: 7 additions & 1 deletion 006_le_cisteni.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,13 @@
"name": "stdout",
"output_type": "stream",
"text": [
"2024-12-01: 291\n"
"2024-12-09: 170\n",
"2024-12-10: 153\n",
"2024-12-11: 151\n",
"2024-12-12: 171\n",
"2024-12-13: 169\n",
"2024-12-14: 177\n",
"2024-12-15: 167\n"
]
}
],
Expand Down
8 changes: 7 additions & 1 deletion 008_ar_cisteni.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,13 @@
"2024-11-04: 0\n",
"2024-11-05: 0\n",
"2024-11-06: 0\n",
"2024-12-01: 686\n"
"2024-12-09: 390\n",
"2024-12-10: 500\n",
"2024-12-11: 395\n",
"2024-12-12: 481\n",
"2024-12-13: 477\n",
"2024-12-14: 463\n",
"2024-12-15: 471\n"
]
}
],
Expand Down
164 changes: 138 additions & 26 deletions 050_spojeni.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@
{
"data": {
"text/plain": [
"0 2024-11-07 18:\n",
"1 2024-11-07 18:\n",
"2 2024-11-07 18:\n",
"3 2024-11-07 18:\n",
"4 2024-11-07 18:\n",
" ... \n",
"1601 2024-12-01 23:\n",
"1602 2024-12-01 23:\n",
"1603 2024-12-01 23:\n",
"1604 2024-12-01 23:\n",
"1605 2024-12-01 23:\n",
"Name: oscrapovano_minuty, Length: 2162192, dtype: object"
"0 2024-11-07 18:\n",
"1 2024-11-07 18:\n",
"2 2024-11-07 18:\n",
"3 2024-11-07 18:\n",
"4 2024-11-07 18:\n",
" ... \n",
"644 2024-12-15 19:\n",
"645 2024-12-15 19:\n",
"646 2024-12-15 07:\n",
"647 2024-12-15 07:\n",
"648 2024-12-15 07:\n",
"Name: oscrapovano_minuty, Length: 2749096, dtype: object"
]
},
"execution_count": 4,
Expand Down Expand Up @@ -87,7 +87,7 @@
{
"data": {
"text/plain": [
"1027884"
"1262810"
]
},
"execution_count": 6,
Expand All @@ -108,7 +108,7 @@
{
"data": {
"text/plain": [
"77102"
"92247"
]
},
"execution_count": 7,
Expand Down Expand Up @@ -155,6 +155,20 @@
" 2024-11-29 3036\n",
" 2024-11-30 3005\n",
" 2024-12-01 3048\n",
" 2024-12-02 1413\n",
" 2024-12-03 1564\n",
" 2024-12-04 1755\n",
" 2024-12-05 1629\n",
" 2024-12-06 1998\n",
" 2024-12-07 2396\n",
" 2024-12-08 1986\n",
" 2024-12-09 1728\n",
" 2024-12-10 2285\n",
" 2024-12-11 1806\n",
" 2024-12-12 2081\n",
" 2024-12-13 1999\n",
" 2024-12-14 2107\n",
" 2024-12-15 2088\n",
"LE 2024-11-07 332\n",
" 2024-11-08 1573\n",
" 2024-11-09 1873\n",
Expand All @@ -180,6 +194,20 @@
" 2024-11-29 2062\n",
" 2024-11-30 2028\n",
" 2024-12-01 2016\n",
" 2024-12-02 1139\n",
" 2024-12-03 1204\n",
" 2024-12-04 1181\n",
" 2024-12-05 1037\n",
" 2024-12-06 1123\n",
" 2024-12-07 1276\n",
" 2024-12-08 1295\n",
" 2024-12-09 1300\n",
" 2024-12-10 1238\n",
" 2024-12-11 1294\n",
" 2024-12-12 1342\n",
" 2024-12-13 1395\n",
" 2024-12-14 1438\n",
" 2024-12-15 1427\n",
"RJ 2024-11-06 3676\n",
" 2024-11-07 1853\n",
" 2024-11-08 11164\n",
Expand All @@ -206,6 +234,20 @@
" 2024-11-29 4371\n",
" 2024-11-30 1554\n",
" 2024-12-01 1512\n",
" 2024-12-02 586\n",
" 2024-12-03 327\n",
" 2024-12-04 456\n",
" 2024-12-05 367\n",
" 2024-12-06 482\n",
" 2024-12-07 419\n",
" 2024-12-08 417\n",
" 2024-12-09 930\n",
" 2024-12-10 512\n",
" 2024-12-11 4245\n",
" 2024-12-12 2049\n",
" 2024-12-13 372\n",
" 2024-12-14 519\n",
" 2024-12-15 592\n",
"ČD 2024-10-31 1325\n",
" 2024-11-01 13722\n",
" 2024-11-02 19225\n",
Expand Down Expand Up @@ -238,6 +280,20 @@
" 2024-11-29 22009\n",
" 2024-11-30 21689\n",
" 2024-12-01 22901\n",
" 2024-12-02 12724\n",
" 2024-12-03 12871\n",
" 2024-12-04 12634\n",
" 2024-12-05 10853\n",
" 2024-12-06 13039\n",
" 2024-12-07 12409\n",
" 2024-12-08 13037\n",
" 2024-12-09 11618\n",
" 2024-12-10 13406\n",
" 2024-12-11 13399\n",
" 2024-12-12 13283\n",
" 2024-12-13 12928\n",
" 2024-12-14 13588\n",
" 2024-12-15 12340\n",
"dtype: int64"
]
},
Expand Down Expand Up @@ -298,9 +354,9 @@
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\micha\\AppData\\Local\\Temp\\ipykernel_25384\\103445691.py:1: UserWarning: This pattern is interpreted as a regular expression, and has match groups. To actually get the groups, use str.extract.\n",
"C:\\Users\\micha\\AppData\\Local\\Temp\\ipykernel_34420\\103445691.py:1: UserWarning: This pattern is interpreted as a regular expression, and has match groups. To actually get the groups, use str.extract.\n",
" df = df[~df['kam'].str.contains('(tief)',na=False)]\n",
"C:\\Users\\micha\\AppData\\Local\\Temp\\ipykernel_25384\\103445691.py:2: UserWarning: This pattern is interpreted as a regular expression, and has match groups. To actually get the groups, use str.extract.\n",
"C:\\Users\\micha\\AppData\\Local\\Temp\\ipykernel_34420\\103445691.py:2: UserWarning: This pattern is interpreted as a regular expression, and has match groups. To actually get the groups, use str.extract.\n",
" df = df[~df['odkud'].str.contains('(tief)',na=False)]\n"
]
}
Expand Down Expand Up @@ -362,6 +418,20 @@
" 2024-11-29 3036\n",
" 2024-11-30 3005\n",
" 2024-12-01 3048\n",
" 2024-12-02 1413\n",
" 2024-12-03 1564\n",
" 2024-12-04 1755\n",
" 2024-12-05 1629\n",
" 2024-12-06 1998\n",
" 2024-12-07 2396\n",
" 2024-12-08 1986\n",
" 2024-12-09 1728\n",
" 2024-12-10 2285\n",
" 2024-12-11 1806\n",
" 2024-12-12 2081\n",
" 2024-12-13 1999\n",
" 2024-12-14 2107\n",
" 2024-12-15 2088\n",
"LE 2024-11-08 1573\n",
" 2024-11-09 1873\n",
" 2024-11-10 1755\n",
Expand All @@ -386,6 +456,20 @@
" 2024-11-29 2062\n",
" 2024-11-30 2028\n",
" 2024-12-01 2016\n",
" 2024-12-02 1139\n",
" 2024-12-03 1204\n",
" 2024-12-04 1181\n",
" 2024-12-05 1037\n",
" 2024-12-06 1123\n",
" 2024-12-07 1276\n",
" 2024-12-08 1295\n",
" 2024-12-09 1300\n",
" 2024-12-10 1238\n",
" 2024-12-11 1294\n",
" 2024-12-12 1342\n",
" 2024-12-13 1395\n",
" 2024-12-14 1438\n",
" 2024-12-15 1427\n",
"RJ 2024-11-08 5743\n",
" 2024-11-09 7629\n",
" 2024-11-10 7099\n",
Expand All @@ -410,6 +494,20 @@
" 2024-11-29 2172\n",
" 2024-11-30 849\n",
" 2024-12-01 815\n",
" 2024-12-02 317\n",
" 2024-12-03 198\n",
" 2024-12-04 253\n",
" 2024-12-05 211\n",
" 2024-12-06 256\n",
" 2024-12-07 248\n",
" 2024-12-08 240\n",
" 2024-12-09 506\n",
" 2024-12-10 272\n",
" 2024-12-11 2337\n",
" 2024-12-12 1060\n",
" 2024-12-13 204\n",
" 2024-12-14 281\n",
" 2024-12-15 324\n",
"ČD 2024-11-08 21175\n",
" 2024-11-09 22068\n",
" 2024-11-10 20263\n",
Expand All @@ -434,6 +532,20 @@
" 2024-11-29 20532\n",
" 2024-11-30 20493\n",
" 2024-12-01 21364\n",
" 2024-12-02 12079\n",
" 2024-12-03 12056\n",
" 2024-12-04 12044\n",
" 2024-12-05 9449\n",
" 2024-12-06 12503\n",
" 2024-12-07 11553\n",
" 2024-12-08 12272\n",
" 2024-12-09 11503\n",
" 2024-12-10 12587\n",
" 2024-12-11 12840\n",
" 2024-12-12 12462\n",
" 2024-12-13 12482\n",
" 2024-12-14 12904\n",
" 2024-12-15 12087\n",
"dtype: int64"
]
},
Expand Down Expand Up @@ -499,14 +611,14 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Before: 53447100\n",
"After: 6689094\n",
"Before: 53576591\n",
"After: 6687437\n",
"Before: 54881798\n",
"After: 6680209\n",
"Before: 49126971\n",
"After: 6680529\n"
"Before: 69406184\n",
"After: 8672060\n",
"Before: 69555718\n",
"After: 8668162\n",
"Before: 71774174\n",
"After: 8660632\n",
"Before: 63707558\n",
"After: 8660952\n"
]
}
],
Expand Down Expand Up @@ -538,7 +650,7 @@
{
"data": {
"text/plain": [
"742201"
"962248"
]
},
"execution_count": 23,
Expand All @@ -559,7 +671,7 @@
{
"data": {
"text/plain": [
"63799"
"79075"
]
},
"execution_count": 24,
Expand Down
Loading

0 comments on commit 5d01cdd

Please sign in to comment.