Skip to content

Commit

Permalink
trying to apply approach to all ops
Browse files Browse the repository at this point in the history
  • Loading branch information
amandaha8 committed Nov 8, 2024
1 parent e6b443e commit e2b0253
Show file tree
Hide file tree
Showing 4 changed files with 6,212 additions and 373 deletions.
86 changes: 43 additions & 43 deletions gtfs_digest/37_transit_bunching_samples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41142,7 +41142,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_2446/3770378478.py:1: FutureWarning: Treating datetime data as categorical rather than numeric in `.describe` is deprecated and will be removed in a future version of pandas. Specify `datetime_is_numeric=True` to silence this warning and adopt the future behavior now.\n",
"/tmp/ipykernel_2867/3770378478.py:1: FutureWarning: Treating datetime data as categorical rather than numeric in `.describe` is deprecated and will be removed in a future version of pandas. Specify `datetime_is_numeric=True` to silence this warning and adopt the future behavior now.\n",
" trips_routes_times2.converted_schd_arrival.describe()\n"
]
},
Expand Down Expand Up @@ -41463,7 +41463,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_2446/452450045.py:1: FutureWarning: Treating datetime data as categorical rather than numeric in `.describe` is deprecated and will be removed in a future version of pandas. Specify `datetime_is_numeric=True` to silence this warning and adopt the future behavior now.\n",
"/tmp/ipykernel_2867/452450045.py:1: FutureWarning: Treating datetime data as categorical rather than numeric in `.describe` is deprecated and will be removed in a future version of pandas. Specify `datetime_is_numeric=True` to silence this warning and adopt the future behavior now.\n",
" trips_routes_times2.converted_rt_arrival.describe()\n"
]
},
Expand Down Expand Up @@ -41839,29 +41839,29 @@
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>7746</th>\n",
" <th>10317</th>\n",
" <td>0666caf3ec1ecc96b74f4477ee4bc939</td>\n",
" <td>33-13172</td>\n",
" <td>6935</td>\n",
" <td>20</td>\n",
" <td>2024-05-22 06:26:29</td>\n",
" <td>4690</td>\n",
" <td>21</td>\n",
" <td>2024-05-22 00:24:04</td>\n",
" <td>NaN</td>\n",
" <td>2024-05-22 06:25:00</td>\n",
" <td>2024-05-22 00:25:00</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" schedule_gtfs_dataset_key route_id stop_id stop_sequence \\\n",
"7746 0666caf3ec1ecc96b74f4477ee4bc939 33-13172 6935 20 \n",
" schedule_gtfs_dataset_key route_id stop_id stop_sequence \\\n",
"10317 0666caf3ec1ecc96b74f4477ee4bc939 33-13172 4690 21 \n",
"\n",
" converted_rt_arrival actual_arrival_lag_min converted_schd_arrival \\\n",
"7746 2024-05-22 06:26:29 NaN 2024-05-22 06:25:00 \n",
" converted_rt_arrival actual_arrival_lag_min converted_schd_arrival \\\n",
"10317 2024-05-22 00:24:04 NaN 2024-05-22 00:25:00 \n",
"\n",
" scheduled_arrival_lag_min \n",
"7746 NaN "
" scheduled_arrival_lag_min \n",
"10317 NaN "
]
},
"execution_count": 73,
Expand Down Expand Up @@ -50608,23 +50608,23 @@
"text/html": [
"\n",
"<style>\n",
" #altair-viz-b1b2148703bf4dd882771541ea3b1abc.vega-embed {\n",
" #altair-viz-089c96f01fc04790b51188a7fa27cd5d.vega-embed {\n",
" width: 100%;\n",
" display: flex;\n",
" }\n",
"\n",
" #altair-viz-b1b2148703bf4dd882771541ea3b1abc.vega-embed details,\n",
" #altair-viz-b1b2148703bf4dd882771541ea3b1abc.vega-embed details summary {\n",
" #altair-viz-089c96f01fc04790b51188a7fa27cd5d.vega-embed details,\n",
" #altair-viz-089c96f01fc04790b51188a7fa27cd5d.vega-embed details summary {\n",
" position: relative;\n",
" }\n",
"</style>\n",
"<div id=\"altair-viz-b1b2148703bf4dd882771541ea3b1abc\"></div>\n",
"<div id=\"altair-viz-089c96f01fc04790b51188a7fa27cd5d\"></div>\n",
"<script type=\"text/javascript\">\n",
" var VEGA_DEBUG = (typeof VEGA_DEBUG == \"undefined\") ? {} : VEGA_DEBUG;\n",
" (function(spec, embedOpt){\n",
" let outputDiv = document.currentScript.previousElementSibling;\n",
" if (outputDiv.id !== \"altair-viz-b1b2148703bf4dd882771541ea3b1abc\") {\n",
" outputDiv = document.getElementById(\"altair-viz-b1b2148703bf4dd882771541ea3b1abc\");\n",
" if (outputDiv.id !== \"altair-viz-089c96f01fc04790b51188a7fa27cd5d\") {\n",
" outputDiv = document.getElementById(\"altair-viz-089c96f01fc04790b51188a7fa27cd5d\");\n",
" }\n",
" const paths = {\n",
" \"vega\": \"https://cdn.jsdelivr.net/npm/vega@5?noext\",\n",
Expand Down Expand Up @@ -50854,23 +50854,23 @@
"text/html": [
"\n",
"<style>\n",
" #altair-viz-a0a4bcf33a694f5088055aa1e961b9b9.vega-embed {\n",
" #altair-viz-46743da8722d49f49b25def5caaa567a.vega-embed {\n",
" width: 100%;\n",
" display: flex;\n",
" }\n",
"\n",
" #altair-viz-a0a4bcf33a694f5088055aa1e961b9b9.vega-embed details,\n",
" #altair-viz-a0a4bcf33a694f5088055aa1e961b9b9.vega-embed details summary {\n",
" #altair-viz-46743da8722d49f49b25def5caaa567a.vega-embed details,\n",
" #altair-viz-46743da8722d49f49b25def5caaa567a.vega-embed details summary {\n",
" position: relative;\n",
" }\n",
"</style>\n",
"<div id=\"altair-viz-a0a4bcf33a694f5088055aa1e961b9b9\"></div>\n",
"<div id=\"altair-viz-46743da8722d49f49b25def5caaa567a\"></div>\n",
"<script type=\"text/javascript\">\n",
" var VEGA_DEBUG = (typeof VEGA_DEBUG == \"undefined\") ? {} : VEGA_DEBUG;\n",
" (function(spec, embedOpt){\n",
" let outputDiv = document.currentScript.previousElementSibling;\n",
" if (outputDiv.id !== \"altair-viz-a0a4bcf33a694f5088055aa1e961b9b9\") {\n",
" outputDiv = document.getElementById(\"altair-viz-a0a4bcf33a694f5088055aa1e961b9b9\");\n",
" if (outputDiv.id !== \"altair-viz-46743da8722d49f49b25def5caaa567a\") {\n",
" outputDiv = document.getElementById(\"altair-viz-46743da8722d49f49b25def5caaa567a\");\n",
" }\n",
" const paths = {\n",
" \"vega\": \"https://cdn.jsdelivr.net/npm/vega@5?noext\",\n",
Expand Down Expand Up @@ -51106,23 +51106,23 @@
"text/html": [
"\n",
"<style>\n",
" #altair-viz-a92433abd4d444338a5937e2778beb00.vega-embed {\n",
" #altair-viz-27316934a13d42b58a36ec5739c84d45.vega-embed {\n",
" width: 100%;\n",
" display: flex;\n",
" }\n",
"\n",
" #altair-viz-a92433abd4d444338a5937e2778beb00.vega-embed details,\n",
" #altair-viz-a92433abd4d444338a5937e2778beb00.vega-embed details summary {\n",
" #altair-viz-27316934a13d42b58a36ec5739c84d45.vega-embed details,\n",
" #altair-viz-27316934a13d42b58a36ec5739c84d45.vega-embed details summary {\n",
" position: relative;\n",
" }\n",
"</style>\n",
"<div id=\"altair-viz-a92433abd4d444338a5937e2778beb00\"></div>\n",
"<div id=\"altair-viz-27316934a13d42b58a36ec5739c84d45\"></div>\n",
"<script type=\"text/javascript\">\n",
" var VEGA_DEBUG = (typeof VEGA_DEBUG == \"undefined\") ? {} : VEGA_DEBUG;\n",
" (function(spec, embedOpt){\n",
" let outputDiv = document.currentScript.previousElementSibling;\n",
" if (outputDiv.id !== \"altair-viz-a92433abd4d444338a5937e2778beb00\") {\n",
" outputDiv = document.getElementById(\"altair-viz-a92433abd4d444338a5937e2778beb00\");\n",
" if (outputDiv.id !== \"altair-viz-27316934a13d42b58a36ec5739c84d45\") {\n",
" outputDiv = document.getElementById(\"altair-viz-27316934a13d42b58a36ec5739c84d45\");\n",
" }\n",
" const paths = {\n",
" \"vega\": \"https://cdn.jsdelivr.net/npm/vega@5?noext\",\n",
Expand Down Expand Up @@ -51358,23 +51358,23 @@
"text/html": [
"\n",
"<style>\n",
" #altair-viz-6f4eabeebfed4895b48c9e668992f3d8.vega-embed {\n",
" #altair-viz-0a0714639a6445dc8cb5146f68d39a6c.vega-embed {\n",
" width: 100%;\n",
" display: flex;\n",
" }\n",
"\n",
" #altair-viz-6f4eabeebfed4895b48c9e668992f3d8.vega-embed details,\n",
" #altair-viz-6f4eabeebfed4895b48c9e668992f3d8.vega-embed details summary {\n",
" #altair-viz-0a0714639a6445dc8cb5146f68d39a6c.vega-embed details,\n",
" #altair-viz-0a0714639a6445dc8cb5146f68d39a6c.vega-embed details summary {\n",
" position: relative;\n",
" }\n",
"</style>\n",
"<div id=\"altair-viz-6f4eabeebfed4895b48c9e668992f3d8\"></div>\n",
"<div id=\"altair-viz-0a0714639a6445dc8cb5146f68d39a6c\"></div>\n",
"<script type=\"text/javascript\">\n",
" var VEGA_DEBUG = (typeof VEGA_DEBUG == \"undefined\") ? {} : VEGA_DEBUG;\n",
" (function(spec, embedOpt){\n",
" let outputDiv = document.currentScript.previousElementSibling;\n",
" if (outputDiv.id !== \"altair-viz-6f4eabeebfed4895b48c9e668992f3d8\") {\n",
" outputDiv = document.getElementById(\"altair-viz-6f4eabeebfed4895b48c9e668992f3d8\");\n",
" if (outputDiv.id !== \"altair-viz-0a0714639a6445dc8cb5146f68d39a6c\") {\n",
" outputDiv = document.getElementById(\"altair-viz-0a0714639a6445dc8cb5146f68d39a6c\");\n",
" }\n",
" const paths = {\n",
" \"vega\": \"https://cdn.jsdelivr.net/npm/vega@5?noext\",\n",
Expand Down Expand Up @@ -51604,23 +51604,23 @@
"text/html": [
"\n",
"<style>\n",
" #altair-viz-3a31485c408e4000900e891d706482de.vega-embed {\n",
" #altair-viz-0fd104b2ec7d439a806f125ee1cb3b72.vega-embed {\n",
" width: 100%;\n",
" display: flex;\n",
" }\n",
"\n",
" #altair-viz-3a31485c408e4000900e891d706482de.vega-embed details,\n",
" #altair-viz-3a31485c408e4000900e891d706482de.vega-embed details summary {\n",
" #altair-viz-0fd104b2ec7d439a806f125ee1cb3b72.vega-embed details,\n",
" #altair-viz-0fd104b2ec7d439a806f125ee1cb3b72.vega-embed details summary {\n",
" position: relative;\n",
" }\n",
"</style>\n",
"<div id=\"altair-viz-3a31485c408e4000900e891d706482de\"></div>\n",
"<div id=\"altair-viz-0fd104b2ec7d439a806f125ee1cb3b72\"></div>\n",
"<script type=\"text/javascript\">\n",
" var VEGA_DEBUG = (typeof VEGA_DEBUG == \"undefined\") ? {} : VEGA_DEBUG;\n",
" (function(spec, embedOpt){\n",
" let outputDiv = document.currentScript.previousElementSibling;\n",
" if (outputDiv.id !== \"altair-viz-3a31485c408e4000900e891d706482de\") {\n",
" outputDiv = document.getElementById(\"altair-viz-3a31485c408e4000900e891d706482de\");\n",
" if (outputDiv.id !== \"altair-viz-0fd104b2ec7d439a806f125ee1cb3b72\") {\n",
" outputDiv = document.getElementById(\"altair-viz-0fd104b2ec7d439a806f125ee1cb3b72\");\n",
" }\n",
" const paths = {\n",
" \"vega\": \"https://cdn.jsdelivr.net/npm/vega@5?noext\",\n",
Expand Down
Loading

0 comments on commit e2b0253

Please sign in to comment.