From ae9bbea98e4fc66751bdf0d1c507e140d58fde5c Mon Sep 17 00:00:00 2001 From: amandaha8 Date: Mon, 5 Aug 2024 20:45:34 +0000 Subject: [PATCH 1/6] reran gtfs digest for all ops july 2024 --- Makefile | 3 +- gtfs_digest/03_report.ipynb | 683 +--------- gtfs_digest/28_july24_testing.ipynb | 1214 ++++++++--------- gtfs_digest/merge_data.py | 13 +- ...ka__organization_name_city-of-eureka.ipynb | 4 +- ...ganization_name_curry-public-transit.ipynb | 4 +- ...nization_name_lake-transit-authority.ipynb | 4 +- ...ion_name_mendocino-transit-authority.ipynb | 4 +- ...t_01-eureka__organization_name_point.ipynb | 4 +- ...name_redwood-coast-transit-authority.ipynb | 4 +- ...n_name_lassen-transit-service-agency.ipynb | 4 +- ...ion_name_modoc-transportation-agency.ipynb | 4 +- ...nization_name_plumas-transit-systems.ipynb | 4 +- ...ing__organization_name_shasta-county.ipynb | 4 +- ...g__organization_name_siskiyou-county.ipynb | 4 +- ...ing__organization_name_tehama-county.ipynb | 4 +- ...ng__organization_name_trinity-county.ipynb | 4 +- ...marysville__organization_name_amtrak.ipynb | 4 +- ...te-county-association-of-governments.ipynb | 4 +- ...le__organization_name_city-of-auburn.ipynb | 4 +- ..._organization_name_city-of-elk-grove.ipynb | 4 +- ...nization_name_city-of-rancho-cordova.ipynb | 4 +- ..._organization_name_city-of-roseville.ipynb | 4 +- ...e_el-dorado-county-transit-authority.ipynb | 4 +- ...ille__organization_name_glenn-county.ipynb | 4 +- ...lle__organization_name_nevada-county.ipynb | 4 +- ...zation_name_north-lake-tahoe-express.ipynb | 4 +- ...lle__organization_name_placer-county.ipynb | 4 +- ..._organization_name_sacramento-county.ipynb | 4 +- ...n_name_tahoe-transportation-district.ipynb | 4 +- ..._name_university-of-california-davis.ipynb | 4 +- ..._yolo-county-transportation-district.ipynb | 4 +- ...n_name_yuba-sutter-transit-authority.ipynb | 4 +- ...lameda-contra-costa-transit-district.ipynb | 4 +- ...itol-corridor-joint-powers-authority.ipynb | 4 +- ...ntral-contra-costa-transit-authority.ipynb | 4 +- ...ame_city-and-county-of-san-francisco.ipynb | 4 +- ..._organization_name_city-of-fairfield.ipynb | 4 +- ...organization_name_city-of-menlo-park.ipynb | 4 +- ...__organization_name_city-of-petaluma.ipynb | 4 +- ..._organization_name_city-of-rio-vista.ipynb | 4 +- ...organization_name_city-of-santa-rosa.ipynb | 4 +- ...ion_name_city-of-south-san-francisco.ipynb | 4 +- ...organization_name_city-of-union-city.ipynb | 4 +- ..._organization_name_city-of-vacaville.ipynb | 4 +- ...organization_name_cloverdale-transit.ipynb | 3 - ...stern-contra-costa-transit-authority.ipynb | 3 + ...stern-contra-costa-transit-authority.ipynb | 3 - ...lle-transportation-management-agency.ipynb | 3 + ...lle-transportation-management-agency.ipynb | 3 - ...more-amador-valley-transit-authority.ipynb | 3 + ...more-amador-valley-transit-authority.ipynb | 3 - ...n_name_marin-county-transit-district.ipynb | 3 + ...n_name_marin-county-transit-district.ipynb | 3 - ...bay-transportation-management-agency.ipynb | 3 + ...bay-transportation-management-agency.ipynb | 3 - ...ransportation-management-association.ipynb | 3 + ...ransportation-management-association.ipynb | 3 - ...napa-valley-transportation-authority.ipynb | 3 + ...napa-valley-transportation-authority.ipynb | 3 - ...eninsula-corridor-joint-powers-board.ipynb | 3 + ...eninsula-corridor-joint-powers-board.ipynb | 3 - ...nd__organization_name_presidio-trust.ipynb | 3 + ...nd__organization_name_presidio-trust.ipynb | 3 - ...isco-bay-area-rapid-transit-district.ipynb | 3 + ...isco-bay-area-rapid-transit-district.ipynb | 3 - ..._san-francisco-international-airport.ipynb | 3 + ..._san-francisco-international-airport.ipynb | 3 - ...me_san-mateo-county-transit-district.ipynb | 3 + ...me_san-mateo-county-transit-district.ipynb | 3 - ...lara-valley-transportation-authority.ipynb | 3 + ...lara-valley-transportation-authority.ipynb | 3 - ...anization_name_solano-county-transit.ipynb | 3 + ...anization_name_solano-county-transit.ipynb | 3 - ...and__organization_name_sonoma-county.ipynb | 3 + ...oma-marin-area-rail-transit-district.ipynb | 4 +- ...rganization_name_stanford-university.ipynb | 4 +- ...me_university-of-california-berkeley.ipynb | 4 +- ...stern-contra-costa-transit-authority.ipynb | 4 +- ..._organization_name_city-of-guadalupe.ipynb | 4 +- ...ization_name_city-of-san-luis-obispo.ipynb | 4 +- ...rganization_name_city-of-santa-maria.ipynb | 4 +- ...o__organization_name_city-of-solvang.ipynb | 4 +- ...zation_name_monterey-salinas-transit.ipynb | 4 +- ...ounty-local-transportation-authority.ipynb | 4 +- ...is-obispo-regional-transit-authority.ipynb | 4 +- ...ra-county-association-of-governments.ipynb | 4 +- ...arbara-metropolitan-transit-district.ipynb | 4 +- ...a-cruz-metropolitan-transit-district.ipynb | 4 +- ..._university-of-california-santa-cruz.ipynb | 4 +- ...sno__organization_name_city-of-arvin.ipynb | 4 +- ...no__organization_name_city-of-clovis.ipynb | 4 +- ...no__organization_name_city-of-delano.ipynb | 4 +- ...no__organization_name_city-of-fresno.ipynb | 4 +- ...no__organization_name_city-of-madera.ipynb | 4 +- ...o__organization_name_city-of-visalia.ipynb | 4 +- ...e_fresno-county-rural-transit-agency.ipynb | 4 +- ..._name_golden-empire-transit-district.ipynb | 4 +- ...resno__organization_name_kern-county.ipynb | 4 +- ...gs-county-area-public-transit-agency.ipynb | 4 +- ...sno__organization_name_madera-county.ipynb | 4 +- ...ulare-county-regional-transit-agency.ipynb | 4 +- ...me_antelope-valley-transit-authority.ipynb | 4 +- ...__organization_name_city-of-alhambra.ipynb | 4 +- ...s__organization_name_city-of-arcadia.ipynb | 4 +- ...ganization_name_city-of-baldwin-park.ipynb | 4 +- ...eles__organization_name_city-of-bell.ipynb | 4 +- ...ganization_name_city-of-bell-gardens.ipynb | 4 +- ...organization_name_city-of-bellflower.ipynb | 4 +- ...s__organization_name_city-of-burbank.ipynb | 4 +- ..._organization_name_city-of-calabasas.ipynb | 4 +- ...__organization_name_city-of-cerritos.ipynb | 4 +- ...__organization_name_city-of-commerce.ipynb | 4 +- ...es__organization_name_city-of-cudahy.ipynb | 4 +- ...rganization_name_city-of-culver-city.ipynb | 4 +- ...es__organization_name_city-of-downey.ipynb | 4 +- ...es__organization_name_city-of-duarte.ipynb | 4 +- ...__organization_name_city-of-el-monte.ipynb | 4 +- ...organization_name_city-of-el-segundo.ipynb | 4 +- ...s__organization_name_city-of-gardena.ipynb | 4 +- ...__organization_name_city-of-glendale.ipynb | 4 +- ...__organization_name_city-of-glendora.ipynb | 4 +- ...ization_name_city-of-huntington-park.ipynb | 4 +- ..._organization_name_city-of-inglewood.ipynb | 4 +- ..._organization_name_city-of-la-puente.ipynb | 4 +- ...__organization_name_city-of-lawndale.ipynb | 4 +- ...rganization_name_city-of-los-angeles.ipynb | 4 +- ...s__organization_name_city-of-lynwood.ipynb | 4 +- ...s__organization_name_city-of-maywood.ipynb | 4 +- ...anization_name_city-of-monterey-park.ipynb | 4 +- ...s__organization_name_city-of-norwalk.ipynb | 4 +- ...eles__organization_name_city-of-ojai.ipynb | 4 +- ...__organization_name_city-of-pasadena.ipynb | 4 +- ...anization_name_city-of-redondo-beach.ipynb | 4 +- ...__organization_name_city-of-rosemead.ipynb | 4 +- ...anization_name_city-of-santa-clarita.ipynb | 4 +- ...ganization_name_city-of-santa-monica.ipynb | 4 +- ...ganization_name_city-of-sierra-madre.ipynb | 4 +- ...organization_name_city-of-south-gate.ipynb | 4 +- ...__organization_name_city-of-torrance.ipynb | 4 +- ...rganization_name_city-of-west-covina.ipynb | 4 +- ...nization_name_city-of-west-hollywood.ipynb | 4 +- ...organization_name_long-beach-transit.ipynb | 4 +- ...organization_name_los-angeles-county.ipynb | 4 +- ...etropolitan-transportation-authority.ipynb | 4 +- ...tion_name_los-angeles-world-airports.ipynb | 4 +- ...s-verdes-peninsula-transit-authority.ipynb | 4 +- ...university-of-california-los-angeles.ipynb | 4 +- ...ino__organization_name_basin-transit.ipynb | 4 +- ...__organization_name_city-of-beaumont.ipynb | 4 +- ...no__organization_name_city-of-corona.ipynb | 4 +- ...o__organization_name_city-of-needles.ipynb | 4 +- ...nardino__organization_name_greyhound.ipynb | 4 +- ...tain-area-regional-transit-authority.ipynb | 4 +- ...nardino__organization_name_omnitrans.ipynb | 4 +- ...ame_palo-verde-valley-transit-agency.ipynb | 4 +- ...zation_name_riverside-transit-agency.ipynb | 4 +- ...name_victor-valley-transit-authority.ipynb | 4 +- ...ame_eastern-sierra-transit-authority.ipynb | 4 +- ..._name_amador-regional-transit-system.ipynb | 4 +- ...zation_name_calaveras-transit-agency.ipynb | 4 +- ...n__organization_name_city-of-escalon.ipynb | 4 +- ...kton__organization_name_city-of-lodi.ipynb | 4 +- ...n__organization_name_city-of-manteca.ipynb | 4 +- ...ton__organization_name_city-of-ripon.ipynb | 4 +- ...ton__organization_name_city-of-tracy.ipynb | 4 +- ...n__organization_name_city-of-turlock.ipynb | 4 +- ...san-joaquin-regional-rail-commission.ipynb | 4 +- ...an-joaquin-regional-transit-district.ipynb | 4 +- ...tanislaus-regional-transit-authority.ipynb | 4 +- ...t-powers-authority-for-merced-county.ipynb | 4 +- ..._name_tuolumne-county-transit-agency.ipynb | 4 +- ...-area-regional-transportation-system.ipynb | 4 +- ...nization_name_yosemite-national-park.ipynb | 4 +- ...ial-county-transportation-commission.ipynb | 4 +- ...n_name_north-county-transit-district.ipynb | 4 +- ...an-diego-metropolitan-transit-system.ipynb | 4 +- ...ntal-public-transportation-authority.ipynb | 4 +- ...ganization_name_city-of-laguna-beach.ipynb | 4 +- ...ange-county-transportation-authority.ipynb | 4 +- ...name_university-of-california-irvine.ipynb | 4 +- portfolio/gtfs_digest_testing/README.md | 11 +- portfolio/gtfs_digest_testing/_config.yml | 2 +- ...lameda-contra-costa-transit-district.ipynb | 3 + ...lameda-contra-costa-transit-district.ipynb | 3 - ...itol-corridor-joint-powers-authority.ipynb | 3 + ...itol-corridor-joint-powers-authority.ipynb | 3 - ...ame_city-and-county-of-san-francisco.ipynb | 3 + ...ntral-contra-costa-transit-authority.ipynb | 3 - ..._organization_name_city-of-fairfield.ipynb | 3 + ...ame_city-and-county-of-san-francisco.ipynb | 3 - ...organization_name_city-of-menlo-park.ipynb | 3 + ..._organization_name_city-of-fairfield.ipynb | 3 - ...ion_name_city-of-south-san-francisco.ipynb | 3 + ...n_name_marin-county-transit-district.ipynb | 3 - ...organization_name_city-of-union-city.ipynb | 3 + ...napa-valley-transportation-authority.ipynb | 3 - ..._organization_name_city-of-vacaville.ipynb | 3 + ...nd__organization_name_presidio-trust.ipynb | 3 - ...lle-transportation-management-agency.ipynb | 3 + ...me_san-mateo-county-transit-district.ipynb | 3 - ...more-amador-valley-transit-authority.ipynb | 3 + ...n_name_marin-county-transit-district.ipynb | 3 + ...napa-valley-transportation-authority.ipynb | 3 + ...eninsula-corridor-joint-powers-board.ipynb | 3 + ...nd__organization_name_presidio-trust.ipynb | 3 + ...isco-bay-area-rapid-transit-district.ipynb | 3 + ...rganization_name_stanford-university.ipynb | 3 + ...me_university-of-california-berkeley.ipynb | 3 + ...stern-contra-costa-transit-authority.ipynb | 3 + portfolio/sites/gtfs_digest.yml | 2 +- portfolio/sites/gtfs_digest_testing.yml | 20 +- .../logs/rt_v_scheduled_route_metrics.log | 2 + .../scripts/rt_v_scheduled_routes.py | 16 +- 214 files changed, 1072 insertions(+), 1653 deletions(-) delete mode 100644 portfolio/gtfs_digest/district_04-oakland/12__03_report__district_04-oakland__organization_name_cloverdale-transit.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/12__03_report__district_04-oakland__organization_name_eastern-contra-costa-transit-authority.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/13__03_report__district_04-oakland__organization_name_eastern-contra-costa-transit-authority.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/13__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/14__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/14__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/15__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/15__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/16__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/16__03_report__district_04-oakland__organization_name_mission-bay-transportation-management-agency.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/17__03_report__district_04-oakland__organization_name_mission-bay-transportation-management-agency.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/17__03_report__district_04-oakland__organization_name_mountain-view-transportation-management-association.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/18__03_report__district_04-oakland__organization_name_mountain-view-transportation-management-association.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/18__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/19__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/19__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/20__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/20__03_report__district_04-oakland__organization_name_presidio-trust.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/21__03_report__district_04-oakland__organization_name_presidio-trust.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/21__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/22__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/22__03_report__district_04-oakland__organization_name_san-francisco-international-airport.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/23__03_report__district_04-oakland__organization_name_san-francisco-international-airport.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/23__03_report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/24__03_report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/24__03_report__district_04-oakland__organization_name_santa-clara-valley-transportation-authority.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/25__03_report__district_04-oakland__organization_name_santa-clara-valley-transportation-authority.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/25__03_report__district_04-oakland__organization_name_solano-county-transit.ipynb delete mode 100644 portfolio/gtfs_digest/district_04-oakland/26__03_report__district_04-oakland__organization_name_solano-county-transit.ipynb create mode 100644 portfolio/gtfs_digest/district_04-oakland/26__03_report__district_04-oakland__organization_name_sonoma-county.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/00__03_report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb delete mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/00___report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/01__03_report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb delete mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/01___report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/02__03_report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb delete mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/02___report__district_04-oakland__organization_name_central-contra-costa-transit-authority.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/03__03_report__district_04-oakland__organization_name_city-of-fairfield.ipynb delete mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/03___report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/04__03_report__district_04-oakland__organization_name_city-of-menlo-park.ipynb delete mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/04___report__district_04-oakland__organization_name_city-of-fairfield.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/05__03_report__district_04-oakland__organization_name_city-of-south-san-francisco.ipynb delete mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/05___report__district_04-oakland__organization_name_marin-county-transit-district.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/06__03_report__district_04-oakland__organization_name_city-of-union-city.ipynb delete mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/06___report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/07__03_report__district_04-oakland__organization_name_city-of-vacaville.ipynb delete mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/07___report__district_04-oakland__organization_name_presidio-trust.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/08__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb delete mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/08___report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/09__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/10__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/11__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/12__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/13__03_report__district_04-oakland__organization_name_presidio-trust.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/14__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/15__03_report__district_04-oakland__organization_name_stanford-university.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/16__03_report__district_04-oakland__organization_name_university-of-california-berkeley.ipynb create mode 100644 portfolio/gtfs_digest_testing/district_04-oakland/17__03_report__district_04-oakland__organization_name_western-contra-costa-transit-authority.ipynb diff --git a/Makefile b/Makefile index 139b3ac88..9f1e83408 100644 --- a/Makefile +++ b/Makefile @@ -41,13 +41,12 @@ build_ntd_report: build_gtfs_digest: $(eval export site = gtfs_digest) #cd data-analyses/rt_segment_speeds && pip install -r requirements.txt && cd ../_shared_utils && make setup_env && cd .. - #cd gtfs_digest/ && python deploy_portfolio_yaml.py && cd .. + #cd gtfs_digest/ && python deploy_portfolio_yaml.py && make assemble_data && cd .. make build_portfolio_site build_gtfs_digest_testing: $(eval export site = gtfs_digest_testing) #cd data-analyses/rt_segment_speeds && pip install -r requirements.txt && cd ../_shared_utils && make setup_env && cd .. - cd gtfs_digest && python _gtfs_digest_dataset.py && cd ../portfolio make build_portfolio_site add_precommit: diff --git a/gtfs_digest/03_report.ipynb b/gtfs_digest/03_report.ipynb index 268da49d5..67d522a04 100644 --- a/gtfs_digest/03_report.ipynb +++ b/gtfs_digest/03_report.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "936e2c22-24ba-4f20-99d8-846cfe0a4e27", "metadata": {}, "outputs": [], @@ -30,7 +30,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "b89867bd-a089-4033-97d7-d6d1ae50b697", "metadata": {}, "outputs": [], @@ -43,7 +43,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "6bd20d9d-a3af-430e-8c19-c90fb8ef9e62", "metadata": { "tags": [ @@ -53,25 +53,25 @@ "outputs": [], "source": [ "# Comment out and leave this cell right below pandas\n", - "organization_name = \"Marin County Transit District\"" + "# organization_name = \"Marin County Transit District\"" ] }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "d870c492-ef2c-45f6-ab47-8d46eda7f344", "metadata": { "tags": [] }, "outputs": [], "source": [ - "# %%capture_parameters\n", - "# organization_name" + "%%capture_parameters\n", + "organization_name" ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "b8e11fd2-041f-4e1d-a00f-6e000269c1a7", "metadata": {}, "outputs": [], @@ -82,7 +82,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "8e840f91-2e1a-4235-bf6b-0c049a569b4a", "metadata": {}, "outputs": [], @@ -94,7 +94,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "id": "517702ae-a7ac-4cc4-a2d4-158fdc8d6919", "metadata": {}, "outputs": [], @@ -104,7 +104,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "id": "dd8b7a4c-7682-4949-9e9b-990ce6867627", "metadata": {}, "outputs": [], @@ -114,7 +114,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "id": "f07ccefc-0d71-4ad0-8435-9e2941aba9b2", "metadata": {}, "outputs": [], @@ -129,30 +129,10 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "id": "67a74771-f5c1-4757-9f79-bc5e87fba09e", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "# Set drop down menu to be on the upper right for the charts\n", "display(\n", @@ -192,7 +172,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "id": "65e5efa4-e731-4429-ae8c-31f90dc4fbf0", "metadata": {}, "outputs": [], @@ -205,27 +185,10 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": null, "id": "c2bb8f59-af0f-4ab1-9b33-e9306ff5b92f", "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "Marin County Transit District is headquartered in San Rafael in the Urbanized Area of San Francisco--Oakland, CA.
\n", - " This operator provides 520 square miles of public transit service, which has a service population of 262,321.
\n", - " This organization is a Public Agency or Authority of Transit Service.
\n", - " Data Source: National Transit Database Annual Agency Information.\n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " service_area = int(operator_profiles.service_area_sq_miles.values[0])\n", @@ -255,24 +218,10 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "id": "41803ddf-26e2-457a-aa58-c87379e755d8", "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "The following data presents an overview of GTFS characteristics using data from the most recent date of\n", - " June 2024." - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " display(\n", @@ -285,37 +234,12 @@ " pass" ] }, - { - "cell_type": "raw", - "id": "d51d0602-b15c-45f8-a94c-9f67f9af9abe", - "metadata": {}, - "source": [] - }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "id": "232e2002-d043-43c1-80d2-22c1183c66a1", "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "Marin County Transit District runs 19 unique routes. Below is the breakdown of the routes and routes can belong to one or more categories.

\n", - " Route categories are determined using a approach that looks at GTFS trips data\n", - " alongside National Association of City Transportation Officials (NACTO)'s\n", - " Transit Route Types \n", - " and Frequency and Volume\n", - " guides. Please see the methodology docs for more details on this approach.\n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " n_routes = operator_profiles[\"# Routes\"].values[0]\n", @@ -337,88 +261,10 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "id": "c96d1998-9da6-4c28-aec6-c27ffd1edd88", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "

\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " route_typology_df = section1.route_typology(operator_profiles)\n", @@ -448,25 +294,10 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "id": "f7f617f8-338d-4ea0-99e7-25c1bfe62e06", "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "Marin County Transit District provides 248 miles of public transit.\n", - " The average length of a route is 12 miles.\n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " n_service_miles = int(operator_profiles[\"Operator Service Miles\"].values[0])\n", @@ -487,88 +318,10 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "id": "0b240e52-b3c5-439e-8c34-ede92c1e45cb", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " longest_shortest_df = section1.shortest_longest_route(operator_route_map)\n", @@ -587,26 +340,10 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": null, "id": "daaf9009-6a25-441e-a58d-66b60d04d35c", "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "Marin County Transit District stops at 550 unique stops, \n", - " totaling to 16,411 arrivals. The average arrivals per stop \n", - " is 29.\n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " n_stops = int(operator_profiles[\"# Stops\"].values[0])\n", @@ -631,23 +368,10 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "id": "821bca2d-7fdd-4e81-af9b-c02deabfe837", "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "Marin County Transit District provides public transit in Marin counties." - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " counties_df = section1.counties_served(operator_route_map)\n", @@ -670,23 +394,10 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": null, "id": "1c89d07e-34dd-4c70-8ae4-0e427d10a6d7", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " display(\n", @@ -715,88 +426,10 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": null, "id": "fefc07f3-7c31-48d1-ad7c-dbf3c42796d3", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.LayerChart(...)" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " display(\n", @@ -813,88 +446,10 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": null, "id": "83390604-62b8-4a05-b435-dec8748e45dd", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.LayerChart(...)" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "display(\n", " section1.create_service_hour_chart(\n", @@ -908,88 +463,10 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": null, "id": "44697ac6-7ee6-453a-a04a-0a94da719ccf", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.LayerChart(...)" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " display(\n", @@ -1011,88 +488,10 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": null, "id": "fbbc04e8-bad4-4d76-84c3-6ba9b76a42c0", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.VConcatChart(...)" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "try:\n", " display(section2.filtered_route(sched_vp_df))\n", diff --git a/gtfs_digest/28_july24_testing.ipynb b/gtfs_digest/28_july24_testing.ipynb index 15c9cb816..51769770d 100644 --- a/gtfs_digest/28_july24_testing.ipynb +++ b/gtfs_digest/28_july24_testing.ipynb @@ -91,6 +91,52 @@ { "cell_type": "code", "execution_count": 7, + "id": "a71e9b4a-8463-46c3-81d8-d33b390131c6", + "metadata": {}, + "outputs": [], + "source": [ + "analysis_date_list = rt_dates.y2024_dates" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "id": "9e535e0a-9979-42ae-823c-abf3d3212d0f", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "['2024-01-17',\n", + " '2024-02-14',\n", + " '2024-03-13',\n", + " '2024-04-17',\n", + " '2024-05-22',\n", + " '2024-06-12',\n", + " '2024-07-17']" + ] + }, + "execution_count": 8, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "analysis_date_list" + ] + }, + { + "cell_type": "markdown", + "id": "ac5e05eb-a25e-4d04-b985-b40efecc922d", + "metadata": {}, + "source": [ + "### Double check values make sense \n", + "* For July 2024 + adding in the NTD stuff in the middle of the pipeline." + ] + }, + { + "cell_type": "code", + "execution_count": 9, "id": "6a6dd026-7bf9-40df-9143-e69545a62c61", "metadata": {}, "outputs": [], @@ -101,7 +147,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 10, "id": "786ccbc5-316a-4404-ac3c-bb367a9c7439", "metadata": {}, "outputs": [], @@ -111,7 +157,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 11, "id": "bade3101-3dcb-42e5-a240-68b9c20aa1cc", "metadata": {}, "outputs": [], @@ -121,7 +167,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 12, "id": "24dd905f-a47e-406d-b7b7-f1a9cfbe5bfd", "metadata": {}, "outputs": [], @@ -131,7 +177,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 13, "id": "3dd6bb30-1fa1-4ca4-9f75-12d9e8752950", "metadata": {}, "outputs": [ @@ -141,7 +187,7 @@ "'gs://calitp-analytics-data/data-analyses/rt_vs_schedule/digest/schedule_vp_metrics'" ] }, - "execution_count": 11, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } @@ -152,7 +198,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 14, "id": "e07f174c-3c05-4de7-ba1a-49a27534d88c", "metadata": {}, "outputs": [ @@ -211,30 +257,6 @@ " Realtime versus Scheduled Service Ratio\n", " Average Actual Service (Trip Minutes)\n", " schedule_source_record_id_x\n", - " itp_id\n", - " counties_served_x\n", - " hq_city_x\n", - " hq_county_x\n", - " is_public_entity_x\n", - " is_publicly_operating_x\n", - " funding_sources_x\n", - " on_demand_vehicles_at_max_service_x\n", - " vehicles_at_max_service_x\n", - " number_of_state_counties_x\n", - " uza_name_x\n", - " density_x\n", - " number_of_counties_with_service_x\n", - " state_admin_funds_expended_x\n", - " service_area_sq_miles_x\n", - " population_x\n", - " service_area_pop_x\n", - " subrecipient_type_x\n", - " primary_uza_x\n", - " reporter_type_x\n", - " organization_type_x\n", - " voms_pt_x\n", - " voms_do_x\n", - " year_x\n", " GTFS Availability\n", " Speed (MPH)\n", " Transit Operator\n", @@ -247,30 +269,6 @@ " Organization ID\n", " Organization\n", " District\n", - " ntd_id_2022\n", - " counties_served_y\n", - " hq_city_y\n", - " hq_county_y\n", - " is_public_entity_y\n", - " is_publicly_operating_y\n", - " funding_sources_y\n", - " on_demand_vehicles_at_max_service_y\n", - " vehicles_at_max_service_y\n", - " number_of_state_counties_y\n", - " uza_name_y\n", - " density_y\n", - " number_of_counties_with_service_y\n", - " state_admin_funds_expended_y\n", - " service_area_sq_miles_y\n", - " population_y\n", - " service_area_pop_y\n", - " subrecipient_type_y\n", - " primary_uza_y\n", - " reporter_type_y\n", - " organization_type_y\n", - " voms_pt_y\n", - " voms_do_y\n", - " year_y\n", " Direction\n", " ruler_100_pct\n", " ruler_for_vp_per_min\n", @@ -314,30 +312,6 @@ " 2.10\n", " 119.90\n", " None\n", - " NaN\n", - " None\n", - " None\n", - " None\n", - " None\n", - " None\n", - " None\n", - " NaN\n", - " NaN\n", - " NaN\n", - " None\n", - " NaN\n", - " NaN\n", - " NaN\n", - " NaN\n", - " NaN\n", - " NaN\n", - " None\n", - " None\n", - " None\n", - " None\n", - " NaN\n", - " NaN\n", - " NaN\n", " schedule_and_vp\n", " 16.63\n", " Bay Area 511 Marin Schedule\n", @@ -350,30 +324,6 @@ " recNOb7pqBRlQVG5e\n", " Marin County Transit District\n", " 04 - Oakland\n", - " 90234\n", - " Marin\n", - " San Rafael\n", - " Marin\n", - " True\n", - " True\n", - " 5307;5310;5311;5320;5339\n", - " NaN\n", - " 80.00\n", - " NaN\n", - " San Francisco--Oakland, CA\n", - " 6943.00\n", - " NaN\n", - " NaN\n", - " 520.00\n", - " 3515933.00\n", - " 262321.00\n", - " None\n", - " None\n", - " Full Reporter\n", - " Public Agency or Authority of Transit Service\n", - " 80.00\n", - " NaN\n", - " 2022.00\n", " Northbound\n", " 100\n", " 2\n", @@ -415,30 +365,6 @@ " 1.85\n", " 105.73\n", " None\n", - " NaN\n", - " None\n", - " None\n", - " None\n", - " None\n", - " None\n", - " None\n", - " NaN\n", - " NaN\n", - " NaN\n", - " None\n", - " NaN\n", - " NaN\n", - " NaN\n", - " NaN\n", - " NaN\n", - " NaN\n", - " None\n", - " None\n", - " None\n", - " None\n", - " NaN\n", - " NaN\n", - " NaN\n", " schedule_and_vp\n", " 15.72\n", " Bay Area 511 Marin Schedule\n", @@ -451,30 +377,6 @@ " recNOb7pqBRlQVG5e\n", " Marin County Transit District\n", " 04 - Oakland\n", - " 90234\n", - " Marin\n", - " San Rafael\n", - " Marin\n", - " True\n", - " True\n", - " 5307;5310;5311;5320;5339\n", - " NaN\n", - " 80.00\n", - " NaN\n", - " San Francisco--Oakland, CA\n", - " 6943.00\n", - " NaN\n", - " NaN\n", - " 520.00\n", - " 3515933.00\n", - " 262321.00\n", - " None\n", - " None\n", - " Full Reporter\n", - " Public Agency or Authority of Transit Service\n", - " 80.00\n", - " NaN\n", - " 2022.00\n", " Northbound\n", " 100\n", " 2\n", @@ -533,104 +435,36 @@ "0 100.00 2.10 \n", "1 100.00 1.85 \n", "\n", - " Average Actual Service (Trip Minutes) schedule_source_record_id_x itp_id \\\n", - "0 119.90 None NaN \n", - "1 105.73 None NaN \n", - "\n", - " counties_served_x hq_city_x hq_county_x is_public_entity_x \\\n", - "0 None None None None \n", - "1 None None None None \n", - "\n", - " is_publicly_operating_x funding_sources_x \\\n", - "0 None None \n", - "1 None None \n", - "\n", - " on_demand_vehicles_at_max_service_x vehicles_at_max_service_x \\\n", - "0 NaN NaN \n", - "1 NaN NaN \n", + " Average Actual Service (Trip Minutes) schedule_source_record_id_x \\\n", + "0 119.90 None \n", + "1 105.73 None \n", "\n", - " number_of_state_counties_x uza_name_x density_x \\\n", - "0 NaN None NaN \n", - "1 NaN None NaN \n", + " GTFS Availability Speed (MPH) Transit Operator \\\n", + "0 schedule_and_vp 16.63 Bay Area 511 Marin Schedule \n", + "1 schedule_and_vp 15.72 Bay Area 511 Marin Schedule \n", "\n", - " number_of_counties_with_service_x state_admin_funds_expended_x \\\n", - "0 NaN NaN \n", - "1 NaN NaN \n", + " route_long_name route_short_name \\\n", + "0 Downtown San Rafael - Sausalito 17 \n", + "1 Downtown San Rafael - Sausalito 17 \n", "\n", - " service_area_sq_miles_x population_x service_area_pop_x \\\n", - "0 NaN NaN NaN \n", - "1 NaN NaN NaN \n", - "\n", - " subrecipient_type_x primary_uza_x reporter_type_x organization_type_x \\\n", - "0 None None None None \n", - "1 None None None None \n", - "\n", - " voms_pt_x voms_do_x year_x GTFS Availability Speed (MPH) \\\n", - "0 NaN NaN NaN schedule_and_vp 16.63 \n", - "1 NaN NaN NaN schedule_and_vp 15.72 \n", - "\n", - " Transit Operator route_long_name \\\n", - "0 Bay Area 511 Marin Schedule Downtown San Rafael - Sausalito \n", - "1 Bay Area 511 Marin Schedule Downtown San Rafael - Sausalito \n", - "\n", - " route_short_name Route Route ID \\\n", - "0 17 17 Downtown San Rafael - Sausalito 17 \n", - "1 17 17 Downtown San Rafael - Sausalito 17 \n", - "\n", - " schedule_source_record_id_y \\\n", - "0 reckCEnFkdLVgfxck \n", - "1 reckCEnFkdLVgfxck \n", + " Route Route ID schedule_source_record_id_y \\\n", + "0 17 Downtown San Rafael - Sausalito 17 reckCEnFkdLVgfxck \n", + "1 17 Downtown San Rafael - Sausalito 17 reckCEnFkdLVgfxck \n", "\n", " Base64 Encoded Feed URL \\\n", "0 aHR0cHM6Ly9hcGkuNTExLm9yZy90cmFuc2l0L2RhdGFmZWVkcz9vcGVyYXRvcl9pZD1NQQ== \n", "1 aHR0cHM6Ly9hcGkuNTExLm9yZy90cmFuc2l0L2RhdGFmZWVkcz9vcGVyYXRvcl9pZD1NQQ== \n", "\n", - " Organization ID Organization District ntd_id_2022 \\\n", - "0 recNOb7pqBRlQVG5e Marin County Transit District 04 - Oakland 90234 \n", - "1 recNOb7pqBRlQVG5e Marin County Transit District 04 - Oakland 90234 \n", - "\n", - " counties_served_y hq_city_y hq_county_y is_public_entity_y \\\n", - "0 Marin San Rafael Marin True \n", - "1 Marin San Rafael Marin True \n", - "\n", - " is_publicly_operating_y funding_sources_y \\\n", - "0 True 5307;5310;5311;5320;5339 \n", - "1 True 5307;5310;5311;5320;5339 \n", - "\n", - " on_demand_vehicles_at_max_service_y vehicles_at_max_service_y \\\n", - "0 NaN 80.00 \n", - "1 NaN 80.00 \n", + " Organization ID Organization District Direction \\\n", + "0 recNOb7pqBRlQVG5e Marin County Transit District 04 - Oakland Northbound \n", + "1 recNOb7pqBRlQVG5e Marin County Transit District 04 - Oakland Northbound \n", "\n", - " number_of_state_counties_y uza_name_y density_y \\\n", - "0 NaN San Francisco--Oakland, CA 6943.00 \n", - "1 NaN San Francisco--Oakland, CA 6943.00 \n", - "\n", - " number_of_counties_with_service_y state_admin_funds_expended_y \\\n", - "0 NaN NaN \n", - "1 NaN NaN \n", - "\n", - " service_area_sq_miles_y population_y service_area_pop_y \\\n", - "0 520.00 3515933.00 262321.00 \n", - "1 520.00 3515933.00 262321.00 \n", - "\n", - " subrecipient_type_y primary_uza_y reporter_type_y \\\n", - "0 None None Full Reporter \n", - "1 None None Full Reporter \n", - "\n", - " organization_type_y voms_pt_y voms_do_y \\\n", - "0 Public Agency or Authority of Transit Service 80.00 NaN \n", - "1 Public Agency or Authority of Transit Service 80.00 NaN \n", - "\n", - " year_y Direction ruler_100_pct ruler_for_vp_per_min \\\n", - "0 2022.00 Northbound 100 2 \n", - "1 2022.00 Northbound 100 2 \n", - "\n", - " frequency_in_minutes \n", - "0 65.22 \n", - "1 65.22 " + " ruler_100_pct ruler_for_vp_per_min frequency_in_minutes \n", + "0 100 2 65.22 \n", + "1 100 2 65.22 " ] }, - "execution_count": 12, + "execution_count": 14, "metadata": {}, "output_type": "execute_result" } @@ -641,7 +475,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 15, "id": "f087c86e-38ae-4ed6-b3ec-f9c99b9653c8", "metadata": {}, "outputs": [ @@ -659,7 +493,7 @@ " '2023-03-15T00:00:00.000000000'], dtype='datetime64[ns]')" ] }, - "execution_count": 13, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } @@ -670,437 +504,565 @@ }, { "cell_type": "code", - "execution_count": 14, - "id": "a71e9b4a-8463-46c3-81d8-d33b390131c6", + "execution_count": null, + "id": "27855472-153e-45c2-8a2d-44bc7781eb49", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "id": "025c38c0-2365-4820-b6c5-94e657e12387", + "metadata": {}, + "source": [ + "### Recreate `gtfs_digest/merge_data` \n", + "#### Why are all these NTD columns popping up?? \n", + "* Delete them!" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "5651aac1-1956-4aaf-a7be-aa6174197e11", "metadata": {}, "outputs": [], "source": [ - "analysis_date_list = (rt_dates.y2024_dates + rt_dates.y2023_dates\n", - " )" + "df_rt_sched = (\n", + " merge_data.concatenate_rt_vs_schedule_by_route_direction(\n", + " analysis_date_list)\n", + " .astype({\"direction_id\": \"float\"})\n", + " )\n", + " " ] }, { "cell_type": "code", - "execution_count": 15, - "id": "e2cbcf44-a070-4468-b481-b125c58e6c5c", + "execution_count": null, + "id": "20308f03-0cd6-4999-bc28-8807f4f90f0c", + "metadata": {}, + "outputs": [], + "source": [ + "df_rt_sched.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "f6694ec7-4379-4fa0-815e-d13be6a3287b", "metadata": {}, "outputs": [], "source": [ + "# No NTD stuff\n", "df_sched = merge_data.concatenate_schedule_by_route_direction(analysis_date_list)" ] }, { "cell_type": "code", - "execution_count": 16, - "id": "52833699-ed76-46ab-8b64-b12a668379a9", + "execution_count": null, + "id": "cddcbff8-047c-4c3e-8e62-f93f394ac103", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
schedule_gtfs_dataset_keyroute_iddirection_idtime_periodroute_primary_directionavg_scheduled_service_minutesavg_stop_milesn_scheduled_tripsfrequencyis_expressis_rapidis_railis_coverageis_downtown_localis_localservice_date
0014d0998350083249a9eb310635548c2108668261.00all_dayNorthbound45.000.3180.330.001.000.001.000.000.002023-10-11
1014d0998350083249a9eb310635548c2108668261.00all_dayNorthbound45.000.3180.330.001.000.001.000.000.002023-11-15
\n", - "
" - ], - "text/plain": [ - " schedule_gtfs_dataset_key route_id direction_id time_period \\\n", - "0 014d0998350083249a9eb310635548c2 10866826 1.00 all_day \n", - "1 014d0998350083249a9eb310635548c2 10866826 1.00 all_day \n", - "\n", - " route_primary_direction avg_scheduled_service_minutes avg_stop_miles \\\n", - "0 Northbound 45.00 0.31 \n", - "1 Northbound 45.00 0.31 \n", - "\n", - " n_scheduled_trips frequency is_express is_rapid is_rail is_coverage \\\n", - "0 8 0.33 0.00 1.00 0.00 1.00 \n", - "1 8 0.33 0.00 1.00 0.00 1.00 \n", - "\n", - " is_downtown_local is_local service_date \n", - "0 0.00 0.00 2023-10-11 \n", - "1 0.00 0.00 2023-11-15 " - ] - }, - "execution_count": 16, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "df_sched.head(2)" ] }, { - "cell_type": "markdown", - "id": "025c38c0-2365-4820-b6c5-94e657e12387", + "cell_type": "code", + "execution_count": null, + "id": "ecae2787-7c4d-4c7d-83cb-b6dc019a96be", "metadata": {}, + "outputs": [], "source": [ - "#### Why are all these NTD columns popping up?? \n", - "* Delete them!" + "primary_typology = merge_data.set_primary_typology(df_sched)" ] }, { "cell_type": "code", - "execution_count": 19, - "id": "f9a61323-59f5-47c1-b1df-4874dcedeabc", + "execution_count": null, + "id": "5938d75f-698c-4b82-9fc3-519e81078610", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "'vp_route_dir/route_direction_metrics'" - ] - }, - "execution_count": 19, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ - "GTFS_DATA_DICT.rt_vs_schedule_tables.vp_route_direction_metrics" + "primary_typology.head(2)" ] }, { "cell_type": "code", - "execution_count": 17, - "id": "f6694ec7-4379-4fa0-815e-d13be6a3287b", + "execution_count": null, + "id": "f36f32fd-50b9-4864-90ed-297f1e22ab0d", "metadata": {}, "outputs": [], "source": [ - "df_rt_sched = (\n", - " merge_data.concatenate_rt_vs_schedule_by_route_direction(\n", - " analysis_date_list)\n", - " .astype({\"direction_id\": \"float\"})\n", - " )" + "route_time_cols = [\n", + " \"schedule_gtfs_dataset_key\",\n", + " \"route_id\",\n", + " \"direction_id\",\n", + " \"time_period\",\n", + "]" ] }, { "cell_type": "code", - "execution_count": 18, - "id": "cddcbff8-047c-4c3e-8e62-f93f394ac103", + "execution_count": null, + "id": "316ef412-de74-460b-98ed-8a2019846fc3", + "metadata": {}, + "outputs": [], + "source": [ + "df_sched2 = pd.merge(df_sched, primary_typology, on=route_time_cols, how=\"left\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "cb2a4af3-909e-4747-b97a-1715fdc83c49", + "metadata": {}, + "outputs": [], + "source": [ + "df_avg_speeds = merge_data.concatenate_speeds_by_route_direction(analysis_date_list)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "6942f1d5-2818-4eea-bdad-add6b9497134", + "metadata": {}, + "outputs": [], + "source": [ + "df_avg_speeds.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "f2c37719-e9de-4b98-b2eb-9e15e31cf84e", + "metadata": {}, + "outputs": [], + "source": [ + "df_rt_sched = merge_data.concatenate_rt_vs_schedule_by_route_direction(\n", + " analysis_date_list\n", + ").astype({\"direction_id\": \"float\"})" + ] + }, + { + "cell_type": "markdown", + "id": "bc369177-e6ee-422e-91ea-db92d23d91b3", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
schedule_gtfs_dataset_keyroute_iddirection_idtime_periodminutes_atleast1_vpminutes_atleast2_vptotal_rt_service_minutestotal_scheduled_service_minutestotal_vpvp_in_shapeis_earlyis_ontimeis_laten_vp_tripsvp_per_minutepct_in_shapepct_rt_journey_atleast1_vppct_rt_journey_atleast2_vppct_sched_journey_atleast1_vppct_sched_journey_atleast2_vprt_sched_journey_ratioavg_rt_service_minutesnameservice_dateschedule_source_record_iditp_idcounties_servedhq_cityhq_countyis_public_entityis_publicly_operatingfunding_sourceson_demand_vehicles_at_max_servicevehicles_at_max_servicenumber_of_state_countiesuza_namedensitynumber_of_counties_with_servicestate_admin_funds_expendedservice_area_sq_milespopulationservice_area_popsubrecipient_typeprimary_uzareporter_typeorganization_typevoms_ptvoms_doyear
0015d67d5b75b5cf2b710bbadadfb75f5170.00all_day161415792517.851201.00459634382811211.830.750.640.631.001.002.10119.90Bay Area 511 Marin Schedule2023-04-12NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
1015d67d5b75b5cf2b710bbadadfb75f5170.00all_day167216522326.071257.00495342870418222.130.870.720.711.001.001.85105.73Bay Area 511 Marin Schedule2023-05-17NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
\n", - "
" - ], - "text/plain": [ - " schedule_gtfs_dataset_key route_id direction_id time_period \\\n", - "0 015d67d5b75b5cf2b710bbadadfb75f5 17 0.00 all_day \n", - "1 015d67d5b75b5cf2b710bbadadfb75f5 17 0.00 all_day \n", - "\n", - " minutes_atleast1_vp minutes_atleast2_vp total_rt_service_minutes \\\n", - "0 1614 1579 2517.85 \n", - "1 1672 1652 2326.07 \n", - "\n", - " total_scheduled_service_minutes total_vp vp_in_shape is_early \\\n", - "0 1201.00 4596 3438 2 \n", - "1 1257.00 4953 4287 0 \n", - "\n", - " is_ontime is_late n_vp_trips vp_per_minute pct_in_shape \\\n", - "0 8 11 21 1.83 0.75 \n", - "1 4 18 22 2.13 0.87 \n", - "\n", - " pct_rt_journey_atleast1_vp pct_rt_journey_atleast2_vp \\\n", - "0 0.64 0.63 \n", - "1 0.72 0.71 \n", - "\n", - " pct_sched_journey_atleast1_vp pct_sched_journey_atleast2_vp \\\n", - "0 1.00 1.00 \n", - "1 1.00 1.00 \n", - "\n", - " rt_sched_journey_ratio avg_rt_service_minutes \\\n", - "0 2.10 119.90 \n", - "1 1.85 105.73 \n", - "\n", - " name service_date schedule_source_record_id itp_id \\\n", - "0 Bay Area 511 Marin Schedule 2023-04-12 NaN NaN \n", - "1 Bay Area 511 Marin Schedule 2023-05-17 NaN NaN \n", - "\n", - " counties_served hq_city hq_county is_public_entity is_publicly_operating \\\n", - "0 NaN NaN NaN NaN NaN \n", - "1 NaN NaN NaN NaN NaN \n", - "\n", - " funding_sources on_demand_vehicles_at_max_service vehicles_at_max_service \\\n", - "0 NaN NaN NaN \n", - "1 NaN NaN NaN \n", - "\n", - " number_of_state_counties uza_name density \\\n", - "0 NaN NaN NaN \n", - "1 NaN NaN NaN \n", - "\n", - " number_of_counties_with_service state_admin_funds_expended \\\n", - "0 NaN NaN \n", - "1 NaN NaN \n", - "\n", - " service_area_sq_miles population service_area_pop subrecipient_type \\\n", - "0 NaN NaN NaN NaN \n", - "1 NaN NaN NaN NaN \n", - "\n", - " primary_uza reporter_type organization_type voms_pt voms_do year \n", - "0 NaN NaN NaN NaN NaN NaN \n", - "1 NaN NaN NaN NaN NaN NaN " - ] - }, - "execution_count": 18, - "metadata": {}, - "output_type": "execute_result" - } - ], + "source": [ + "#### This already has the NTD data\n", + "* Find where the original dataset is created." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "fd8235f3-be90-42e4-a9b6-8a79aa9d23e8", + "metadata": {}, + "outputs": [], + "source": [ + "# This is the file that is saved out\n", + "DIGEST_RT_SCHED = GTFS_DATA_DICT.digest_tables.route_schedule_vp" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "a8491db0-d524-468e-a562-e61253c84196", + "metadata": {}, + "outputs": [], + "source": [ + "DIGEST_RT_SCHED" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "6616659a-96d2-4776-874f-14ce9e4de504", + "metadata": {}, + "outputs": [], "source": [ "df_rt_sched.head(2)" ] + }, + { + "cell_type": "markdown", + "id": "89837ac0-6c5b-43c5-b7f9-735c127ba24e", + "metadata": {}, + "source": [ + "#### This file is \n", + "`rt_scheduled_v_ran/scripts/rt_v_scheduled_routes.py`" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "02acce6b-c655-4b6e-93d6-3c110223f765", + "metadata": {}, + "outputs": [], + "source": [ + "ah_test = \"gs://calitp-analytics-data/data-analyses/rt_vs_schedule/vp_route_dir/route_direction_metrics_2024-07-17_ah_test.parquet\"" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "9807d87a-8181-4625-b498-33cd58b489c7", + "metadata": {}, + "outputs": [], + "source": [ + "ah_test_df = pd.read_parquet(ah_test)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "18d06732-1c78-4c54-9c84-e02042e2a37a", + "metadata": {}, + "outputs": [], + "source": [ + "ah_test_df.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "ef1595b6-b344-48cd-b955-a1f9ae07f2ac", + "metadata": {}, + "outputs": [], + "source": [ + "FILE = GTFS_DATA_DICT.rt_vs_schedule_tables.vp_route_direction_metrics" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "052c0502-42e0-4548-bb2f-462448a66eb2", + "metadata": {}, + "outputs": [], + "source": [ + "FILE" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8f4e02c0-ef7b-41f5-8309-28b8159e8b75", + "metadata": {}, + "outputs": [], + "source": [ + "import sys\n", + "\n", + "sys.path.append(\"../rt_scheduled_v_ran/scripts\")\n", + "import rt_v_scheduled_routes" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "1eefd8f9-a987-4fa3-ade9-6e55cf62a52c", + "metadata": {}, + "outputs": [], + "source": [ + "dict_inputs = GTFS_DATA_DICT.rt_vs_schedule_tables" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b6afd3ef-2bea-40b8-a19c-ca9ca13e6642", + "metadata": {}, + "outputs": [], + "source": [ + "analysis_date = analysis_date_list[-1]" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "2e4a1700-0fe9-417e-a1d6-38f5a1467aca", + "metadata": {}, + "outputs": [], + "source": [ + "TRIP_EXPORT = dict_inputs.vp_trip_metrics\n", + "ROUTE_EXPORT = dict_inputs.vp_route_direction_metrics" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "598c64d8-2b3a-4ba8-bf24-2c8edbe625e8", + "metadata": {}, + "outputs": [], + "source": [ + "ROUTE_EXPORT" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d8930b1b-e31c-4a04-8ed7-094493ad9560", + "metadata": {}, + "outputs": [], + "source": [ + "trip_df = pd.read_parquet(f\"{RT_SCHED_GCS}{TRIP_EXPORT}_{analysis_date}.parquet\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "e6386e79-7418-463a-b4cb-8cb09807092f", + "metadata": {}, + "outputs": [], + "source": [ + "from segment_speed_utils import gtfs_schedule_wrangling, metrics\n", + "from segment_speed_utils.time_series_utils import ROUTE_DIR_COLS" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "90f9f472-2f32-470c-8143-efcb87498710", + "metadata": {}, + "outputs": [], + "source": [ + "trip_df.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d6a59efb-419c-43f1-8a65-83a73b77aae0", + "metadata": {}, + "outputs": [], + "source": [ + "route_df1 = metrics.concatenate_peak_offpeak_allday_averages(\n", + " trip_df,\n", + " group_cols=[\"schedule_gtfs_dataset_key\"] + ROUTE_DIR_COLS,\n", + " metric_type=\"rt_vs_schedule\",\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "6468eb79-a9e7-4d66-ac2a-73a7439d0620", + "metadata": {}, + "outputs": [], + "source": [ + "route_df1.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "68d423b6-3ae8-460c-b2f6-822d162da085", + "metadata": {}, + "outputs": [], + "source": [ + "route_df2 = metrics.concatenate_peak_offpeak_allday_averages(\n", + " trip_df,\n", + " group_cols=[\"schedule_gtfs_dataset_key\"] + ROUTE_DIR_COLS,\n", + " metric_type=\"rt_vs_schedule\",\n", + ").pipe(metrics.derive_rt_vs_schedule_metrics)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "77b944fd-1c7b-4093-b246-293e5c0e7790", + "metadata": {}, + "outputs": [], + "source": [ + "route_df2.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "0ec374df-813f-4ab5-9648-723222b252b1", + "metadata": {}, + "outputs": [], + "source": [ + "route_df3 = (\n", + " metrics.concatenate_peak_offpeak_allday_averages(\n", + " trip_df,\n", + " group_cols=[\"schedule_gtfs_dataset_key\"] + ROUTE_DIR_COLS,\n", + " metric_type=\"rt_vs_schedule\",\n", + " )\n", + " .pipe(metrics.derive_rt_vs_schedule_metrics)\n", + " .pipe(rt_v_scheduled_routes.average_rt_trip_times)\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "a8b0eaf9-e90b-44af-b597-b9236cb6a171", + "metadata": {}, + "outputs": [], + "source": [ + "route_df3.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "446f1bf7-b4d9-4085-abda-dca0f391646b", + "metadata": {}, + "outputs": [], + "source": [ + "route_df4 = (\n", + " metrics.concatenate_peak_offpeak_allday_averages(\n", + " trip_df,\n", + " group_cols=[\"schedule_gtfs_dataset_key\"] + ROUTE_DIR_COLS,\n", + " metric_type=\"rt_vs_schedule\",\n", + " )\n", + " .pipe(metrics.derive_rt_vs_schedule_metrics)\n", + " .pipe(rt_v_scheduled_routes.average_rt_trip_times)\n", + " .pipe(gtfs_schedule_wrangling.merge_operator_identifiers, [analysis_date])\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "a40f9fe4-6fe5-4ef4-a61c-8dc8e7d12194", + "metadata": {}, + "outputs": [], + "source": [ + "route_df4.head(2)" + ] + }, + { + "cell_type": "markdown", + "id": "09627dde-65fa-466b-844d-3ebe32bae7ed", + "metadata": { + "tags": [] + }, + "source": [ + "#### Original crosswalk" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "cedea627-e317-40bb-8f9a-8bf42f8d9a9d", + "metadata": {}, + "outputs": [], + "source": [ + "TABLE = GTFS_DATA_DICT.schedule_tables.gtfs_key_crosswalk\n", + "FILE = f\"{SCHED_GCS}{TABLE}_{analysis_date}.parquet\"\n", + "\n", + "crosswalk = pd.read_parquet(FILE)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "ff79d5e5-ad67-44bd-ae96-7257f7116541", + "metadata": {}, + "outputs": [], + "source": [ + "crosswalk.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "037f7e7b-9883-4dd1-8b48-90909c79cb6f", + "metadata": {}, + "outputs": [], + "source": [ + "crosswalk_cols = [\n", + " \"schedule_gtfs_dataset_key\",\n", + " \"name\",\n", + " \"schedule_source_record_id\",\n", + " \"base64_url\",\n", + " \"organization_source_record_id\",\n", + " \"organization_name\",\n", + " \"caltrans_district\",\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "2c2f24e9-41a4-4488-9443-b9eea1df9990", + "metadata": {}, + "outputs": [], + "source": [ + "analysis_date" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b99bfd67-b1d1-443d-bbd7-cedb7e64ab37", + "metadata": {}, + "outputs": [], + "source": [ + "crosswalk_df = gtfs_schedule_wrangling.merge_operator_identifiers(trip_df, \n", + " [analysis_date],\n", + " columns = crosswalk_cols)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "2233f2f2-9ca4-45bf-93d2-6e7feab3889d", + "metadata": {}, + "outputs": [], + "source": [ + "crosswalk_df.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "9a5c4c26-978c-42bf-a93d-5d49dd7abd47", + "metadata": {}, + "outputs": [], + "source": [ + "route_df.head(2)" + ] + }, + { + "cell_type": "markdown", + "id": "0424720c-4ba5-431a-b3cc-23f3712fca0a", + "metadata": {}, + "source": [ + "### `merge_data/concatenate_crosswalk_organization`" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "12a7b621-648f-4a49-8d21-d1cdf2def1aa", + "metadata": {}, + "outputs": [], + "source": [ + "FILE = GTFS_DATA_DICT.schedule_tables.gtfs_key_crosswalk\n", + " " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "ffcd32f7-4c69-4169-b9de-804afe5d1ed6", + "metadata": {}, + "outputs": [], + "source": [ + "df = merge_data.concatenate_crosswalk_organization(analysis_date_list)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "5721156a-9ca1-4190-8246-b62719a9cdcf", + "metadata": {}, + "outputs": [], + "source": [ + "df.head(2)" + ] } ], "metadata": { diff --git a/gtfs_digest/merge_data.py b/gtfs_digest/merge_data.py index 09f3f6613..26950d72e 100644 --- a/gtfs_digest/merge_data.py +++ b/gtfs_digest/merge_data.py @@ -122,12 +122,23 @@ def concatenate_crosswalk_organization( ) -> pd.DataFrame: FILE = GTFS_DATA_DICT.schedule_tables.gtfs_key_crosswalk + crosswalk_cols = [ + "schedule_gtfs_dataset_key", + "name", + "schedule_source_record_id", + "base64_url", + "organization_source_record_id", + "organization_name", + "caltrans_district" + ] + df = time_series_utils.concatenate_datasets_across_dates( SCHED_GCS, FILE, date_list, data_type = "df", - ).drop(columns = "itp_id") + columns = crosswalk_cols + ) return df diff --git a/portfolio/gtfs_digest/district_01-eureka/00__03_report__district_01-eureka__organization_name_city-of-eureka.ipynb b/portfolio/gtfs_digest/district_01-eureka/00__03_report__district_01-eureka__organization_name_city-of-eureka.ipynb index 3c4159667..2878cca4f 100644 --- a/portfolio/gtfs_digest/district_01-eureka/00__03_report__district_01-eureka__organization_name_city-of-eureka.ipynb +++ b/portfolio/gtfs_digest/district_01-eureka/00__03_report__district_01-eureka__organization_name_city-of-eureka.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:335c0a48bdf02d708a69c8237add7ef45ad47414db83178c71d583e7c849a1c7 -size 3739732 +oid sha256:6cc4e523a83d9b0e91b097b7bcbb948f2a9df1a7956dc7ff2dbd5e760f179345 +size 3428606 diff --git a/portfolio/gtfs_digest/district_01-eureka/01__03_report__district_01-eureka__organization_name_curry-public-transit.ipynb b/portfolio/gtfs_digest/district_01-eureka/01__03_report__district_01-eureka__organization_name_curry-public-transit.ipynb index 5f6f824e9..facdba80e 100644 --- a/portfolio/gtfs_digest/district_01-eureka/01__03_report__district_01-eureka__organization_name_curry-public-transit.ipynb +++ b/portfolio/gtfs_digest/district_01-eureka/01__03_report__district_01-eureka__organization_name_curry-public-transit.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d2c922e3d78e3d22eec0eb68001e41f0078338de66ea759818b40cd41976f950 -size 62831 +oid sha256:e4edf3ea3d719104b881a6286289df881c56a16263310cd96ac2e7102d6e1704 +size 62499 diff --git a/portfolio/gtfs_digest/district_01-eureka/02__03_report__district_01-eureka__organization_name_lake-transit-authority.ipynb b/portfolio/gtfs_digest/district_01-eureka/02__03_report__district_01-eureka__organization_name_lake-transit-authority.ipynb index 1494470d9..fa8007272 100644 --- a/portfolio/gtfs_digest/district_01-eureka/02__03_report__district_01-eureka__organization_name_lake-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_01-eureka/02__03_report__district_01-eureka__organization_name_lake-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b077024a2670ae8907bf92fe111f27f2df55bae77edc8ac86f9ad6b0b3fc7f6c -size 4780558 +oid sha256:8e581d5b6d0bd24dbc4800aa16d8da6139a32ca94ca3fd2ee2db9799a773c5aa +size 3957953 diff --git a/portfolio/gtfs_digest/district_01-eureka/03__03_report__district_01-eureka__organization_name_mendocino-transit-authority.ipynb b/portfolio/gtfs_digest/district_01-eureka/03__03_report__district_01-eureka__organization_name_mendocino-transit-authority.ipynb index 2e5819923..9064bf5eb 100644 --- a/portfolio/gtfs_digest/district_01-eureka/03__03_report__district_01-eureka__organization_name_mendocino-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_01-eureka/03__03_report__district_01-eureka__organization_name_mendocino-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:280dd89aaf7dd611240e942463698bccf6df32333efd26f245a2995818ebd305 -size 4476391 +oid sha256:73169073bef4e20ad6f12de08cfb23771b9cde1e09ae5da75a8be1c898a27011 +size 3617994 diff --git a/portfolio/gtfs_digest/district_01-eureka/04__03_report__district_01-eureka__organization_name_point.ipynb b/portfolio/gtfs_digest/district_01-eureka/04__03_report__district_01-eureka__organization_name_point.ipynb index 314422fd0..cd3a7eaa1 100644 --- a/portfolio/gtfs_digest/district_01-eureka/04__03_report__district_01-eureka__organization_name_point.ipynb +++ b/portfolio/gtfs_digest/district_01-eureka/04__03_report__district_01-eureka__organization_name_point.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0c5ac957476e6c05c1cf399609242c275ed4dcf9eca673ee237559b44417da4c -size 68996 +oid sha256:65c92bf094c3b1bf95d119165999383a33ccfc6c51ec571c9c7bab7b79c6125b +size 68662 diff --git a/portfolio/gtfs_digest/district_01-eureka/05__03_report__district_01-eureka__organization_name_redwood-coast-transit-authority.ipynb b/portfolio/gtfs_digest/district_01-eureka/05__03_report__district_01-eureka__organization_name_redwood-coast-transit-authority.ipynb index 720a3f58c..8d1a44d08 100644 --- a/portfolio/gtfs_digest/district_01-eureka/05__03_report__district_01-eureka__organization_name_redwood-coast-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_01-eureka/05__03_report__district_01-eureka__organization_name_redwood-coast-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:074450b50119f4f4e726ffbdc14bf166808acda11290d34419a821ac26065247 -size 2906992 +oid sha256:2be926fdcc347e7a9f6fb53c0901d29192648b2f83fc2c47e42f71267a20eb3c +size 2303182 diff --git a/portfolio/gtfs_digest/district_02-redding/00__03_report__district_02-redding__organization_name_lassen-transit-service-agency.ipynb b/portfolio/gtfs_digest/district_02-redding/00__03_report__district_02-redding__organization_name_lassen-transit-service-agency.ipynb index 38f51a3b2..0b8872fb4 100644 --- a/portfolio/gtfs_digest/district_02-redding/00__03_report__district_02-redding__organization_name_lassen-transit-service-agency.ipynb +++ b/portfolio/gtfs_digest/district_02-redding/00__03_report__district_02-redding__organization_name_lassen-transit-service-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:32cc0973913f09117a462316c0e42b5dd5c79fc6ce0a0e1f61e68e3d682762c9 -size 275331 +oid sha256:c1667bf795c106fca144510e62e5613e93778ff37d0388678c69bc34f69fb0e0 +size 274997 diff --git a/portfolio/gtfs_digest/district_02-redding/01__03_report__district_02-redding__organization_name_modoc-transportation-agency.ipynb b/portfolio/gtfs_digest/district_02-redding/01__03_report__district_02-redding__organization_name_modoc-transportation-agency.ipynb index 0aaf11e57..1c19174b8 100644 --- a/portfolio/gtfs_digest/district_02-redding/01__03_report__district_02-redding__organization_name_modoc-transportation-agency.ipynb +++ b/portfolio/gtfs_digest/district_02-redding/01__03_report__district_02-redding__organization_name_modoc-transportation-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:03b025075dc83dfca50b97f57bf04dd52287204f7f94d889fb8181db59350039 -size 251080 +oid sha256:a12c0fac1d41c77c7e8fcccf5f21f14df76c6e33326040580d760cc1fdb68e7e +size 250741 diff --git a/portfolio/gtfs_digest/district_02-redding/02__03_report__district_02-redding__organization_name_plumas-transit-systems.ipynb b/portfolio/gtfs_digest/district_02-redding/02__03_report__district_02-redding__organization_name_plumas-transit-systems.ipynb index 0c33fe941..2cd183d50 100644 --- a/portfolio/gtfs_digest/district_02-redding/02__03_report__district_02-redding__organization_name_plumas-transit-systems.ipynb +++ b/portfolio/gtfs_digest/district_02-redding/02__03_report__district_02-redding__organization_name_plumas-transit-systems.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aa8c4b78077aaa74171cd805ab43f7eeac90471d45404d131a86a612ac80088a -size 213016 +oid sha256:c1130b0883585f26ed3f4b07686f85d3606bf081e56dc3198fd1f24a5cb12b06 +size 212687 diff --git a/portfolio/gtfs_digest/district_02-redding/03__03_report__district_02-redding__organization_name_shasta-county.ipynb b/portfolio/gtfs_digest/district_02-redding/03__03_report__district_02-redding__organization_name_shasta-county.ipynb index be6e4bf0a..379da560d 100644 --- a/portfolio/gtfs_digest/district_02-redding/03__03_report__district_02-redding__organization_name_shasta-county.ipynb +++ b/portfolio/gtfs_digest/district_02-redding/03__03_report__district_02-redding__organization_name_shasta-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:78f1f74df2887544b7f70c78bdb1c955d58ae74d102a8bcb911d1a85c8f06860 -size 7545237 +oid sha256:fe4d1e257a6fc9da9d71f9915e51408d515a75df399ef2eaf0d754e74cedb323 +size 6163393 diff --git a/portfolio/gtfs_digest/district_02-redding/04__03_report__district_02-redding__organization_name_siskiyou-county.ipynb b/portfolio/gtfs_digest/district_02-redding/04__03_report__district_02-redding__organization_name_siskiyou-county.ipynb index 8188fef3d..1103bb717 100644 --- a/portfolio/gtfs_digest/district_02-redding/04__03_report__district_02-redding__organization_name_siskiyou-county.ipynb +++ b/portfolio/gtfs_digest/district_02-redding/04__03_report__district_02-redding__organization_name_siskiyou-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2a2fc33176d236ca0724042e0ed4b882ee091f96559ee991f6763add380f477c -size 704041 +oid sha256:c7c31e1d26634af3b254ed760fec0c028b995d3ee38b7460acd4d2535c0ebd8d +size 703710 diff --git a/portfolio/gtfs_digest/district_02-redding/05__03_report__district_02-redding__organization_name_tehama-county.ipynb b/portfolio/gtfs_digest/district_02-redding/05__03_report__district_02-redding__organization_name_tehama-county.ipynb index a40758c73..53c102327 100644 --- a/portfolio/gtfs_digest/district_02-redding/05__03_report__district_02-redding__organization_name_tehama-county.ipynb +++ b/portfolio/gtfs_digest/district_02-redding/05__03_report__district_02-redding__organization_name_tehama-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f5c2b3d9dfaa69fa96b32ad23886d856d69cb8be1089d023db3b48d740c1c715 -size 476995 +oid sha256:f9889c11fd0fe33d681add566a3cadcc5e8d4da53d2c9aa32cb15b27af5447f1 +size 476666 diff --git a/portfolio/gtfs_digest/district_02-redding/06__03_report__district_02-redding__organization_name_trinity-county.ipynb b/portfolio/gtfs_digest/district_02-redding/06__03_report__district_02-redding__organization_name_trinity-county.ipynb index cc0c44c18..4423832b6 100644 --- a/portfolio/gtfs_digest/district_02-redding/06__03_report__district_02-redding__organization_name_trinity-county.ipynb +++ b/portfolio/gtfs_digest/district_02-redding/06__03_report__district_02-redding__organization_name_trinity-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7e0b5938ef909932bf197cdc3e6bd8ad896e056bf78a338efa31ea39c4e17f57 -size 324975 +oid sha256:b0994e49a7de372d36bceb8408f49f274d9bcca3a6dcfa814d127085a8b19aa4 +size 324644 diff --git a/portfolio/gtfs_digest/district_03-marysville/00__03_report__district_03-marysville__organization_name_amtrak.ipynb b/portfolio/gtfs_digest/district_03-marysville/00__03_report__district_03-marysville__organization_name_amtrak.ipynb index e24155a17..9ed69f9b6 100644 --- a/portfolio/gtfs_digest/district_03-marysville/00__03_report__district_03-marysville__organization_name_amtrak.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/00__03_report__district_03-marysville__organization_name_amtrak.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ebe161cdb3c22a8fa3c119c7f6ff39b587df28497dabd924557869067081f11f -size 82250 +oid sha256:7481440bb7f07456beaa272dfa9e8f5b755b289f7796825ee9cd5d1a0c53e25a +size 81913 diff --git a/portfolio/gtfs_digest/district_03-marysville/01__03_report__district_03-marysville__organization_name_butte-county-association-of-governments.ipynb b/portfolio/gtfs_digest/district_03-marysville/01__03_report__district_03-marysville__organization_name_butte-county-association-of-governments.ipynb index 264a6b3ad..ce6fb0bb8 100644 --- a/portfolio/gtfs_digest/district_03-marysville/01__03_report__district_03-marysville__organization_name_butte-county-association-of-governments.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/01__03_report__district_03-marysville__organization_name_butte-county-association-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:75cac9548ee9cfeb82e78888f82d50a811478d1c8499e249b3d0d19ecfdce462 -size 5481660 +oid sha256:e94479c4d7465f0c9bc3ca13702124e9910286f3dca99ef65f1afb6ffe4fe793 +size 4259275 diff --git a/portfolio/gtfs_digest/district_03-marysville/02__03_report__district_03-marysville__organization_name_city-of-auburn.ipynb b/portfolio/gtfs_digest/district_03-marysville/02__03_report__district_03-marysville__organization_name_city-of-auburn.ipynb index 0ebb506c6..2299786e9 100644 --- a/portfolio/gtfs_digest/district_03-marysville/02__03_report__district_03-marysville__organization_name_city-of-auburn.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/02__03_report__district_03-marysville__organization_name_city-of-auburn.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4529532daf122070f4ab7fce1a6a1109720647895f240854c34f499866c8beee -size 131371 +oid sha256:4325c32c7b616494194873d237e32542fa6e0123704a22f196d2e659e70b8f6d +size 131031 diff --git a/portfolio/gtfs_digest/district_03-marysville/03__03_report__district_03-marysville__organization_name_city-of-elk-grove.ipynb b/portfolio/gtfs_digest/district_03-marysville/03__03_report__district_03-marysville__organization_name_city-of-elk-grove.ipynb index dc7a371b5..9a595b793 100644 --- a/portfolio/gtfs_digest/district_03-marysville/03__03_report__district_03-marysville__organization_name_city-of-elk-grove.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/03__03_report__district_03-marysville__organization_name_city-of-elk-grove.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3e6a7504adf503530273a631f045e7da552f1618c66ed6022f49f45d3c8a1447 -size 9257086 +oid sha256:93778307f826c31c0e13da00379568c117a3cc2dfea9fde46aaf5908db576e5c +size 7737121 diff --git a/portfolio/gtfs_digest/district_03-marysville/04__03_report__district_03-marysville__organization_name_city-of-rancho-cordova.ipynb b/portfolio/gtfs_digest/district_03-marysville/04__03_report__district_03-marysville__organization_name_city-of-rancho-cordova.ipynb index d0d2aa162..c12af85ec 100644 --- a/portfolio/gtfs_digest/district_03-marysville/04__03_report__district_03-marysville__organization_name_city-of-rancho-cordova.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/04__03_report__district_03-marysville__organization_name_city-of-rancho-cordova.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:86797b6c522b9c71b00428886d8754d42e96538e279a3d082d9c2f8538b333b3 -size 19029586 +oid sha256:268c601618170a4ac1c14e649637bae2fb766df73c55ef1dc6e6f876cf1b1180 +size 15414012 diff --git a/portfolio/gtfs_digest/district_03-marysville/05__03_report__district_03-marysville__organization_name_city-of-roseville.ipynb b/portfolio/gtfs_digest/district_03-marysville/05__03_report__district_03-marysville__organization_name_city-of-roseville.ipynb index 5cc42c2c4..a9247a05b 100644 --- a/portfolio/gtfs_digest/district_03-marysville/05__03_report__district_03-marysville__organization_name_city-of-roseville.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/05__03_report__district_03-marysville__organization_name_city-of-roseville.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0b02358da9cfbf3c0a7b1ce5e58fb4e6fd2b8bd1ce7d32fe63dd758303aa19dd -size 6084327 +oid sha256:e1e0eb4c1310187cb07907e8a677ee85fd796cc82eab0fb469be53eba3c4988e +size 645889 diff --git a/portfolio/gtfs_digest/district_03-marysville/06__03_report__district_03-marysville__organization_name_el-dorado-county-transit-authority.ipynb b/portfolio/gtfs_digest/district_03-marysville/06__03_report__district_03-marysville__organization_name_el-dorado-county-transit-authority.ipynb index 16c5728b0..44798ee36 100644 --- a/portfolio/gtfs_digest/district_03-marysville/06__03_report__district_03-marysville__organization_name_el-dorado-county-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/06__03_report__district_03-marysville__organization_name_el-dorado-county-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7d1838c0835e4a2db50c5decdb2328714df8d53712c4625477df51c10f9e6697 -size 349517 +oid sha256:9ea597f56e6a617ee79f47629ab04ee7c91d9b36099baf0c009a245b39cafe8d +size 374777 diff --git a/portfolio/gtfs_digest/district_03-marysville/07__03_report__district_03-marysville__organization_name_glenn-county.ipynb b/portfolio/gtfs_digest/district_03-marysville/07__03_report__district_03-marysville__organization_name_glenn-county.ipynb index 08b65c758..93cd2c433 100644 --- a/portfolio/gtfs_digest/district_03-marysville/07__03_report__district_03-marysville__organization_name_glenn-county.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/07__03_report__district_03-marysville__organization_name_glenn-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c6ebc7eed3d2d8298250f1641b8a415eac1a1317d89a8e8db5311d9e807c13ef -size 107974 +oid sha256:e5cf1256f1b178f03823e12f2bc004f334e055edc816b70883bf973e2f604958 +size 107637 diff --git a/portfolio/gtfs_digest/district_03-marysville/08__03_report__district_03-marysville__organization_name_nevada-county.ipynb b/portfolio/gtfs_digest/district_03-marysville/08__03_report__district_03-marysville__organization_name_nevada-county.ipynb index 9c9ef6c26..0b4c4ee48 100644 --- a/portfolio/gtfs_digest/district_03-marysville/08__03_report__district_03-marysville__organization_name_nevada-county.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/08__03_report__district_03-marysville__organization_name_nevada-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:88b7c876f43efbd8517a9a67e37891318f6313bd718fd92f49e86220b657238a -size 4028294 +oid sha256:3e942faf6b484aa1bef8a88fa76ed42f9ac40abb2ef368717ec7d568b62cd830 +size 3323499 diff --git a/portfolio/gtfs_digest/district_03-marysville/09__03_report__district_03-marysville__organization_name_north-lake-tahoe-express.ipynb b/portfolio/gtfs_digest/district_03-marysville/09__03_report__district_03-marysville__organization_name_north-lake-tahoe-express.ipynb index 6782032c8..3c38a46ec 100644 --- a/portfolio/gtfs_digest/district_03-marysville/09__03_report__district_03-marysville__organization_name_north-lake-tahoe-express.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/09__03_report__district_03-marysville__organization_name_north-lake-tahoe-express.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d9bbbd046c7d34cdcd97018be1bc76c09ad976b7f48d7fd98fb367bd7d062b0e -size 662086 +oid sha256:1dc2b3e5d498c5bb3b0d070923354b74ec92504844ab3198916e6d784e50f9ee +size 895344 diff --git a/portfolio/gtfs_digest/district_03-marysville/10__03_report__district_03-marysville__organization_name_placer-county.ipynb b/portfolio/gtfs_digest/district_03-marysville/10__03_report__district_03-marysville__organization_name_placer-county.ipynb index e4c482186..ae53f6ec1 100644 --- a/portfolio/gtfs_digest/district_03-marysville/10__03_report__district_03-marysville__organization_name_placer-county.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/10__03_report__district_03-marysville__organization_name_placer-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bb67f26d757d73adea3cd21d7c75c2df6805b819d5e56d90d3544f8328165e23 -size 471308 +oid sha256:900035837552433f7444ca5a999dc1ce83b6e255cdbc2ab6c9ee7a6e32792bd3 +size 470973 diff --git a/portfolio/gtfs_digest/district_03-marysville/11__03_report__district_03-marysville__organization_name_sacramento-county.ipynb b/portfolio/gtfs_digest/district_03-marysville/11__03_report__district_03-marysville__organization_name_sacramento-county.ipynb index 783d0b251..b20fb40ac 100644 --- a/portfolio/gtfs_digest/district_03-marysville/11__03_report__district_03-marysville__organization_name_sacramento-county.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/11__03_report__district_03-marysville__organization_name_sacramento-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f732e879079e9e37944e45c057cf6b3bb49ddb5c524889eb1e9c04242a3dfa17 -size 297207 +oid sha256:52d9e4acaf8a8e7b5b61cf266fe72847d6a69670b7dfaced8245ed626370c12a +size 296872 diff --git a/portfolio/gtfs_digest/district_03-marysville/12__03_report__district_03-marysville__organization_name_tahoe-transportation-district.ipynb b/portfolio/gtfs_digest/district_03-marysville/12__03_report__district_03-marysville__organization_name_tahoe-transportation-district.ipynb index 5f40fdcd4..d48f5e307 100644 --- a/portfolio/gtfs_digest/district_03-marysville/12__03_report__district_03-marysville__organization_name_tahoe-transportation-district.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/12__03_report__district_03-marysville__organization_name_tahoe-transportation-district.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1544d8783589f77a80a6ef2ca6dce5da224f16bca3f79560fd82a8fba508efcc -size 2729853 +oid sha256:a3bedffa029d3ac7ecfd5de7297d35582c0ac97cbfd155be3112d5a571507d66 +size 2341235 diff --git a/portfolio/gtfs_digest/district_03-marysville/13__03_report__district_03-marysville__organization_name_university-of-california-davis.ipynb b/portfolio/gtfs_digest/district_03-marysville/13__03_report__district_03-marysville__organization_name_university-of-california-davis.ipynb index f8d11781b..e269ed149 100644 --- a/portfolio/gtfs_digest/district_03-marysville/13__03_report__district_03-marysville__organization_name_university-of-california-davis.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/13__03_report__district_03-marysville__organization_name_university-of-california-davis.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2d92f514f90a45320ae3baf61aa4c0909263185ef59bc5568f1e6c151d0083f5 -size 9693187 +oid sha256:98007be16ef85cab26d36a7a04fd5be31ab8842d45287df57c4079cc68c3f2e5 +size 7990827 diff --git a/portfolio/gtfs_digest/district_03-marysville/14__03_report__district_03-marysville__organization_name_yolo-county-transportation-district.ipynb b/portfolio/gtfs_digest/district_03-marysville/14__03_report__district_03-marysville__organization_name_yolo-county-transportation-district.ipynb index 3c7242d4f..3c61f95cc 100644 --- a/portfolio/gtfs_digest/district_03-marysville/14__03_report__district_03-marysville__organization_name_yolo-county-transportation-district.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/14__03_report__district_03-marysville__organization_name_yolo-county-transportation-district.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:756546e801c5fa79ac0500c2f69f41a33216aa9ec0671f1b455c20c276da0730 -size 4975516 +oid sha256:4e2432d78f21e25c6462eaeeef5ee94c362aef46436aa0435f6fccbbaa84290f +size 4136409 diff --git a/portfolio/gtfs_digest/district_03-marysville/15__03_report__district_03-marysville__organization_name_yuba-sutter-transit-authority.ipynb b/portfolio/gtfs_digest/district_03-marysville/15__03_report__district_03-marysville__organization_name_yuba-sutter-transit-authority.ipynb index 759ce8a69..b33671a9e 100644 --- a/portfolio/gtfs_digest/district_03-marysville/15__03_report__district_03-marysville__organization_name_yuba-sutter-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_03-marysville/15__03_report__district_03-marysville__organization_name_yuba-sutter-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dcac29825c85d6d3fbd2e8bbae2955ab1612f71145d5002edafeaa42273c5d60 -size 312131 +oid sha256:99030fed774e69dff75ad91c1bd9ce90c3b39749ed0d2ef953570b0819855d2b +size 310989 diff --git a/portfolio/gtfs_digest/district_04-oakland/00__03_report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb b/portfolio/gtfs_digest/district_04-oakland/00__03_report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb index c0a2819d0..427d2397e 100644 --- a/portfolio/gtfs_digest/district_04-oakland/00__03_report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/00__03_report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:74a642af1acdb33524839fd80187f6436f8184a75e74f0dcb49234a22e615ab1 -size 61952743 +oid sha256:278e8de291ffb8089e0a17386448673735652c9b2af8785f46ec79159d3b17b3 +size 50907408 diff --git a/portfolio/gtfs_digest/district_04-oakland/01__03_report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/01__03_report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb index 16a54496f..51b6c506a 100644 --- a/portfolio/gtfs_digest/district_04-oakland/01__03_report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/01__03_report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:452b0592b6943ee8f28d2a4e755464577d76b437b5050c8c9af29463c4fe9eaa -size 147156 +oid sha256:0aac085667ab928f3aa9a9deb6bcfa499313416ba4f33fd17180c24d1b0f1684 +size 146819 diff --git a/portfolio/gtfs_digest/district_04-oakland/02__03_report__district_04-oakland__organization_name_central-contra-costa-transit-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/02__03_report__district_04-oakland__organization_name_central-contra-costa-transit-authority.ipynb index 19ce22b26..f4eb1c6f5 100644 --- a/portfolio/gtfs_digest/district_04-oakland/02__03_report__district_04-oakland__organization_name_central-contra-costa-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/02__03_report__district_04-oakland__organization_name_central-contra-costa-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c9e393a063d499ab573dfe8ff061b3c2277310f095cf42ee5596be1380b9470c -size 25110076 +oid sha256:d385c2174c819143ab4d5fc8c846539cf58dabc5726b7d87494afd27cf0abcc8 +size 20868369 diff --git a/portfolio/gtfs_digest/district_04-oakland/03__03_report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb b/portfolio/gtfs_digest/district_04-oakland/03__03_report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb index 3325c5779..107de20a1 100644 --- a/portfolio/gtfs_digest/district_04-oakland/03__03_report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/03__03_report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:45db201fa392ce30b9f29c5568c6fbecc5f5cf4a936f188da2eca1918e079fda -size 37194217 +oid sha256:405addceb067a37bdd4d0efd22f50dc1bdd3dd2c2b50c2eb326d9fa174715f6f +size 29637704 diff --git a/portfolio/gtfs_digest/district_04-oakland/04__03_report__district_04-oakland__organization_name_city-of-fairfield.ipynb b/portfolio/gtfs_digest/district_04-oakland/04__03_report__district_04-oakland__organization_name_city-of-fairfield.ipynb index 4c47260b2..e560d8873 100644 --- a/portfolio/gtfs_digest/district_04-oakland/04__03_report__district_04-oakland__organization_name_city-of-fairfield.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/04__03_report__district_04-oakland__organization_name_city-of-fairfield.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e090b51101cc716adf69cee975fcaa118a420133106d0320d93ff3dd4c2f3e45 -size 4067914 +oid sha256:99c0795a59a8fd7372a32c155d1c287035ca4e0cacaa9fb15e697a42b6e1371c +size 3270336 diff --git a/portfolio/gtfs_digest/district_04-oakland/05__03_report__district_04-oakland__organization_name_city-of-menlo-park.ipynb b/portfolio/gtfs_digest/district_04-oakland/05__03_report__district_04-oakland__organization_name_city-of-menlo-park.ipynb index ec76d729b..b78f60fce 100644 --- a/portfolio/gtfs_digest/district_04-oakland/05__03_report__district_04-oakland__organization_name_city-of-menlo-park.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/05__03_report__district_04-oakland__organization_name_city-of-menlo-park.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1aeb24f2371d78b5422af07037894d3efd3228ffdb308b440220ce5b63b5e446 -size 522500 +oid sha256:284b97dc8a1aaee4ea0a0816a75045c1637ae9dcf28d32c7678f4c18a12b9568 +size 522156 diff --git a/portfolio/gtfs_digest/district_04-oakland/06__03_report__district_04-oakland__organization_name_city-of-petaluma.ipynb b/portfolio/gtfs_digest/district_04-oakland/06__03_report__district_04-oakland__organization_name_city-of-petaluma.ipynb index b27a1fb1d..44a18c703 100644 --- a/portfolio/gtfs_digest/district_04-oakland/06__03_report__district_04-oakland__organization_name_city-of-petaluma.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/06__03_report__district_04-oakland__organization_name_city-of-petaluma.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:35971db014f2854bb587dcdf6ae08bc5821a1fb43c39411768176ac60590849f -size 3398052 +oid sha256:e4b159d6789afabd5da990de8281948bbfeae5bd0fc9d97823e19ef3a22f0077 +size 2783981 diff --git a/portfolio/gtfs_digest/district_04-oakland/07__03_report__district_04-oakland__organization_name_city-of-rio-vista.ipynb b/portfolio/gtfs_digest/district_04-oakland/07__03_report__district_04-oakland__organization_name_city-of-rio-vista.ipynb index 74718c395..152a16bc4 100644 --- a/portfolio/gtfs_digest/district_04-oakland/07__03_report__district_04-oakland__organization_name_city-of-rio-vista.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/07__03_report__district_04-oakland__organization_name_city-of-rio-vista.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c3a33623de3d3a3329cfa2e030480b12987b56084fe0d2ac267d6d7cab5ef65f -size 107467 +oid sha256:7e1e8333fd5db51454b41e966fa6ef3124d6a7cbb1adf2acc09b70746395b290 +size 107137 diff --git a/portfolio/gtfs_digest/district_04-oakland/08__03_report__district_04-oakland__organization_name_city-of-santa-rosa.ipynb b/portfolio/gtfs_digest/district_04-oakland/08__03_report__district_04-oakland__organization_name_city-of-santa-rosa.ipynb index 2bddfe042..cd8032f88 100644 --- a/portfolio/gtfs_digest/district_04-oakland/08__03_report__district_04-oakland__organization_name_city-of-santa-rosa.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/08__03_report__district_04-oakland__organization_name_city-of-santa-rosa.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ec96dc4157482446309e7efad2f8076e46cf8090f396f74839ef1d28ff353140 -size 5403845 +oid sha256:8b5446710de38daea2b83b21ab7fe9cd7b80ab105ed7158c98ba94f1898341d8 +size 4453351 diff --git a/portfolio/gtfs_digest/district_04-oakland/09__03_report__district_04-oakland__organization_name_city-of-south-san-francisco.ipynb b/portfolio/gtfs_digest/district_04-oakland/09__03_report__district_04-oakland__organization_name_city-of-south-san-francisco.ipynb index 4ac0ac73e..0a46324a2 100644 --- a/portfolio/gtfs_digest/district_04-oakland/09__03_report__district_04-oakland__organization_name_city-of-south-san-francisco.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/09__03_report__district_04-oakland__organization_name_city-of-south-san-francisco.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5e582bee8ff4186628e26b54d7c1cafd2325185b1f477f8a37be08699737a65d -size 128840 +oid sha256:09d63a47f5e8c068124466f6926a309b83c19fda89bd4d74da35aa33e462c6bd +size 128505 diff --git a/portfolio/gtfs_digest/district_04-oakland/10__03_report__district_04-oakland__organization_name_city-of-union-city.ipynb b/portfolio/gtfs_digest/district_04-oakland/10__03_report__district_04-oakland__organization_name_city-of-union-city.ipynb index 15686d075..ec0a28045 100644 --- a/portfolio/gtfs_digest/district_04-oakland/10__03_report__district_04-oakland__organization_name_city-of-union-city.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/10__03_report__district_04-oakland__organization_name_city-of-union-city.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:997e896eef16447225ceb133078c1da1577114093c10979351af8526bedfe943 -size 3136539 +oid sha256:10f5109b5cb8b5c81dbdf5295b26fd54da3eb3907b347dfbf5454c6163042480 +size 2525500 diff --git a/portfolio/gtfs_digest/district_04-oakland/11__03_report__district_04-oakland__organization_name_city-of-vacaville.ipynb b/portfolio/gtfs_digest/district_04-oakland/11__03_report__district_04-oakland__organization_name_city-of-vacaville.ipynb index dd441b90d..c3d9c22fc 100644 --- a/portfolio/gtfs_digest/district_04-oakland/11__03_report__district_04-oakland__organization_name_city-of-vacaville.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/11__03_report__district_04-oakland__organization_name_city-of-vacaville.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:deed2c45b9827311e307f0a4c030ea195a93d2c1c23e4666a394a1e6179ae757 -size 206454 +oid sha256:8e397778e7884e3bbc57347f3bc4d95cec61dfa09c8b45308ace2cc1876f4908 +size 205310 diff --git a/portfolio/gtfs_digest/district_04-oakland/12__03_report__district_04-oakland__organization_name_cloverdale-transit.ipynb b/portfolio/gtfs_digest/district_04-oakland/12__03_report__district_04-oakland__organization_name_cloverdale-transit.ipynb deleted file mode 100644 index 82040372f..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/12__03_report__district_04-oakland__organization_name_cloverdale-transit.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:26a76bac8593fdfc01d9d584f648b7c262a4028c5d985859c220040c6e4e76f9 -size 5804246 diff --git a/portfolio/gtfs_digest/district_04-oakland/12__03_report__district_04-oakland__organization_name_eastern-contra-costa-transit-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/12__03_report__district_04-oakland__organization_name_eastern-contra-costa-transit-authority.ipynb new file mode 100644 index 000000000..956b9c0bc --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/12__03_report__district_04-oakland__organization_name_eastern-contra-costa-transit-authority.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9f3e00d158e4349e89d3de53587856451bd2c0c07c2e979d5f96578d2ab02db +size 8569480 diff --git a/portfolio/gtfs_digest/district_04-oakland/13__03_report__district_04-oakland__organization_name_eastern-contra-costa-transit-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/13__03_report__district_04-oakland__organization_name_eastern-contra-costa-transit-authority.ipynb deleted file mode 100644 index 24813dd5b..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/13__03_report__district_04-oakland__organization_name_eastern-contra-costa-transit-authority.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bc38562b082c5803928eb1693a66e8af8f759335a0b7fe2450a9b67d4ce18a71 -size 10470870 diff --git a/portfolio/gtfs_digest/district_04-oakland/13__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb b/portfolio/gtfs_digest/district_04-oakland/13__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb new file mode 100644 index 000000000..9342e4441 --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/13__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21c25cde03444eb8832a31a6fb4477f7156f67104744dc27459cddfd534a498a +size 441041 diff --git a/portfolio/gtfs_digest/district_04-oakland/14__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb b/portfolio/gtfs_digest/district_04-oakland/14__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb deleted file mode 100644 index 474d32161..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/14__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce099c0c7f8e7249184b8ee1e1b46771b3c100254ac3a2fb9c6de286891c03ef -size 486285 diff --git a/portfolio/gtfs_digest/district_04-oakland/14__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/14__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb new file mode 100644 index 000000000..992b1626d --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/14__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c8e7a87a0e073930832deaaa1453caa20519b2b98cb724731f5b6fe18f3905f +size 9470937 diff --git a/portfolio/gtfs_digest/district_04-oakland/15__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/15__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb deleted file mode 100644 index f008fa647..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/15__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:67e756d4289ea953a57b54a3c0f9b647da7213162649c9243a05a05a8183298b -size 11728687 diff --git a/portfolio/gtfs_digest/district_04-oakland/15__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb b/portfolio/gtfs_digest/district_04-oakland/15__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb new file mode 100644 index 000000000..07fc6d80c --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/15__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:451576b019eaac0b5daae26128c877855accf5fb84098fab77a0196f0d41c649 +size 9241166 diff --git a/portfolio/gtfs_digest/district_04-oakland/16__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb b/portfolio/gtfs_digest/district_04-oakland/16__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb deleted file mode 100644 index 58c2f8d8b..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/16__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c2d27417d47966e3452ae217d5071a47c8ee4ab7754d460e3cdc3f8bf5807e27 -size 11218611 diff --git a/portfolio/gtfs_digest/district_04-oakland/16__03_report__district_04-oakland__organization_name_mission-bay-transportation-management-agency.ipynb b/portfolio/gtfs_digest/district_04-oakland/16__03_report__district_04-oakland__organization_name_mission-bay-transportation-management-agency.ipynb new file mode 100644 index 000000000..74af40314 --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/16__03_report__district_04-oakland__organization_name_mission-bay-transportation-management-agency.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fd4c08c1cc388e2d4441b4dafa3541a966e3d97cbc249e0385cbd3b6c4cac82 +size 135860 diff --git a/portfolio/gtfs_digest/district_04-oakland/17__03_report__district_04-oakland__organization_name_mission-bay-transportation-management-agency.ipynb b/portfolio/gtfs_digest/district_04-oakland/17__03_report__district_04-oakland__organization_name_mission-bay-transportation-management-agency.ipynb deleted file mode 100644 index e1fec8d7a..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/17__03_report__district_04-oakland__organization_name_mission-bay-transportation-management-agency.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b74ef455c622e3bdc0bdd9dd8d42a998dd975e1c9bbba4dfa98defc7a9e6f1d -size 136202 diff --git a/portfolio/gtfs_digest/district_04-oakland/17__03_report__district_04-oakland__organization_name_mountain-view-transportation-management-association.ipynb b/portfolio/gtfs_digest/district_04-oakland/17__03_report__district_04-oakland__organization_name_mountain-view-transportation-management-association.ipynb new file mode 100644 index 000000000..a7174194c --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/17__03_report__district_04-oakland__organization_name_mountain-view-transportation-management-association.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c1689868aee82802a563734d8cd61f65d3aa5d0974f9699efa0f732f4587322 +size 1692835 diff --git a/portfolio/gtfs_digest/district_04-oakland/18__03_report__district_04-oakland__organization_name_mountain-view-transportation-management-association.ipynb b/portfolio/gtfs_digest/district_04-oakland/18__03_report__district_04-oakland__organization_name_mountain-view-transportation-management-association.ipynb deleted file mode 100644 index f541e2f2d..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/18__03_report__district_04-oakland__organization_name_mountain-view-transportation-management-association.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7b894a814d730e84fd01932059645067190e06fa9795a9c5c3eb1108f7c6dc53 -size 1830219 diff --git a/portfolio/gtfs_digest/district_04-oakland/18__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/18__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb new file mode 100644 index 000000000..0dc938901 --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/18__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93f9243b1fe4b67bc39a80af8644d5970aa915a74ec25cbddafedc4b59f24b5c +size 3002763 diff --git a/portfolio/gtfs_digest/district_04-oakland/19__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/19__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb deleted file mode 100644 index a67bcee67..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/19__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9512212c21351e39020230051572a98dc46e811f465618095974c244d01a44d2 -size 3781360 diff --git a/portfolio/gtfs_digest/district_04-oakland/19__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb b/portfolio/gtfs_digest/district_04-oakland/19__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb new file mode 100644 index 000000000..bd9b2f922 --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/19__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a27d0fdb01d66edc6fdac843eae360ffd81d5e664c2b8a051cf5390df25ddbc2 +size 2443416 diff --git a/portfolio/gtfs_digest/district_04-oakland/20__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb b/portfolio/gtfs_digest/district_04-oakland/20__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb deleted file mode 100644 index f811b0ba8..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/20__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:727657a9c99d8efdee68306d166f32cb3a45c89ec532054baf233d0873612513 -size 3036029 diff --git a/portfolio/gtfs_digest/district_04-oakland/20__03_report__district_04-oakland__organization_name_presidio-trust.ipynb b/portfolio/gtfs_digest/district_04-oakland/20__03_report__district_04-oakland__organization_name_presidio-trust.ipynb new file mode 100644 index 000000000..803b3607d --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/20__03_report__district_04-oakland__organization_name_presidio-trust.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce5829dc1f582ea0e0ed739b0a36da65ed4bed7502d1d5b874b224bf51d5215b +size 747907 diff --git a/portfolio/gtfs_digest/district_04-oakland/21__03_report__district_04-oakland__organization_name_presidio-trust.ipynb b/portfolio/gtfs_digest/district_04-oakland/21__03_report__district_04-oakland__organization_name_presidio-trust.ipynb deleted file mode 100644 index 81bef2c2c..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/21__03_report__district_04-oakland__organization_name_presidio-trust.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eaa500adfc71c5668715ced091a2a8ead0b8b5fb9d3a5282d2df979b79d43c21 -size 853725 diff --git a/portfolio/gtfs_digest/district_04-oakland/21__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb b/portfolio/gtfs_digest/district_04-oakland/21__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb new file mode 100644 index 000000000..538368d3f --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/21__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80ee23ce0f9c150da8d12f9371ed8ce4cbdc278cd1e504c0d91c8ebb1d4a2beb +size 782561 diff --git a/portfolio/gtfs_digest/district_04-oakland/22__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb b/portfolio/gtfs_digest/district_04-oakland/22__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb deleted file mode 100644 index dda058fd4..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/22__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb2db682fad79b266a56b8b33d1091c053a9a7d489050e92978434f6b9466ab4 -size 783722 diff --git a/portfolio/gtfs_digest/district_04-oakland/22__03_report__district_04-oakland__organization_name_san-francisco-international-airport.ipynb b/portfolio/gtfs_digest/district_04-oakland/22__03_report__district_04-oakland__organization_name_san-francisco-international-airport.ipynb new file mode 100644 index 000000000..df974d501 --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/22__03_report__district_04-oakland__organization_name_san-francisco-international-airport.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84525c5562736a97c7a98426d1072345442e9c6c184e6871c2840fd17c3f5f57 +size 102701 diff --git a/portfolio/gtfs_digest/district_04-oakland/23__03_report__district_04-oakland__organization_name_san-francisco-international-airport.ipynb b/portfolio/gtfs_digest/district_04-oakland/23__03_report__district_04-oakland__organization_name_san-francisco-international-airport.ipynb deleted file mode 100644 index fbb6ed2ea..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/23__03_report__district_04-oakland__organization_name_san-francisco-international-airport.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:782a5627ddfbfac48a7b61c4ea9a0378ad97721d516b39114f3ad95aeb927893 -size 103035 diff --git a/portfolio/gtfs_digest/district_04-oakland/23__03_report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb b/portfolio/gtfs_digest/district_04-oakland/23__03_report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb new file mode 100644 index 000000000..1db34bd5a --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/23__03_report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3a0fcf6a5a2d59e1a99d5a4be02ec9569756df235436026be7727b5f8b0dd67 +size 26097521 diff --git a/portfolio/gtfs_digest/district_04-oakland/24__03_report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb b/portfolio/gtfs_digest/district_04-oakland/24__03_report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb deleted file mode 100644 index 3774eac26..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/24__03_report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:249253dcd40c1be4dcd24b3c92355d60500dff0736a300c7c6797857def6b837 -size 33126668 diff --git a/portfolio/gtfs_digest/district_04-oakland/24__03_report__district_04-oakland__organization_name_santa-clara-valley-transportation-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/24__03_report__district_04-oakland__organization_name_santa-clara-valley-transportation-authority.ipynb new file mode 100644 index 000000000..e16859022 --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/24__03_report__district_04-oakland__organization_name_santa-clara-valley-transportation-authority.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2f46861c3b0c9759d6bf2bcf29b258a1ca49d71801400f226f14bc2fc9a70d9 +size 35276139 diff --git a/portfolio/gtfs_digest/district_04-oakland/25__03_report__district_04-oakland__organization_name_santa-clara-valley-transportation-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/25__03_report__district_04-oakland__organization_name_santa-clara-valley-transportation-authority.ipynb deleted file mode 100644 index 03ee34314..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/25__03_report__district_04-oakland__organization_name_santa-clara-valley-transportation-authority.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7e4a4900f62e5fe4ca97bfd042a08b0269d696be4ca33688759c4cbcc8e6eb5 -size 42310113 diff --git a/portfolio/gtfs_digest/district_04-oakland/25__03_report__district_04-oakland__organization_name_solano-county-transit.ipynb b/portfolio/gtfs_digest/district_04-oakland/25__03_report__district_04-oakland__organization_name_solano-county-transit.ipynb new file mode 100644 index 000000000..413aedeec --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/25__03_report__district_04-oakland__organization_name_solano-county-transit.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd36b4a2d8dca24c5c41dc0d13a687b206771ada45672ffc3ad0b228f5117fbf +size 1509520 diff --git a/portfolio/gtfs_digest/district_04-oakland/26__03_report__district_04-oakland__organization_name_solano-county-transit.ipynb b/portfolio/gtfs_digest/district_04-oakland/26__03_report__district_04-oakland__organization_name_solano-county-transit.ipynb deleted file mode 100644 index da98402fe..000000000 --- a/portfolio/gtfs_digest/district_04-oakland/26__03_report__district_04-oakland__organization_name_solano-county-transit.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d53aa74ac29e5764459572cbeda1e8b93e84b2a688fc4cd6ba421e0eba305cfe -size 1438440 diff --git a/portfolio/gtfs_digest/district_04-oakland/26__03_report__district_04-oakland__organization_name_sonoma-county.ipynb b/portfolio/gtfs_digest/district_04-oakland/26__03_report__district_04-oakland__organization_name_sonoma-county.ipynb new file mode 100644 index 000000000..4d34848cd --- /dev/null +++ b/portfolio/gtfs_digest/district_04-oakland/26__03_report__district_04-oakland__organization_name_sonoma-county.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09fbf4c0ba92786ad1acf2e76dcbbf1ad603e456979892b4fa8c816149e2f72c +size 3445805 diff --git a/portfolio/gtfs_digest/district_04-oakland/27__03_report__district_04-oakland__organization_name_sonoma-marin-area-rail-transit-district.ipynb b/portfolio/gtfs_digest/district_04-oakland/27__03_report__district_04-oakland__organization_name_sonoma-marin-area-rail-transit-district.ipynb index c40cb0dcf..891a600e8 100644 --- a/portfolio/gtfs_digest/district_04-oakland/27__03_report__district_04-oakland__organization_name_sonoma-marin-area-rail-transit-district.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/27__03_report__district_04-oakland__organization_name_sonoma-marin-area-rail-transit-district.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:50be1e9d440d09313d5cb67e93112f6a46b73cfab6f80b7aaade60cf36eee534 -size 782735 +oid sha256:4efc9036db2b2c1b219d5a85b5e72bb37813cffe969da907f80992d31cdb049d +size 650341 diff --git a/portfolio/gtfs_digest/district_04-oakland/28__03_report__district_04-oakland__organization_name_stanford-university.ipynb b/portfolio/gtfs_digest/district_04-oakland/28__03_report__district_04-oakland__organization_name_stanford-university.ipynb index 1adcbaebf..f5b84bda1 100644 --- a/portfolio/gtfs_digest/district_04-oakland/28__03_report__district_04-oakland__organization_name_stanford-university.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/28__03_report__district_04-oakland__organization_name_stanford-university.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c54abbfa04a0dc4e343c7d62ad26b9a597e8c155187aefd524f7c66b85d8d11a -size 250858 +oid sha256:9c1758bca44038616a79acb8481b060607203e4096b77bd097057390871f88f0 +size 250828 diff --git a/portfolio/gtfs_digest/district_04-oakland/29__03_report__district_04-oakland__organization_name_university-of-california-berkeley.ipynb b/portfolio/gtfs_digest/district_04-oakland/29__03_report__district_04-oakland__organization_name_university-of-california-berkeley.ipynb index 74f745383..e5337f8b6 100644 --- a/portfolio/gtfs_digest/district_04-oakland/29__03_report__district_04-oakland__organization_name_university-of-california-berkeley.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/29__03_report__district_04-oakland__organization_name_university-of-california-berkeley.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:89662ca8df60baa10fe6115ea9d80fcc2c402073ee80fcb89a1754bc420c396c -size 1999440 +oid sha256:b57552ee61147a3b5e678af13ef14e93db61645d9af2def82e7142e0ce41f630 +size 1690706 diff --git a/portfolio/gtfs_digest/district_04-oakland/30__03_report__district_04-oakland__organization_name_western-contra-costa-transit-authority.ipynb b/portfolio/gtfs_digest/district_04-oakland/30__03_report__district_04-oakland__organization_name_western-contra-costa-transit-authority.ipynb index e9e2f3021..a354ba613 100644 --- a/portfolio/gtfs_digest/district_04-oakland/30__03_report__district_04-oakland__organization_name_western-contra-costa-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_04-oakland/30__03_report__district_04-oakland__organization_name_western-contra-costa-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1d262310e3d955417f7895509db858f6ed8de3e18b7132aa687f6d6533c863f6 -size 6419629 +oid sha256:6302f327f24fd42c62ba0800659a2643dc8ef4faf60459fa0448422de6730aba +size 5258524 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/00__03_report__district_05-san-luis-obispo__organization_name_city-of-guadalupe.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/00__03_report__district_05-san-luis-obispo__organization_name_city-of-guadalupe.ipynb index fb8683d4e..7425fd463 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/00__03_report__district_05-san-luis-obispo__organization_name_city-of-guadalupe.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/00__03_report__district_05-san-luis-obispo__organization_name_city-of-guadalupe.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6d1d4770067c980950c26e56c6c30ffbac9935fe56e7eb83ca1264740adf1fa9 -size 107933 +oid sha256:6e6836d7630bf0ed2ffda974e73c2fbda85f28260e93e2d2ddd75b3542751244 +size 107601 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/01__03_report__district_05-san-luis-obispo__organization_name_city-of-san-luis-obispo.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/01__03_report__district_05-san-luis-obispo__organization_name_city-of-san-luis-obispo.ipynb index ad4abd30d..62123bf86 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/01__03_report__district_05-san-luis-obispo__organization_name_city-of-san-luis-obispo.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/01__03_report__district_05-san-luis-obispo__organization_name_city-of-san-luis-obispo.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:833314882c5b86f21bbd9084da01b9d50ddc7a201fe707d702415e1d0ff36d30 -size 175768 +oid sha256:a5193f20b51d55ff9dbc8633742982470b0f40b2bb4a021dd8753a3a1fe80d46 +size 174595 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/02__03_report__district_05-san-luis-obispo__organization_name_city-of-santa-maria.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/02__03_report__district_05-san-luis-obispo__organization_name_city-of-santa-maria.ipynb index 10630f5b6..09b51f075 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/02__03_report__district_05-san-luis-obispo__organization_name_city-of-santa-maria.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/02__03_report__district_05-san-luis-obispo__organization_name_city-of-santa-maria.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a3ddecdcc5926270dc54dad85219c839bd43e317cf77dcba1712aa2239a386b3 -size 494684 +oid sha256:55a1d5e95e9c62b1f71fc4b6dbf089a0f3a14521a8066dce185129fec88fb84c +size 428893 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/03__03_report__district_05-san-luis-obispo__organization_name_city-of-solvang.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/03__03_report__district_05-san-luis-obispo__organization_name_city-of-solvang.ipynb index 6401a32f4..87760d742 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/03__03_report__district_05-san-luis-obispo__organization_name_city-of-solvang.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/03__03_report__district_05-san-luis-obispo__organization_name_city-of-solvang.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bbdbdf59fe76c51e1e05c023e5ce3a42e719119d5b0ec8dc5016892847c659f1 -size 907714 +oid sha256:a18a788e7a2ff35dac8d1be3168629b9df489116152abe0b56b4aabfbc13c402 +size 771295 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/04__03_report__district_05-san-luis-obispo__organization_name_monterey-salinas-transit.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/04__03_report__district_05-san-luis-obispo__organization_name_monterey-salinas-transit.ipynb index 5a5b12568..dcc16afc5 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/04__03_report__district_05-san-luis-obispo__organization_name_monterey-salinas-transit.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/04__03_report__district_05-san-luis-obispo__organization_name_monterey-salinas-transit.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5bafdd4c3a773393f4ba6d57eeb50941e991b5de66d7aa50cf0c6caaf856d0d7 -size 21698463 +oid sha256:f15926f2ddd6ee21089f6c2830c6782cb888eb6c824b80976aa14bf920f6849d +size 17433165 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/05__03_report__district_05-san-luis-obispo__organization_name_san-benito-county-local-transportation-authority.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/05__03_report__district_05-san-luis-obispo__organization_name_san-benito-county-local-transportation-authority.ipynb index d7752b9b7..2b74f99c9 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/05__03_report__district_05-san-luis-obispo__organization_name_san-benito-county-local-transportation-authority.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/05__03_report__district_05-san-luis-obispo__organization_name_san-benito-county-local-transportation-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d34fa656439a56e9cd50cbfdcd195acfe5a4c17e9ba3eb3cf3cbd941c7c1a7fb -size 179859 +oid sha256:d5fcd112b6886962a3f4eb0d7169ef9e4afa0a66aaa1ee7ff04c08412fe973e2 +size 179522 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/06__03_report__district_05-san-luis-obispo__organization_name_san-luis-obispo-regional-transit-authority.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/06__03_report__district_05-san-luis-obispo__organization_name_san-luis-obispo-regional-transit-authority.ipynb index b80a284af..3c9205496 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/06__03_report__district_05-san-luis-obispo__organization_name_san-luis-obispo-regional-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/06__03_report__district_05-san-luis-obispo__organization_name_san-luis-obispo-regional-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e3fdf8d382493c7f68f2df34ace3beaadb50370c53011b10badbc2c15f513013 -size 3460545 +oid sha256:0846f26b4daab195b248aa942977727cc6cac276057329b3ec8c1bc20cbd727a +size 3015117 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/07__03_report__district_05-san-luis-obispo__organization_name_santa-barbara-county-association-of-governments.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/07__03_report__district_05-san-luis-obispo__organization_name_santa-barbara-county-association-of-governments.ipynb index f79f032a5..dba6f0381 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/07__03_report__district_05-san-luis-obispo__organization_name_santa-barbara-county-association-of-governments.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/07__03_report__district_05-san-luis-obispo__organization_name_santa-barbara-county-association-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d42acee7c0e3282b6b54533b66e285743c701201078a84c6aad91cc5758b1d6e -size 353014 +oid sha256:67c36596e901650b240a1f04d63e218149b6eb8a1c81e15d160ff36af70c5447 +size 351860 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/08__03_report__district_05-san-luis-obispo__organization_name_santa-barbara-metropolitan-transit-district.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/08__03_report__district_05-san-luis-obispo__organization_name_santa-barbara-metropolitan-transit-district.ipynb index 376eb7059..8178a9d84 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/08__03_report__district_05-san-luis-obispo__organization_name_santa-barbara-metropolitan-transit-district.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/08__03_report__district_05-san-luis-obispo__organization_name_santa-barbara-metropolitan-transit-district.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c912daa404b032c7f6b861b8a68b962a66f8e362165ff247ffe7a2427f02adb7 -size 15149128 +oid sha256:f84873e8cc28601baf14b26d94eb3e2e51143692a2c6d69b9b94c12ee7c6c8aa +size 12293622 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/09__03_report__district_05-san-luis-obispo__organization_name_santa-cruz-metropolitan-transit-district.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/09__03_report__district_05-san-luis-obispo__organization_name_santa-cruz-metropolitan-transit-district.ipynb index 37ebb9190..36503e78d 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/09__03_report__district_05-san-luis-obispo__organization_name_santa-cruz-metropolitan-transit-district.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/09__03_report__district_05-san-luis-obispo__organization_name_santa-cruz-metropolitan-transit-district.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e15e7b8b915787d2bd13f841e4899a8014da11293300ceae610f1442a456ed8e -size 10844986 +oid sha256:cb118ab92bdd1a4073bfb9a0c30445cea6a59564d64a3737a803295c8e27994b +size 9277812 diff --git a/portfolio/gtfs_digest/district_05-san-luis-obispo/10__03_report__district_05-san-luis-obispo__organization_name_university-of-california-santa-cruz.ipynb b/portfolio/gtfs_digest/district_05-san-luis-obispo/10__03_report__district_05-san-luis-obispo__organization_name_university-of-california-santa-cruz.ipynb index 69c29e255..2a43eb64f 100644 --- a/portfolio/gtfs_digest/district_05-san-luis-obispo/10__03_report__district_05-san-luis-obispo__organization_name_university-of-california-santa-cruz.ipynb +++ b/portfolio/gtfs_digest/district_05-san-luis-obispo/10__03_report__district_05-san-luis-obispo__organization_name_university-of-california-santa-cruz.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3bdac641ac834631b4e2b435bee17584fe4763a226c1cff05351be7c1640254f -size 89947 +oid sha256:e085b7947b49d2d9936d00bf50648c1b6de619dc077850fde7fa8b115037c8ed +size 89613 diff --git a/portfolio/gtfs_digest/district_06-fresno/00__03_report__district_06-fresno__organization_name_city-of-arvin.ipynb b/portfolio/gtfs_digest/district_06-fresno/00__03_report__district_06-fresno__organization_name_city-of-arvin.ipynb index a254d94c6..77848368a 100644 --- a/portfolio/gtfs_digest/district_06-fresno/00__03_report__district_06-fresno__organization_name_city-of-arvin.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/00__03_report__district_06-fresno__organization_name_city-of-arvin.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:75cbc1594550beb2d9c2ff6d2e8275d2ababc164819fba3ce2e22a58bd7488da -size 121182 +oid sha256:083cc57e84f3b8e32936a848a00c25bfc6b15155fe5221d6a7b6f35d9257f13b +size 120842 diff --git a/portfolio/gtfs_digest/district_06-fresno/01__03_report__district_06-fresno__organization_name_city-of-clovis.ipynb b/portfolio/gtfs_digest/district_06-fresno/01__03_report__district_06-fresno__organization_name_city-of-clovis.ipynb index eb7b03aed..68ab7948e 100644 --- a/portfolio/gtfs_digest/district_06-fresno/01__03_report__district_06-fresno__organization_name_city-of-clovis.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/01__03_report__district_06-fresno__organization_name_city-of-clovis.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:67eacb40934390886a5534b324d2b47f76a2c5c647ec0d4280d52318251a5ba4 -size 138047 +oid sha256:4b35741f11e30e884d372bc6dbe367801925cd52df86a72acdf49042902888c7 +size 139266 diff --git a/portfolio/gtfs_digest/district_06-fresno/02__03_report__district_06-fresno__organization_name_city-of-delano.ipynb b/portfolio/gtfs_digest/district_06-fresno/02__03_report__district_06-fresno__organization_name_city-of-delano.ipynb index 87da36cbd..01628265f 100644 --- a/portfolio/gtfs_digest/district_06-fresno/02__03_report__district_06-fresno__organization_name_city-of-delano.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/02__03_report__district_06-fresno__organization_name_city-of-delano.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8ba779bd841aed648e1e8641ed98faf27c01dd7401c4e923ec5dffc110486759 -size 117442 +oid sha256:82c4ec086f669592434fb052f3e02cb0824426d13c95024a0d5eae236c2afeed +size 116286 diff --git a/portfolio/gtfs_digest/district_06-fresno/03__03_report__district_06-fresno__organization_name_city-of-fresno.ipynb b/portfolio/gtfs_digest/district_06-fresno/03__03_report__district_06-fresno__organization_name_city-of-fresno.ipynb index 9d7b95f31..89e9bfbf6 100644 --- a/portfolio/gtfs_digest/district_06-fresno/03__03_report__district_06-fresno__organization_name_city-of-fresno.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/03__03_report__district_06-fresno__organization_name_city-of-fresno.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e4e2b47af04c1e1fe9d56cebb0cbe294cc7e15b081b78841cc1594d4287c3324 -size 11044062 +oid sha256:c09a65d739ceaec6edc1c8d9baabd11d723c1a03dce841a58ef1086b1827235a +size 8905497 diff --git a/portfolio/gtfs_digest/district_06-fresno/04__03_report__district_06-fresno__organization_name_city-of-madera.ipynb b/portfolio/gtfs_digest/district_06-fresno/04__03_report__district_06-fresno__organization_name_city-of-madera.ipynb index 0b0b17aaa..dcaf54ce1 100644 --- a/portfolio/gtfs_digest/district_06-fresno/04__03_report__district_06-fresno__organization_name_city-of-madera.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/04__03_report__district_06-fresno__organization_name_city-of-madera.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b784289cf8ecf6ea0003f9d675346d17ea53b2822e9c2b347353febbd8305fc0 -size 198735 +oid sha256:45a60a851c8ef4403446dc1543a7d57b0a55401c4ea66ebbcce3ccbc6950fa29 +size 197594 diff --git a/portfolio/gtfs_digest/district_06-fresno/05__03_report__district_06-fresno__organization_name_city-of-visalia.ipynb b/portfolio/gtfs_digest/district_06-fresno/05__03_report__district_06-fresno__organization_name_city-of-visalia.ipynb index f21db2df0..d214103eb 100644 --- a/portfolio/gtfs_digest/district_06-fresno/05__03_report__district_06-fresno__organization_name_city-of-visalia.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/05__03_report__district_06-fresno__organization_name_city-of-visalia.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b2e42e9b0a06bcdae86663f26a7546efb583419d7e4710af6918401aa5930071 -size 6827275 +oid sha256:65fa765b5799f7d141aeccbb4b87897b99255b12dc3ee0279eb1cb2d0fe70d5e +size 5511800 diff --git a/portfolio/gtfs_digest/district_06-fresno/06__03_report__district_06-fresno__organization_name_fresno-county-rural-transit-agency.ipynb b/portfolio/gtfs_digest/district_06-fresno/06__03_report__district_06-fresno__organization_name_fresno-county-rural-transit-agency.ipynb index 3dd982308..9bd7773f5 100644 --- a/portfolio/gtfs_digest/district_06-fresno/06__03_report__district_06-fresno__organization_name_fresno-county-rural-transit-agency.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/06__03_report__district_06-fresno__organization_name_fresno-county-rural-transit-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e7149f396bf68f36f328928ce2bcfa83a5252e5f209c52a8a242eae50a3f347f -size 188183 +oid sha256:2f5dcd292efe715bdc00d740ce7eb06d0efe140f4d11687b3504471565ca7f74 +size 187851 diff --git a/portfolio/gtfs_digest/district_06-fresno/07__03_report__district_06-fresno__organization_name_golden-empire-transit-district.ipynb b/portfolio/gtfs_digest/district_06-fresno/07__03_report__district_06-fresno__organization_name_golden-empire-transit-district.ipynb index 7abf3ccce..e12874a0f 100644 --- a/portfolio/gtfs_digest/district_06-fresno/07__03_report__district_06-fresno__organization_name_golden-empire-transit-district.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/07__03_report__district_06-fresno__organization_name_golden-empire-transit-district.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a8549579a5434722797567ba850a56ead121d79adcb9b4d0f631b78edb3e2720 -size 11158611 +oid sha256:09e8dfbbb1b107faca8c2a3582d2146a2bb655cdbc4de0b5828cd07c2a052861 +size 9050869 diff --git a/portfolio/gtfs_digest/district_06-fresno/08__03_report__district_06-fresno__organization_name_kern-county.ipynb b/portfolio/gtfs_digest/district_06-fresno/08__03_report__district_06-fresno__organization_name_kern-county.ipynb index 979b629a3..655d3541a 100644 --- a/portfolio/gtfs_digest/district_06-fresno/08__03_report__district_06-fresno__organization_name_kern-county.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/08__03_report__district_06-fresno__organization_name_kern-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:242ee1b6ef7955c85217976a7968c7471d4f35ff7b6612a40502a10a3c0c2a56 -size 748334 +oid sha256:d905782b3c6c19d6bc22591f7ac6e7d0021a4624a2ce14efc6e2a53e9253c2a2 +size 752335 diff --git a/portfolio/gtfs_digest/district_06-fresno/09__03_report__district_06-fresno__organization_name_kings-county-area-public-transit-agency.ipynb b/portfolio/gtfs_digest/district_06-fresno/09__03_report__district_06-fresno__organization_name_kings-county-area-public-transit-agency.ipynb index d7b032033..1f4112a0d 100644 --- a/portfolio/gtfs_digest/district_06-fresno/09__03_report__district_06-fresno__organization_name_kings-county-area-public-transit-agency.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/09__03_report__district_06-fresno__organization_name_kings-county-area-public-transit-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6275f625ba0e3e6d512d183e85453a4aced600d6edfdae5eb9bd00ebb7dea204 -size 4996599 +oid sha256:09800c2e5466fd50750062aca4702b54704995c9928831719fca00ff9c5cf1d7 +size 4149655 diff --git a/portfolio/gtfs_digest/district_06-fresno/10__03_report__district_06-fresno__organization_name_madera-county.ipynb b/portfolio/gtfs_digest/district_06-fresno/10__03_report__district_06-fresno__organization_name_madera-county.ipynb index c2dfc39f6..6e8e84bdf 100644 --- a/portfolio/gtfs_digest/district_06-fresno/10__03_report__district_06-fresno__organization_name_madera-county.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/10__03_report__district_06-fresno__organization_name_madera-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fb3a40794ee87b1d18806448a84bfa2de28388a906c34b799b07a4393e9ff2f5 -size 2515453 +oid sha256:5ce02d2beac4d52f5b075d832a85317b413f30551efa7bcb2e17772ee3b219c7 +size 2056483 diff --git a/portfolio/gtfs_digest/district_06-fresno/11__03_report__district_06-fresno__organization_name_tulare-county-regional-transit-agency.ipynb b/portfolio/gtfs_digest/district_06-fresno/11__03_report__district_06-fresno__organization_name_tulare-county-regional-transit-agency.ipynb index 3b36aea20..2d68b11be 100644 --- a/portfolio/gtfs_digest/district_06-fresno/11__03_report__district_06-fresno__organization_name_tulare-county-regional-transit-agency.ipynb +++ b/portfolio/gtfs_digest/district_06-fresno/11__03_report__district_06-fresno__organization_name_tulare-county-regional-transit-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ef0412fcebb99abf6e9d4cc7eae96e6ae078be5103b495477a5aaf995dccb54f -size 131820 +oid sha256:e8d2f8177ce3a096f1fc3a346d461633cfa54571d6c9cfcec68397488cd40119 +size 131487 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/00__03_report__district_07-los-angeles__organization_name_antelope-valley-transit-authority.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/00__03_report__district_07-los-angeles__organization_name_antelope-valley-transit-authority.ipynb index a768a20df..4b9c87537 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/00__03_report__district_07-los-angeles__organization_name_antelope-valley-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/00__03_report__district_07-los-angeles__organization_name_antelope-valley-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:86e2f36d4b039cf83cce7a6a83c76d44ec367479d6982ac148a42440e4fe7b9d -size 11411878 +oid sha256:645d8d0616898c264d3ef7bb58af66e94b097ed72d60a4c78fd7b2dca7e57b0b +size 9072685 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/01__03_report__district_07-los-angeles__organization_name_city-of-alhambra.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/01__03_report__district_07-los-angeles__organization_name_city-of-alhambra.ipynb index 90f304080..f192ffa32 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/01__03_report__district_07-los-angeles__organization_name_city-of-alhambra.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/01__03_report__district_07-los-angeles__organization_name_city-of-alhambra.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ffb849a58af32b1be58a12164cdd725e9cfea4b401f49e454c5e95347ada2609 -size 120917 +oid sha256:b02e3e97f423413c8e194ddb8c6446480bd8f236b938d6b3561d55989a375b14 +size 119751 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/02__03_report__district_07-los-angeles__organization_name_city-of-arcadia.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/02__03_report__district_07-los-angeles__organization_name_city-of-arcadia.ipynb index 7858c6d7c..db79f22e0 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/02__03_report__district_07-los-angeles__organization_name_city-of-arcadia.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/02__03_report__district_07-los-angeles__organization_name_city-of-arcadia.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:946c6128f4680e81cd25c352d093c7391ccabd57ff2a7ef605f7e9b6502b1267 -size 140429 +oid sha256:1a854bbe1d57fed60b09b1593c4e997a3309b47176d58d739fc85f7b1b6af679 +size 140094 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/03__03_report__district_07-los-angeles__organization_name_city-of-baldwin-park.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/03__03_report__district_07-los-angeles__organization_name_city-of-baldwin-park.ipynb index 42fdc9543..6cb6e38a4 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/03__03_report__district_07-los-angeles__organization_name_city-of-baldwin-park.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/03__03_report__district_07-los-angeles__organization_name_city-of-baldwin-park.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a3b60c30bcfe8dda62b020eaa511c795411b0d3f8658f37772ba9df58cd787d0 -size 165050 +oid sha256:0c3440573f4e16a599b8e05010a84a372a09e3063925f8e8755b07deeec2c29a +size 164714 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/04__03_report__district_07-los-angeles__organization_name_city-of-bell.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/04__03_report__district_07-los-angeles__organization_name_city-of-bell.ipynb index 3cf7afa1b..442733afd 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/04__03_report__district_07-los-angeles__organization_name_city-of-bell.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/04__03_report__district_07-los-angeles__organization_name_city-of-bell.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b96f7254f6a2742b8dd6a2da6ca215a0a8432086aa0d69927d6fff80fa49985c -size 102797 +oid sha256:9729d79afb81cad5f400f400a3605a23838ccf6be4c691511596a1b977c448a2 +size 101638 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/05__03_report__district_07-los-angeles__organization_name_city-of-bell-gardens.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/05__03_report__district_07-los-angeles__organization_name_city-of-bell-gardens.ipynb index 1a2bda43b..5f9ec64fd 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/05__03_report__district_07-los-angeles__organization_name_city-of-bell-gardens.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/05__03_report__district_07-los-angeles__organization_name_city-of-bell-gardens.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a50b6946e667111ba7e1fa384b7d5bf0e6bdad640163ba8dea369cd54a64ac3d -size 112175 +oid sha256:f6483e86ec30e4cbcd13374da98fda5f07c716f1454d494a64b681bbc941affa +size 111008 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/06__03_report__district_07-los-angeles__organization_name_city-of-bellflower.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/06__03_report__district_07-los-angeles__organization_name_city-of-bellflower.ipynb index ff9c94aa4..7eb3e0ffa 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/06__03_report__district_07-los-angeles__organization_name_city-of-bellflower.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/06__03_report__district_07-los-angeles__organization_name_city-of-bellflower.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6dc13cc1a4982c035e360a07b56fe713ebe4cfe297ecfa396bda77ddb005a84a -size 110693 +oid sha256:52f65657e747cd0a21c989ce8bfe61cca5fc30642324aa3aafb69ec63415571e +size 109522 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/07__03_report__district_07-los-angeles__organization_name_city-of-burbank.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/07__03_report__district_07-los-angeles__organization_name_city-of-burbank.ipynb index 9ea5f64c1..868b3c27c 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/07__03_report__district_07-los-angeles__organization_name_city-of-burbank.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/07__03_report__district_07-los-angeles__organization_name_city-of-burbank.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:433793e248a3218b4626df7c3791c69504936e27a580b54cc98122728dedb941 -size 823851 +oid sha256:71dd261d505799e5f89690ffc19dd8bd99645598bbf103ef8b01a9ea43ed9ed2 +size 673352 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/08__03_report__district_07-los-angeles__organization_name_city-of-calabasas.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/08__03_report__district_07-los-angeles__organization_name_city-of-calabasas.ipynb index a4b7fc282..ac6255922 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/08__03_report__district_07-los-angeles__organization_name_city-of-calabasas.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/08__03_report__district_07-los-angeles__organization_name_city-of-calabasas.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4b47212d4c2e3f769c8610e52327a39ccdeb0361241efc943bac215035185423 -size 284960 +oid sha256:4a1bb1cbac992d65caaf731cbc8c29b13e9c6382d78c5b6b24309bc02c1d090c +size 283793 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/09__03_report__district_07-los-angeles__organization_name_city-of-cerritos.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/09__03_report__district_07-los-angeles__organization_name_city-of-cerritos.ipynb index fc376080a..a41e5e663 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/09__03_report__district_07-los-angeles__organization_name_city-of-cerritos.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/09__03_report__district_07-los-angeles__organization_name_city-of-cerritos.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c97acd9f91d667f0bcbb7d8c52f0236455b105f1ec0b6512649974847418bd1f -size 109088 +oid sha256:182e53eb866aefda4bab77d1d0f055f833d095912b4ae24ddbfb470e1f530b62 +size 107924 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/10__03_report__district_07-los-angeles__organization_name_city-of-commerce.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/10__03_report__district_07-los-angeles__organization_name_city-of-commerce.ipynb index 15dcf631a..f678e24ee 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/10__03_report__district_07-los-angeles__organization_name_city-of-commerce.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/10__03_report__district_07-los-angeles__organization_name_city-of-commerce.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a09e6e090b4d3c82f140fb41e40e4509dc7ff9d37e5e90fc3891ca300717365c -size 2175829 +oid sha256:d7f3157737ca38c702cb715131f23e0f6375b0a8d99e044a3866634f69718ae0 +size 1757038 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/11__03_report__district_07-los-angeles__organization_name_city-of-cudahy.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/11__03_report__district_07-los-angeles__organization_name_city-of-cudahy.ipynb index 098ad1483..94a104e89 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/11__03_report__district_07-los-angeles__organization_name_city-of-cudahy.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/11__03_report__district_07-los-angeles__organization_name_city-of-cudahy.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d0c4121813d43fa4d04358990436e00f49d534ec7ba160e8c3babba6068eb15b -size 120427 +oid sha256:9b2112a5f74dd618c9e5d175d120d60f791fc79514d5bb201c7da343191330cd +size 119266 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/12__03_report__district_07-los-angeles__organization_name_city-of-culver-city.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/12__03_report__district_07-los-angeles__organization_name_city-of-culver-city.ipynb index 5dbc094f1..113e79136 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/12__03_report__district_07-los-angeles__organization_name_city-of-culver-city.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/12__03_report__district_07-los-angeles__organization_name_city-of-culver-city.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:eafcdf9229e06f6d428e81befdf97d47c37970ce30640f057c663e48cfe86786 -size 6626220 +oid sha256:f0ab8c4e5e5b0d71f6d16ba390ca761994373691f52a5162cd52337c14b348cd +size 5348447 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/13__03_report__district_07-los-angeles__organization_name_city-of-downey.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/13__03_report__district_07-los-angeles__organization_name_city-of-downey.ipynb index 414d13931..de9587ac1 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/13__03_report__district_07-los-angeles__organization_name_city-of-downey.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/13__03_report__district_07-los-angeles__organization_name_city-of-downey.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9f3d49e0fab3128012d00f0efef237095edcc119b5858853ad72f1f08fed3775 -size 148978 +oid sha256:f9554fe84e15d2a0d55c8988d61534a635cca7e61bfd642f3724362d41109f7a +size 148645 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/14__03_report__district_07-los-angeles__organization_name_city-of-duarte.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/14__03_report__district_07-los-angeles__organization_name_city-of-duarte.ipynb index 6a8ddfbc3..c170d4ccc 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/14__03_report__district_07-los-angeles__organization_name_city-of-duarte.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/14__03_report__district_07-los-angeles__organization_name_city-of-duarte.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:991779630e904eec60649f453f241b29c1be8e6361564575245bc9bf9aa41482 -size 13449834 +oid sha256:e0966fc40534c16ace7784bfc6462791c3a5d3f0286ef0ffd97ba19f5940bb08 +size 12035341 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/15__03_report__district_07-los-angeles__organization_name_city-of-el-monte.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/15__03_report__district_07-los-angeles__organization_name_city-of-el-monte.ipynb index 2ddcf0ba0..d6edf93ec 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/15__03_report__district_07-los-angeles__organization_name_city-of-el-monte.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/15__03_report__district_07-los-angeles__organization_name_city-of-el-monte.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:952ec9ff4f37e50804537f176200418b7ef9afe610a75cb3e2218bcde3e169f2 -size 190324 +oid sha256:9f95f692d376bb26fb297756b5c9d01d0d9d879052066413213ee60a50f74a5d +size 189160 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/16__03_report__district_07-los-angeles__organization_name_city-of-el-segundo.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/16__03_report__district_07-los-angeles__organization_name_city-of-el-segundo.ipynb index 07f136503..3b08410dc 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/16__03_report__district_07-los-angeles__organization_name_city-of-el-segundo.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/16__03_report__district_07-los-angeles__organization_name_city-of-el-segundo.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:06573710502cf4132401f851edb5d5299a894bb6518de0b16fbc66cf5e2b764c -size 91440 +oid sha256:95f9882d5dfff327609f1e183a13d8878dafb5942e0ad10f02d7bcb7d4b34ba8 +size 91105 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/17__03_report__district_07-los-angeles__organization_name_city-of-gardena.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/17__03_report__district_07-los-angeles__organization_name_city-of-gardena.ipynb index d14639a3a..703d4aeb9 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/17__03_report__district_07-los-angeles__organization_name_city-of-gardena.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/17__03_report__district_07-los-angeles__organization_name_city-of-gardena.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d12f25a0767e8a4f5a88bea87e197b5babbb6ce56a7933cf107776398fd15bc8 -size 1490300 +oid sha256:29e47bc80e43a2e1b93e8e7869d935a1d3f92cf433b449534d3b793b152e0238 +size 1387039 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/18__03_report__district_07-los-angeles__organization_name_city-of-glendale.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/18__03_report__district_07-los-angeles__organization_name_city-of-glendale.ipynb index 905a5a308..722ddf198 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/18__03_report__district_07-los-angeles__organization_name_city-of-glendale.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/18__03_report__district_07-los-angeles__organization_name_city-of-glendale.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2e906340d8c1ee8c9cba51b2a7c52c7f8ab2bec5dd70b16acfbfab1d24b1e9e7 -size 245049 +oid sha256:d91cfed4c3d777d6c6b58f9b4f9c54252f2c98a7f0b80c60ef5159b3a4ca30c7 +size 244715 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/19__03_report__district_07-los-angeles__organization_name_city-of-glendora.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/19__03_report__district_07-los-angeles__organization_name_city-of-glendora.ipynb index a58c9189b..1f35c16ca 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/19__03_report__district_07-los-angeles__organization_name_city-of-glendora.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/19__03_report__district_07-los-angeles__organization_name_city-of-glendora.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4c1c6bffd1ced5a559291e39ed1446732784d41afcf573a0eef938b1ffb2fffb -size 132041 +oid sha256:a41128778650b9894da84e8757436687f72db4d02c9a34407bcc2ac8e2d39f72 +size 130871 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/20__03_report__district_07-los-angeles__organization_name_city-of-huntington-park.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/20__03_report__district_07-los-angeles__organization_name_city-of-huntington-park.ipynb index 07f72f49c..ed3059468 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/20__03_report__district_07-los-angeles__organization_name_city-of-huntington-park.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/20__03_report__district_07-los-angeles__organization_name_city-of-huntington-park.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b4259f2f66ec41b17384b33028b82be2d7bca6c76dc54e398f3cc32b053482ec -size 111403 +oid sha256:321a8633d47d7c3496c012a5f317969ec9ca7104809da63585146f648ed03ace +size 110222 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/21__03_report__district_07-los-angeles__organization_name_city-of-inglewood.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/21__03_report__district_07-los-angeles__organization_name_city-of-inglewood.ipynb index b2dad944a..c3496f445 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/21__03_report__district_07-los-angeles__organization_name_city-of-inglewood.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/21__03_report__district_07-los-angeles__organization_name_city-of-inglewood.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7d2e595ffa9d0a96c4241740f278f1bec4e353fc387d7ae82b239c7327849d45 -size 99430 +oid sha256:09eed4555559a1f28b3ae275f2769b5d9eaf586a9c72f76e1126236a1f11282d +size 99093 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/22__03_report__district_07-los-angeles__organization_name_city-of-la-puente.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/22__03_report__district_07-los-angeles__organization_name_city-of-la-puente.ipynb index da2195df9..4b33b1eef 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/22__03_report__district_07-los-angeles__organization_name_city-of-la-puente.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/22__03_report__district_07-los-angeles__organization_name_city-of-la-puente.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b6b05198db643bc5c7dacaddf20122d44b585a3ffddcd20ed49740465730819c -size 151793 +oid sha256:cf3b7a014abf6d38e366cbab4dc6125d15756102c722837070a0a3bbd534f915 +size 151456 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/23__03_report__district_07-los-angeles__organization_name_city-of-lawndale.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/23__03_report__district_07-los-angeles__organization_name_city-of-lawndale.ipynb index 3d1017dfa..71944cfbc 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/23__03_report__district_07-los-angeles__organization_name_city-of-lawndale.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/23__03_report__district_07-los-angeles__organization_name_city-of-lawndale.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8ba5349dbabd414fdb2224223717c478055cc4efe62d7dff84cffffd7ef75219 -size 448162 +oid sha256:17986ede6b40bf42e67780af4c55f675e58bd67372802d2d2736b3f665687e1e +size 407499 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/24__03_report__district_07-los-angeles__organization_name_city-of-los-angeles.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/24__03_report__district_07-los-angeles__organization_name_city-of-los-angeles.ipynb index 69b37adb2..483116062 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/24__03_report__district_07-los-angeles__organization_name_city-of-los-angeles.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/24__03_report__district_07-los-angeles__organization_name_city-of-los-angeles.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:512628688c8c1a3983e73be62823ad8ba3befc071cece1468d82283ad550451e -size 30745216 +oid sha256:ed04a97437db3ad1be92c49d0f557ed9ad147441d7e236dae8f2b18b49c7be30 +size 24241679 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/25__03_report__district_07-los-angeles__organization_name_city-of-lynwood.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/25__03_report__district_07-los-angeles__organization_name_city-of-lynwood.ipynb index 0a12ca164..67ce010a2 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/25__03_report__district_07-los-angeles__organization_name_city-of-lynwood.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/25__03_report__district_07-los-angeles__organization_name_city-of-lynwood.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:71fd016fd5bb7024a6fd7f1135ebeeaaea8786b8b947060af2fd3939112220fb -size 158940 +oid sha256:64b5cb5c7516c579cc0dd3ed412917f45b3d3634deb50e75706bce0d1880e487 +size 158604 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/26__03_report__district_07-los-angeles__organization_name_city-of-maywood.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/26__03_report__district_07-los-angeles__organization_name_city-of-maywood.ipynb index d57a8df3a..6859dd8a3 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/26__03_report__district_07-los-angeles__organization_name_city-of-maywood.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/26__03_report__district_07-los-angeles__organization_name_city-of-maywood.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ba1d2d587bd6a36986227a4712a9a8af23730f3aeb99d1e47d93438f02d285f3 -size 96399 +oid sha256:1fcc4a0b1bad865e07af2e9a06176c4ef529575ec7c2ea3503c4d5671aa8f592 +size 95242 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/27__03_report__district_07-los-angeles__organization_name_city-of-monterey-park.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/27__03_report__district_07-los-angeles__organization_name_city-of-monterey-park.ipynb index 519028b60..0f5867e8b 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/27__03_report__district_07-los-angeles__organization_name_city-of-monterey-park.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/27__03_report__district_07-los-angeles__organization_name_city-of-monterey-park.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:596be9d46f1cfd7e8b79003aa1fa9670f4cc78e335746b864186313efc88beb7 -size 178018 +oid sha256:8f68051ff8c481fcb22011cdeeee8cf6b11fbc71304908acd06d60f1f007bff4 +size 177684 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/28__03_report__district_07-los-angeles__organization_name_city-of-norwalk.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/28__03_report__district_07-los-angeles__organization_name_city-of-norwalk.ipynb index 6f9280154..2b5129876 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/28__03_report__district_07-los-angeles__organization_name_city-of-norwalk.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/28__03_report__district_07-los-angeles__organization_name_city-of-norwalk.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0cfbdefb450c774c6b3ecd97500e62a3b3d6beea7db5d4eb6d8b10b84ed6e7db -size 2708835 +oid sha256:5f3bf1b2defbb6bcba9ede0f13169ce70174538f3f834d196aa3369cb852f167 +size 2364428 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/29__03_report__district_07-los-angeles__organization_name_city-of-ojai.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/29__03_report__district_07-los-angeles__organization_name_city-of-ojai.ipynb index 7dd133a22..3c208fb2e 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/29__03_report__district_07-los-angeles__organization_name_city-of-ojai.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/29__03_report__district_07-los-angeles__organization_name_city-of-ojai.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cb594479597883f34849619283dfa2146b1eadf7baacb4edab383b28839af8c4 -size 8446106 +oid sha256:3bbc3078ec24ba1e8b20cced9f8f8ae1fb2984985d6c27698590259b7f9aee6b +size 8243823 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/30__03_report__district_07-los-angeles__organization_name_city-of-pasadena.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/30__03_report__district_07-los-angeles__organization_name_city-of-pasadena.ipynb index 6945e4f58..acc03590b 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/30__03_report__district_07-los-angeles__organization_name_city-of-pasadena.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/30__03_report__district_07-los-angeles__organization_name_city-of-pasadena.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f93c5ebd64e258b677455fe1bdfccbbd768c04bccb04c24acd6c3b49baa68aec -size 5082129 +oid sha256:1d2e80be69994e0209f76daa4a59078b794a265d4d1437f26150abc0432d0ba1 +size 4085679 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/31__03_report__district_07-los-angeles__organization_name_city-of-redondo-beach.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/31__03_report__district_07-los-angeles__organization_name_city-of-redondo-beach.ipynb index 803fe86e7..81cb34312 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/31__03_report__district_07-los-angeles__organization_name_city-of-redondo-beach.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/31__03_report__district_07-los-angeles__organization_name_city-of-redondo-beach.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:81fadd31b5d9520f5b4cc014aa3255036bd6ec289f5b2f97432c8a33992dfd2a -size 1509806 +oid sha256:e208eff80f3c54c1340e7f8e479d48d9f50f666f1def8bc753140294f74185f2 +size 1220644 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/32__03_report__district_07-los-angeles__organization_name_city-of-rosemead.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/32__03_report__district_07-los-angeles__organization_name_city-of-rosemead.ipynb index e5ec66783..3a2cdc1c6 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/32__03_report__district_07-los-angeles__organization_name_city-of-rosemead.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/32__03_report__district_07-los-angeles__organization_name_city-of-rosemead.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:83126fc62e371da8a02ba3063a2627e44269a02b881f86a3b8fa75a4c4db2e8a -size 109543 +oid sha256:3610bcb1df4b0df49ff5f21b7d17158adfcade6dc7da1c6096612652a6a09feb +size 109208 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/33__03_report__district_07-los-angeles__organization_name_city-of-santa-clarita.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/33__03_report__district_07-los-angeles__organization_name_city-of-santa-clarita.ipynb index 5c519744b..e1a24c876 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/33__03_report__district_07-los-angeles__organization_name_city-of-santa-clarita.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/33__03_report__district_07-los-angeles__organization_name_city-of-santa-clarita.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e734a10ea5ef9612e0239d7156bfb7c706b359466dd14b75c1858e19c9a68011 -size 13439876 +oid sha256:fe206fa01aed02600b0f0db9be0eadfd134db762b84fc7c02396667ae1c28a21 +size 10853524 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/34__03_report__district_07-los-angeles__organization_name_city-of-santa-monica.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/34__03_report__district_07-los-angeles__organization_name_city-of-santa-monica.ipynb index 6738c7bec..a15ad8ef2 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/34__03_report__district_07-los-angeles__organization_name_city-of-santa-monica.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/34__03_report__district_07-los-angeles__organization_name_city-of-santa-monica.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:378e9f58ba2d38072942d38aed7c98e513a81bf39248521f80b71233d1c7df07 -size 11308332 +oid sha256:bb172e9d44029ed9dd41bc23471b948d9136623dfb071086e6dcca637ec41dc0 +size 8902986 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/35__03_report__district_07-los-angeles__organization_name_city-of-sierra-madre.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/35__03_report__district_07-los-angeles__organization_name_city-of-sierra-madre.ipynb index c052c2433..6047342e0 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/35__03_report__district_07-los-angeles__organization_name_city-of-sierra-madre.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/35__03_report__district_07-los-angeles__organization_name_city-of-sierra-madre.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7026d269ed67c6f7d92aa1e14ae671fee06f7cc3d40c7701d2534ff242482e01 -size 53380 +oid sha256:6d3a8db792323c0f18f04caab9b84a9184c4b597c07db4d849d5f35b98479560 +size 53041 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/36__03_report__district_07-los-angeles__organization_name_city-of-south-gate.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/36__03_report__district_07-los-angeles__organization_name_city-of-south-gate.ipynb index e03469f03..8c1861876 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/36__03_report__district_07-los-angeles__organization_name_city-of-south-gate.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/36__03_report__district_07-los-angeles__organization_name_city-of-south-gate.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:52411d75ce316120fcc907a43b23dc404dcd8b8c9a99f4fc0fa31522b59165d4 -size 119710 +oid sha256:85a5a8161eb2d50a53f579f5f5b66d85e5ddd32d0455ab2a759deb3911b3c52d +size 118535 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/37__03_report__district_07-los-angeles__organization_name_city-of-torrance.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/37__03_report__district_07-los-angeles__organization_name_city-of-torrance.ipynb index 7811bee91..38fd07224 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/37__03_report__district_07-los-angeles__organization_name_city-of-torrance.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/37__03_report__district_07-los-angeles__organization_name_city-of-torrance.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a42531a1e64addde7c7a8c2b4369e1231d42af5dbffee8d61f923f23c4f6b723 -size 8911492 +oid sha256:499f1652fbf0ddb5e793d3cbe6a78b2fff783e7de30368ddaa2bfb58d1e38f78 +size 7493738 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/38__03_report__district_07-los-angeles__organization_name_city-of-west-covina.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/38__03_report__district_07-los-angeles__organization_name_city-of-west-covina.ipynb index 804bff971..fd9b2c3a1 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/38__03_report__district_07-los-angeles__organization_name_city-of-west-covina.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/38__03_report__district_07-los-angeles__organization_name_city-of-west-covina.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7c6c464221103feaee4b593b8498600dd1a26d30f14f8c8383fab1b10fd1626c -size 140888 +oid sha256:2d2c7928a9689509e6955fbccc768aa23e87463803483a0214f4e656414499a1 +size 139713 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/39__03_report__district_07-los-angeles__organization_name_city-of-west-hollywood.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/39__03_report__district_07-los-angeles__organization_name_city-of-west-hollywood.ipynb index 13f1177e1..573fd299b 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/39__03_report__district_07-los-angeles__organization_name_city-of-west-hollywood.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/39__03_report__district_07-los-angeles__organization_name_city-of-west-hollywood.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:334323dcf06fca4700816e78f8f67ffec79da0d7caeb7493a835fd2f5c09f2cf -size 889491 +oid sha256:9c55167717b3f1814180e9882b5488c5ab08776214e147b53277433241ecae66 +size 754056 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/40__03_report__district_07-los-angeles__organization_name_long-beach-transit.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/40__03_report__district_07-los-angeles__organization_name_long-beach-transit.ipynb index 6dab08ce3..e4676fbd8 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/40__03_report__district_07-los-angeles__organization_name_long-beach-transit.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/40__03_report__district_07-los-angeles__organization_name_long-beach-transit.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a37f8b6c5a0967645c41e32b0cd59edea1ea4bd9bfedd489b9c7297e4d1c9d11 -size 23379066 +oid sha256:944b59fe68f0789cc76e09a526efcdb51a0649a0c2c7f6f161b93f8348f2d5b1 +size 17856760 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/41__03_report__district_07-los-angeles__organization_name_los-angeles-county.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/41__03_report__district_07-los-angeles__organization_name_los-angeles-county.ipynb index 6aebf1b78..57a6045fe 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/41__03_report__district_07-los-angeles__organization_name_los-angeles-county.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/41__03_report__district_07-los-angeles__organization_name_los-angeles-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b1eb922eb658aac1e69c64ff23a7930f8c87c0948fac02ca39606379a44d2f98 -size 444541 +oid sha256:685fd2d103ad7eabb56bad9e47ce29f344b4b45ddb4564ec417337f90add7884 +size 439936 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/42__03_report__district_07-los-angeles__organization_name_los-angeles-county-metropolitan-transportation-authority.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/42__03_report__district_07-los-angeles__organization_name_los-angeles-county-metropolitan-transportation-authority.ipynb index 807d29163..d654c91db 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/42__03_report__district_07-los-angeles__organization_name_los-angeles-county-metropolitan-transportation-authority.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/42__03_report__district_07-los-angeles__organization_name_los-angeles-county-metropolitan-transportation-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8b8fb4f1dd6e8ed8cae8af55df55a3ba0eab0ca591ee494554c77769395810ef -size 85702158 +oid sha256:4b531391c59e1f4b3ff26c3ddb1345e1aa989341cd88b24af4b6a4eaa405d061 +size 69002647 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/43__03_report__district_07-los-angeles__organization_name_los-angeles-world-airports.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/43__03_report__district_07-los-angeles__organization_name_los-angeles-world-airports.ipynb index 707a4c494..faf328c88 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/43__03_report__district_07-los-angeles__organization_name_los-angeles-world-airports.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/43__03_report__district_07-los-angeles__organization_name_los-angeles-world-airports.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8ed2bd1b1a6a45ec1cd9a2e7c2a9405ea09b6f93fb5310c04ffb6037cb1890bf -size 175171 +oid sha256:7d5ee0ccb5f66f4a0c613bbcb3d1aae1f6fd963c0d40c1db1bb1ce7fd17031ab +size 618504 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/44__03_report__district_07-los-angeles__organization_name_palos-verdes-peninsula-transit-authority.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/44__03_report__district_07-los-angeles__organization_name_palos-verdes-peninsula-transit-authority.ipynb index aac6fbf1a..d4ac8c498 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/44__03_report__district_07-los-angeles__organization_name_palos-verdes-peninsula-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/44__03_report__district_07-los-angeles__organization_name_palos-verdes-peninsula-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:10425aa76ba2d0460b45c29b63f1b0344f5db82073fc5e26701c121d8aafb0c8 -size 274740 +oid sha256:1502d4306008e783d48ab218229cdda028d7759e069d6cbcff3633fd054f96f0 +size 274401 diff --git a/portfolio/gtfs_digest/district_07-los-angeles/45__03_report__district_07-los-angeles__organization_name_university-of-california-los-angeles.ipynb b/portfolio/gtfs_digest/district_07-los-angeles/45__03_report__district_07-los-angeles__organization_name_university-of-california-los-angeles.ipynb index 63ccc8082..58d7c679f 100644 --- a/portfolio/gtfs_digest/district_07-los-angeles/45__03_report__district_07-los-angeles__organization_name_university-of-california-los-angeles.ipynb +++ b/portfolio/gtfs_digest/district_07-los-angeles/45__03_report__district_07-los-angeles__organization_name_university-of-california-los-angeles.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1f27c0aacb401caf36e204f7f777a9f675e050721282c01e5174ebdf73c50100 -size 390735 +oid sha256:2857b18d6aa60dfa319a588ce6905fe59f074659450d01dfe9f45976428a5f65 +size 364791 diff --git a/portfolio/gtfs_digest/district_08-san-bernardino/00__03_report__district_08-san-bernardino__organization_name_basin-transit.ipynb b/portfolio/gtfs_digest/district_08-san-bernardino/00__03_report__district_08-san-bernardino__organization_name_basin-transit.ipynb index e8b0a4acb..074570207 100644 --- a/portfolio/gtfs_digest/district_08-san-bernardino/00__03_report__district_08-san-bernardino__organization_name_basin-transit.ipynb +++ b/portfolio/gtfs_digest/district_08-san-bernardino/00__03_report__district_08-san-bernardino__organization_name_basin-transit.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d57a46cbe592c8767bd5fe24018df1c85584f200849f54d00bf763d5566249a1 -size 211307 +oid sha256:6155668a5eff62af59253b3bebc3462416ed53cebc0ce15a271345fa97e95dc7 +size 210970 diff --git a/portfolio/gtfs_digest/district_08-san-bernardino/01__03_report__district_08-san-bernardino__organization_name_city-of-beaumont.ipynb b/portfolio/gtfs_digest/district_08-san-bernardino/01__03_report__district_08-san-bernardino__organization_name_city-of-beaumont.ipynb index ceb797472..e04269384 100644 --- a/portfolio/gtfs_digest/district_08-san-bernardino/01__03_report__district_08-san-bernardino__organization_name_city-of-beaumont.ipynb +++ b/portfolio/gtfs_digest/district_08-san-bernardino/01__03_report__district_08-san-bernardino__organization_name_city-of-beaumont.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7a53cc9deb9ea6c23783d08ab393e6a014336e88d01a41b085182648957dbdce -size 4161009 +oid sha256:ec3f220561c22379e0f4b63ea7307da384c12337b51dba98d5e7a8dedd18c018 +size 3317130 diff --git a/portfolio/gtfs_digest/district_08-san-bernardino/02__03_report__district_08-san-bernardino__organization_name_city-of-corona.ipynb b/portfolio/gtfs_digest/district_08-san-bernardino/02__03_report__district_08-san-bernardino__organization_name_city-of-corona.ipynb index 3b59da4f8..c0892c344 100644 --- a/portfolio/gtfs_digest/district_08-san-bernardino/02__03_report__district_08-san-bernardino__organization_name_city-of-corona.ipynb +++ b/portfolio/gtfs_digest/district_08-san-bernardino/02__03_report__district_08-san-bernardino__organization_name_city-of-corona.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e326872d76378ea0a65413c2e56d85e3d331432d6273b03c8ccdd41857ea5109 -size 135227 +oid sha256:2c4d775f69ba009ecd92a9ce826ac4fde7c14bc0d5ff8433f43a46d2cc39d30a +size 134073 diff --git a/portfolio/gtfs_digest/district_08-san-bernardino/03__03_report__district_08-san-bernardino__organization_name_city-of-needles.ipynb b/portfolio/gtfs_digest/district_08-san-bernardino/03__03_report__district_08-san-bernardino__organization_name_city-of-needles.ipynb index be25a7c12..225aeaf20 100644 --- a/portfolio/gtfs_digest/district_08-san-bernardino/03__03_report__district_08-san-bernardino__organization_name_city-of-needles.ipynb +++ b/portfolio/gtfs_digest/district_08-san-bernardino/03__03_report__district_08-san-bernardino__organization_name_city-of-needles.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:eceefd5487388aa01cf970eff1b4bbb78cfb55472858a5e70cd80eb4c904b01a -size 100846 +oid sha256:47677ca9a1c74037ed0b634da3b98b5f03cad149d8f899d3d77a6d60b0b1d53b +size 104090 diff --git a/portfolio/gtfs_digest/district_08-san-bernardino/04__03_report__district_08-san-bernardino__organization_name_greyhound.ipynb b/portfolio/gtfs_digest/district_08-san-bernardino/04__03_report__district_08-san-bernardino__organization_name_greyhound.ipynb index cbd2ff23b..4fc3e38f2 100644 --- a/portfolio/gtfs_digest/district_08-san-bernardino/04__03_report__district_08-san-bernardino__organization_name_greyhound.ipynb +++ b/portfolio/gtfs_digest/district_08-san-bernardino/04__03_report__district_08-san-bernardino__organization_name_greyhound.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:32b6d45022ad8b6aa7b29a9dd5cd85458ea0ee8f452b700477a8ca7e584d2d14 -size 1272678 +oid sha256:5e51733efd38273d4301df927d60bd084ce604c348e50392c48843831722e2e4 +size 1283862 diff --git a/portfolio/gtfs_digest/district_08-san-bernardino/05__03_report__district_08-san-bernardino__organization_name_mountain-area-regional-transit-authority.ipynb b/portfolio/gtfs_digest/district_08-san-bernardino/05__03_report__district_08-san-bernardino__organization_name_mountain-area-regional-transit-authority.ipynb index 2df89b511..56d494a5f 100644 --- a/portfolio/gtfs_digest/district_08-san-bernardino/05__03_report__district_08-san-bernardino__organization_name_mountain-area-regional-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_08-san-bernardino/05__03_report__district_08-san-bernardino__organization_name_mountain-area-regional-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:29fe7f12bd98d2105411f2519a0c4d0cbf1ee35a0faca8abeeb2d4938b60cc9d -size 1054501 +oid sha256:1cdafd7473a485f2d3cdcdd2086b473443ace616486f018f4474545cafda68d1 +size 1079978 diff --git a/portfolio/gtfs_digest/district_08-san-bernardino/06__03_report__district_08-san-bernardino__organization_name_omnitrans.ipynb b/portfolio/gtfs_digest/district_08-san-bernardino/06__03_report__district_08-san-bernardino__organization_name_omnitrans.ipynb index b83c260db..61ea7e949 100644 --- a/portfolio/gtfs_digest/district_08-san-bernardino/06__03_report__district_08-san-bernardino__organization_name_omnitrans.ipynb +++ b/portfolio/gtfs_digest/district_08-san-bernardino/06__03_report__district_08-san-bernardino__organization_name_omnitrans.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4b6ff5b924099d0e14ab1abc3a61fbef866aea2692b20c941b81ea092cde619c -size 11420577 +oid sha256:d2a9321dc5a3d7759c87c2c0640bf47cd5e8a4ba873d05691a447af705ad4cde +size 9489407 diff --git a/portfolio/gtfs_digest/district_08-san-bernardino/07__03_report__district_08-san-bernardino__organization_name_palo-verde-valley-transit-agency.ipynb b/portfolio/gtfs_digest/district_08-san-bernardino/07__03_report__district_08-san-bernardino__organization_name_palo-verde-valley-transit-agency.ipynb index 9ea01ba54..40e4fdb09 100644 --- a/portfolio/gtfs_digest/district_08-san-bernardino/07__03_report__district_08-san-bernardino__organization_name_palo-verde-valley-transit-agency.ipynb +++ b/portfolio/gtfs_digest/district_08-san-bernardino/07__03_report__district_08-san-bernardino__organization_name_palo-verde-valley-transit-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7363ae5b5d1c9799cf0725c3cbfd7fc01d972f55900ad1e1fb690e4370b0cf7b -size 1287296 +oid sha256:2a09608c77cdb36265746f69219d895049bda64cef5f73ae1a47355fc376c364 +size 1088194 diff --git a/portfolio/gtfs_digest/district_08-san-bernardino/08__03_report__district_08-san-bernardino__organization_name_riverside-transit-agency.ipynb b/portfolio/gtfs_digest/district_08-san-bernardino/08__03_report__district_08-san-bernardino__organization_name_riverside-transit-agency.ipynb index 437227244..e821ec02f 100644 --- a/portfolio/gtfs_digest/district_08-san-bernardino/08__03_report__district_08-san-bernardino__organization_name_riverside-transit-agency.ipynb +++ b/portfolio/gtfs_digest/district_08-san-bernardino/08__03_report__district_08-san-bernardino__organization_name_riverside-transit-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cf304deef23e95da4026a540c39ab5b4b89e707b1ea7f70e7718289f05ec4d09 -size 26825781 +oid sha256:cc71444741ed1184e5d79b75a73c2ef0fbd5c4b94b51fba124b55d036d568f07 +size 22241643 diff --git a/portfolio/gtfs_digest/district_08-san-bernardino/09__03_report__district_08-san-bernardino__organization_name_victor-valley-transit-authority.ipynb b/portfolio/gtfs_digest/district_08-san-bernardino/09__03_report__district_08-san-bernardino__organization_name_victor-valley-transit-authority.ipynb index 6540aba94..90e1be3a3 100644 --- a/portfolio/gtfs_digest/district_08-san-bernardino/09__03_report__district_08-san-bernardino__organization_name_victor-valley-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_08-san-bernardino/09__03_report__district_08-san-bernardino__organization_name_victor-valley-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:11011ddf148e7f8550ff7eaceaab35dcf2c9b0af42171b4bf7c6493efe11fda3 -size 22551249 +oid sha256:71a717bed4db0e4fbb53418a2bf9de56aea1598731f5b2f558fa091ed3f44c26 +size 19355479 diff --git a/portfolio/gtfs_digest/district_09-bishop/00__03_report__district_09-bishop__organization_name_eastern-sierra-transit-authority.ipynb b/portfolio/gtfs_digest/district_09-bishop/00__03_report__district_09-bishop__organization_name_eastern-sierra-transit-authority.ipynb index ecbdca79e..04fc03dc9 100644 --- a/portfolio/gtfs_digest/district_09-bishop/00__03_report__district_09-bishop__organization_name_eastern-sierra-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_09-bishop/00__03_report__district_09-bishop__organization_name_eastern-sierra-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ee6f68041877ff948c3f9e24bde46fa4b623a1dad981a87e36900cdfb37b3221 -size 4309176 +oid sha256:4e62cd659ec08d3cccd75cbb2e43b92252a3f0283571e6288633ff0304f4101b +size 3727865 diff --git a/portfolio/gtfs_digest/district_10-stockton/00__03_report__district_10-stockton__organization_name_amador-regional-transit-system.ipynb b/portfolio/gtfs_digest/district_10-stockton/00__03_report__district_10-stockton__organization_name_amador-regional-transit-system.ipynb index 18541e218..9dc573068 100644 --- a/portfolio/gtfs_digest/district_10-stockton/00__03_report__district_10-stockton__organization_name_amador-regional-transit-system.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/00__03_report__district_10-stockton__organization_name_amador-regional-transit-system.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0b421551eed6d5867debfd86eeffe7c4005f6b264b3a4720d82397e07a6d0c6a -size 319842 +oid sha256:639f5bdb2acdfaea5f83384ff47fc96f0f26fcd1b642d5c5da8f16274d5bad59 +size 319509 diff --git a/portfolio/gtfs_digest/district_10-stockton/01__03_report__district_10-stockton__organization_name_calaveras-transit-agency.ipynb b/portfolio/gtfs_digest/district_10-stockton/01__03_report__district_10-stockton__organization_name_calaveras-transit-agency.ipynb index 5312f26ad..d288ec911 100644 --- a/portfolio/gtfs_digest/district_10-stockton/01__03_report__district_10-stockton__organization_name_calaveras-transit-agency.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/01__03_report__district_10-stockton__organization_name_calaveras-transit-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e586ed0c699f894247d20b653873a7ae463feb00f16b52dd7d26725e470cdde2 -size 205483 +oid sha256:918bbebe3cd1e4fa518ddf10258e456097416939d64ab2dc64e0941947db30a7 +size 205145 diff --git a/portfolio/gtfs_digest/district_10-stockton/02__03_report__district_10-stockton__organization_name_city-of-escalon.ipynb b/portfolio/gtfs_digest/district_10-stockton/02__03_report__district_10-stockton__organization_name_city-of-escalon.ipynb index d97c1988e..d500b0a39 100644 --- a/portfolio/gtfs_digest/district_10-stockton/02__03_report__district_10-stockton__organization_name_city-of-escalon.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/02__03_report__district_10-stockton__organization_name_city-of-escalon.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:68f4e44ad489ffeb05c81b475e7af7cab158a90da539cdccd743f3e5e44e3bd1 -size 732180 +oid sha256:547de60f7ee7c669fca6d28f657730c25f8c87dd0e2c907ef002f7e4a027114c +size 611497 diff --git a/portfolio/gtfs_digest/district_10-stockton/03__03_report__district_10-stockton__organization_name_city-of-lodi.ipynb b/portfolio/gtfs_digest/district_10-stockton/03__03_report__district_10-stockton__organization_name_city-of-lodi.ipynb index 0dfeefa3f..70d30abad 100644 --- a/portfolio/gtfs_digest/district_10-stockton/03__03_report__district_10-stockton__organization_name_city-of-lodi.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/03__03_report__district_10-stockton__organization_name_city-of-lodi.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ca6738bac9f32d56643737f4410f8857bb4140fdebd472a2c641f25836b07af -size 198327 +oid sha256:085e821d543ef73e097e4048d888f11a635b50bcd4eb07a362c9c6a3a95efe9c +size 197196 diff --git a/portfolio/gtfs_digest/district_10-stockton/04__03_report__district_10-stockton__organization_name_city-of-manteca.ipynb b/portfolio/gtfs_digest/district_10-stockton/04__03_report__district_10-stockton__organization_name_city-of-manteca.ipynb index 286e593f4..413afc2e2 100644 --- a/portfolio/gtfs_digest/district_10-stockton/04__03_report__district_10-stockton__organization_name_city-of-manteca.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/04__03_report__district_10-stockton__organization_name_city-of-manteca.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:da609b4c7c70c13d38e436ec4c574fa5ab96ab45679a0ed548c618e4872375c2 -size 195008 +oid sha256:64a924fc94eb0d7fa456b2ae7a101e66fa3fcfd461bd5e0faedcece7ee43ca33 +size 194672 diff --git a/portfolio/gtfs_digest/district_10-stockton/05__03_report__district_10-stockton__organization_name_city-of-ripon.ipynb b/portfolio/gtfs_digest/district_10-stockton/05__03_report__district_10-stockton__organization_name_city-of-ripon.ipynb index c85046419..e17d1e9b4 100644 --- a/portfolio/gtfs_digest/district_10-stockton/05__03_report__district_10-stockton__organization_name_city-of-ripon.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/05__03_report__district_10-stockton__organization_name_city-of-ripon.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:78335d5da03f74f33bd2b6930046680721b48ab00670bfd965a1c684b6617680 -size 103448 +oid sha256:04d66d56179abb596edbe94b2e2a904f0bd68db75b9a34c88faae67df10316ed +size 103111 diff --git a/portfolio/gtfs_digest/district_10-stockton/06__03_report__district_10-stockton__organization_name_city-of-tracy.ipynb b/portfolio/gtfs_digest/district_10-stockton/06__03_report__district_10-stockton__organization_name_city-of-tracy.ipynb index ed9ee6ec9..3ef8e082e 100644 --- a/portfolio/gtfs_digest/district_10-stockton/06__03_report__district_10-stockton__organization_name_city-of-tracy.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/06__03_report__district_10-stockton__organization_name_city-of-tracy.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:34e6b25d96d6807cebc78dce1b1b2ac174376c04346f9ca913f55e9a367a38bc -size 368747 +oid sha256:a2808e0e5fe089c8c2a21a9888295e17c37320433d81998fbf740f84600a3272 +size 367590 diff --git a/portfolio/gtfs_digest/district_10-stockton/07__03_report__district_10-stockton__organization_name_city-of-turlock.ipynb b/portfolio/gtfs_digest/district_10-stockton/07__03_report__district_10-stockton__organization_name_city-of-turlock.ipynb index 2dd71195b..c8c616ae4 100644 --- a/portfolio/gtfs_digest/district_10-stockton/07__03_report__district_10-stockton__organization_name_city-of-turlock.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/07__03_report__district_10-stockton__organization_name_city-of-turlock.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aa12e1223dac28f4ecfa09a681625035b39105e71b596a5c05ebae6bd67369e6 -size 3485692 +oid sha256:c158fd22bc0cb3e8ad5ce5c96e51b2bd046c6a4842baf623f4a0804eea16ef45 +size 2805627 diff --git a/portfolio/gtfs_digest/district_10-stockton/08__03_report__district_10-stockton__organization_name_san-joaquin-regional-rail-commission.ipynb b/portfolio/gtfs_digest/district_10-stockton/08__03_report__district_10-stockton__organization_name_san-joaquin-regional-rail-commission.ipynb index 763b85f89..e82ed636d 100644 --- a/portfolio/gtfs_digest/district_10-stockton/08__03_report__district_10-stockton__organization_name_san-joaquin-regional-rail-commission.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/08__03_report__district_10-stockton__organization_name_san-joaquin-regional-rail-commission.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5c38035591ff8b63bea6d7ad891f280b6639ebdd3b2f37434e0dad4ce2d8ec85 -size 362778 +oid sha256:4836cc6ecb4cda3c78f6ea6116b80fb635530c0cdddd516222a6e00b2bee9a26 +size 300802 diff --git a/portfolio/gtfs_digest/district_10-stockton/09__03_report__district_10-stockton__organization_name_san-joaquin-regional-transit-district.ipynb b/portfolio/gtfs_digest/district_10-stockton/09__03_report__district_10-stockton__organization_name_san-joaquin-regional-transit-district.ipynb index f89feba26..3858ebe5c 100644 --- a/portfolio/gtfs_digest/district_10-stockton/09__03_report__district_10-stockton__organization_name_san-joaquin-regional-transit-district.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/09__03_report__district_10-stockton__organization_name_san-joaquin-regional-transit-district.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:42921635ed5eeb27a4086e0c9d1450c006a8ef51f6501c4d8e6920f5a78c9500 -size 24100129 +oid sha256:35b4b2603b75b2242c9593c79a6dab5b164cd4647f2b98f9585ec4f13d6a43f7 +size 18814974 diff --git a/portfolio/gtfs_digest/district_10-stockton/10__03_report__district_10-stockton__organization_name_stanislaus-regional-transit-authority.ipynb b/portfolio/gtfs_digest/district_10-stockton/10__03_report__district_10-stockton__organization_name_stanislaus-regional-transit-authority.ipynb index 4c281f8a5..e11f9d8d5 100644 --- a/portfolio/gtfs_digest/district_10-stockton/10__03_report__district_10-stockton__organization_name_stanislaus-regional-transit-authority.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/10__03_report__district_10-stockton__organization_name_stanislaus-regional-transit-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cec568e995419541bd55307fc803f19a89893c83ce12bfc3b826e77930428364 -size 12867396 +oid sha256:8a3bcf595b5645587ab1199ef033f27951f091ea884cc50998a2a7a58e1fd0d9 +size 10662857 diff --git a/portfolio/gtfs_digest/district_10-stockton/11__03_report__district_10-stockton__organization_name_transit-joint-powers-authority-for-merced-county.ipynb b/portfolio/gtfs_digest/district_10-stockton/11__03_report__district_10-stockton__organization_name_transit-joint-powers-authority-for-merced-county.ipynb index e09b874e9..8af81dc7a 100644 --- a/portfolio/gtfs_digest/district_10-stockton/11__03_report__district_10-stockton__organization_name_transit-joint-powers-authority-for-merced-county.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/11__03_report__district_10-stockton__organization_name_transit-joint-powers-authority-for-merced-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dca693e502398cd93552c14a62fe6237ee522b709fd29c98fcc783737150ca91 -size 428169 +oid sha256:90c854533c3691ad72fbe2774b7503b2d2fd30bc570fb635546eeb968910a1f6 +size 427011 diff --git a/portfolio/gtfs_digest/district_10-stockton/12__03_report__district_10-stockton__organization_name_tuolumne-county-transit-agency.ipynb b/portfolio/gtfs_digest/district_10-stockton/12__03_report__district_10-stockton__organization_name_tuolumne-county-transit-agency.ipynb index 9c1d34a58..93c0eb920 100644 --- a/portfolio/gtfs_digest/district_10-stockton/12__03_report__district_10-stockton__organization_name_tuolumne-county-transit-agency.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/12__03_report__district_10-stockton__organization_name_tuolumne-county-transit-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:20615a3d8e6ec7ba83f92eebb68b1f6f4ce986c882b5de8cfdd2e008230231fb -size 61539 +oid sha256:40edbd23e5fab6fca9d0e0c712428843e61456f82e5bcd9ced18e5749c4ee0f0 +size 61202 diff --git a/portfolio/gtfs_digest/district_10-stockton/13__03_report__district_10-stockton__organization_name_yosemite-area-regional-transportation-system.ipynb b/portfolio/gtfs_digest/district_10-stockton/13__03_report__district_10-stockton__organization_name_yosemite-area-regional-transportation-system.ipynb index 0504ec6bf..cea5b1893 100644 --- a/portfolio/gtfs_digest/district_10-stockton/13__03_report__district_10-stockton__organization_name_yosemite-area-regional-transportation-system.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/13__03_report__district_10-stockton__organization_name_yosemite-area-regional-transportation-system.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6eeac928155a3bc807dc687b293096f225dbdbc34c11080367baea2c26ec1205 -size 702946 +oid sha256:2eee0ee1cb6876d60ca7a93b244101a9bb9899e9621fd2b13aad64b3e39b96b7 +size 703866 diff --git a/portfolio/gtfs_digest/district_10-stockton/14__03_report__district_10-stockton__organization_name_yosemite-national-park.ipynb b/portfolio/gtfs_digest/district_10-stockton/14__03_report__district_10-stockton__organization_name_yosemite-national-park.ipynb index ff3a6128c..476c1317a 100644 --- a/portfolio/gtfs_digest/district_10-stockton/14__03_report__district_10-stockton__organization_name_yosemite-national-park.ipynb +++ b/portfolio/gtfs_digest/district_10-stockton/14__03_report__district_10-stockton__organization_name_yosemite-national-park.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d74efecd57aef5951c1b5d82c3683efe65ba9cc6ac19dd063179f5a79ba618bf -size 52095 +oid sha256:b66f8a8d63bfec61232b5e152e82e738a32326d2f82d2efeb2114ba9c50ac7f7 +size 51761 diff --git a/portfolio/gtfs_digest/district_11-san-diego/00__03_report__district_11-san-diego__organization_name_imperial-county-transportation-commission.ipynb b/portfolio/gtfs_digest/district_11-san-diego/00__03_report__district_11-san-diego__organization_name_imperial-county-transportation-commission.ipynb index d610dd158..3868a956a 100644 --- a/portfolio/gtfs_digest/district_11-san-diego/00__03_report__district_11-san-diego__organization_name_imperial-county-transportation-commission.ipynb +++ b/portfolio/gtfs_digest/district_11-san-diego/00__03_report__district_11-san-diego__organization_name_imperial-county-transportation-commission.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a2f7eec5856a047101661cc605522d4e38492df4191b4123c3b9d13b0a5c668d -size 228901 +oid sha256:ba0597b93d46529237965e1e14cee06a91cedd25f27ded0b203d000f68123c51 +size 227748 diff --git a/portfolio/gtfs_digest/district_11-san-diego/01__03_report__district_11-san-diego__organization_name_north-county-transit-district.ipynb b/portfolio/gtfs_digest/district_11-san-diego/01__03_report__district_11-san-diego__organization_name_north-county-transit-district.ipynb index 1e1b2820f..ab19b209c 100644 --- a/portfolio/gtfs_digest/district_11-san-diego/01__03_report__district_11-san-diego__organization_name_north-county-transit-district.ipynb +++ b/portfolio/gtfs_digest/district_11-san-diego/01__03_report__district_11-san-diego__organization_name_north-county-transit-district.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b84d315dfa7db8d8088fa3fb880239d50a2b3cbd596f81d73811a023d99eff00 -size 25151171 +oid sha256:12c1ea270e5483a040d802eb0082167979d3f7fe489bb64003bc9ab2164ae107 +size 20233316 diff --git a/portfolio/gtfs_digest/district_11-san-diego/02__03_report__district_11-san-diego__organization_name_san-diego-metropolitan-transit-system.ipynb b/portfolio/gtfs_digest/district_11-san-diego/02__03_report__district_11-san-diego__organization_name_san-diego-metropolitan-transit-system.ipynb index 64c0b742f..82bc30633 100644 --- a/portfolio/gtfs_digest/district_11-san-diego/02__03_report__district_11-san-diego__organization_name_san-diego-metropolitan-transit-system.ipynb +++ b/portfolio/gtfs_digest/district_11-san-diego/02__03_report__district_11-san-diego__organization_name_san-diego-metropolitan-transit-system.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3878bb0d56b121f682a9507fb3be312354366bc8364c74c4a3bc5fc76716a38f -size 9481971 +oid sha256:dcfa8cfccda91edf02787d7f4284a5a97687b1559c6a68330168e4ff7916be4f +size 10419061 diff --git a/portfolio/gtfs_digest/district_11-san-diego/03__03_report__district_11-san-diego__organization_name_yuma-county-intergovernmental-public-transportation-authority.ipynb b/portfolio/gtfs_digest/district_11-san-diego/03__03_report__district_11-san-diego__organization_name_yuma-county-intergovernmental-public-transportation-authority.ipynb index ff7a793f6..0ba72b030 100644 --- a/portfolio/gtfs_digest/district_11-san-diego/03__03_report__district_11-san-diego__organization_name_yuma-county-intergovernmental-public-transportation-authority.ipynb +++ b/portfolio/gtfs_digest/district_11-san-diego/03__03_report__district_11-san-diego__organization_name_yuma-county-intergovernmental-public-transportation-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b77b5fbacf613aaf9be23a38bbe06f1b0b8ee20b6250c16a958fddde7b3f44c1 -size 109385 +oid sha256:97bdddc05e44cd35879caa5b4ec93bd7c677918324b170b53a0e555ef8010e78 +size 109051 diff --git a/portfolio/gtfs_digest/district_12-irvine/00__03_report__district_12-irvine__organization_name_city-of-laguna-beach.ipynb b/portfolio/gtfs_digest/district_12-irvine/00__03_report__district_12-irvine__organization_name_city-of-laguna-beach.ipynb index 807b3c036..364e78753 100644 --- a/portfolio/gtfs_digest/district_12-irvine/00__03_report__district_12-irvine__organization_name_city-of-laguna-beach.ipynb +++ b/portfolio/gtfs_digest/district_12-irvine/00__03_report__district_12-irvine__organization_name_city-of-laguna-beach.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b0407ad6d2b57571500e1b159c37c956d25b72c0ecd9f6781a1263b334d14e2a -size 186450 +oid sha256:45a27038d74a3d2017b344a64537b41f64c1631ca86e123e6047515c5fb32ccf +size 185944 diff --git a/portfolio/gtfs_digest/district_12-irvine/01__03_report__district_12-irvine__organization_name_orange-county-transportation-authority.ipynb b/portfolio/gtfs_digest/district_12-irvine/01__03_report__district_12-irvine__organization_name_orange-county-transportation-authority.ipynb index 7f9343093..9dc1fa5f9 100644 --- a/portfolio/gtfs_digest/district_12-irvine/01__03_report__district_12-irvine__organization_name_orange-county-transportation-authority.ipynb +++ b/portfolio/gtfs_digest/district_12-irvine/01__03_report__district_12-irvine__organization_name_orange-county-transportation-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3031d54da61bec11f9288ecca617bb28e3904df017b7231ad9594847600d1c91 -size 39222955 +oid sha256:56f8bb5547e43b50b393091f7fa77b4f02f765ea2679b61331c3079c4b738167 +size 31711414 diff --git a/portfolio/gtfs_digest/district_12-irvine/02__03_report__district_12-irvine__organization_name_university-of-california-irvine.ipynb b/portfolio/gtfs_digest/district_12-irvine/02__03_report__district_12-irvine__organization_name_university-of-california-irvine.ipynb index 1c179d344..2007a24ae 100644 --- a/portfolio/gtfs_digest/district_12-irvine/02__03_report__district_12-irvine__organization_name_university-of-california-irvine.ipynb +++ b/portfolio/gtfs_digest/district_12-irvine/02__03_report__district_12-irvine__organization_name_university-of-california-irvine.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:41d7321ce9aa65008d09a485633fecf1744fdaba70130af3139ef852eb4773c8 -size 182894 +oid sha256:ba12cd20581e32cd2340c59f3372ee19e849c128c7f6bf79619df00910647cda +size 182565 diff --git a/portfolio/gtfs_digest_testing/README.md b/portfolio/gtfs_digest_testing/README.md index 657237a60..274b6f533 100644 --- a/portfolio/gtfs_digest_testing/README.md +++ b/portfolio/gtfs_digest_testing/README.md @@ -1,5 +1,5 @@ # General Transit Feed Specification (GTFS) Digest -The goal of this website is to give you an overview of transit operators that produce GTFS schedules and/or real-time data. We use data from the National Transit Database, National Association of City Transportation Officials, and GTFS feeds to deliver key insights. You can find details such as the types of routes and the total scheduled hours of public transit service for which an operator runs. +The goal of this website is to give you an overview of transit operators that produce GTFS schedule and/or real-time data. We use data from the [National Transit Database](https://www.transit.dot.gov/ntd), [National Association of City Transportation Officials's Transit Route Types](https://nacto.org/publication/transit-street-design-guide/introduction/service-context/transit-route-types/), and [GTFS feeds](https://gtfs.org/) to deliver key insights. You can find details such as the types of routes and the total scheduled hours of public transit service for which an operator runs. For operators who produce real-time data, we also calculate additional performance metrics for all of their routes. Examples include displaying the number of on-time, early, and late trips, the average speed, and the headway for a route. @@ -9,10 +9,10 @@ GTFS Digest will continue to evolve as we dive into our own data warehouse! To read about the methodology behind and the definitions of terms used throughout our work, please visit [here](https://github.com/cal-itp/data-analyses/blob/main/gtfs_digest/methodology.md). ## Frequently Asked Questions -**Why is time-series table sampling single days?** +**Why are the time-series tables sampling single days?** GTFS provides us with extremely detailed information, such as the time a bus is scheduled to arrive at a stop, and the GPS coordinates of a bus at a given timestamp. When working with granular data like this, a single day statewide can be a very large table. -For context, on our sampled date in January 2024 there were 100k+ trips and 3.6 million+ stop arrivals, and that's just scheduled data. Our vehicle positions table, after deduplicating in our warehouse, had 15 million+ rows. On top of that, each operator can have a quartet of GTFS data (1 schedule table + 3 real-time tables). +For context, on our sampled date in January 2024 there were 100k+ trips and 3.6 million+ stop arrivals, and that's just scheduled data. Our vehicle positions table genereated in real-time, after deduplicating in our warehouse, had 15 million+ rows. On top of that, each operator can have a quartet of GTFS data (1 schedule table + 3 real-time tables). Getting our pipeline right is fairly complex for a single day. Our warehouse has a set of internal keys to ensure we're matching trip for trip across quartets. If you factor in the fact that operators can update their GTFS feeds at any time in the month, there are a lot of things that are changing! @@ -24,9 +24,12 @@ We do have monthly aggregations on our roadmap, but for now, we're building out The Caltrans Division of Data & Digital Services has been ingesting and collecting GTFS data in our warehouse since 2021. Our own internal effort has been to create data pipelines so that the rich and comprehensive data we collect can be processed and made available for public consumption. -There overlaps with the goals of SB 125. There are a set of performance metrics that could be of interest to the task force, the public, and us! However, GTFS Digest is a **GTFS** digest, which means its primary focus is on metrics that can be derived purely from GTFS, and to do it statewide so we can understand transit operator performance. We based a lot of our metrics on the papers by [Professor Gregory Newmark](https://www.morgan.edu/sap/gregory-newmark) that gave us a roadmap of metrics that could be derived solely from GTFS that would create comparisons of transit operators regardless of size, service area and density. +There are overlaps with the goals of SB 125. There are a set of performance metrics that could be of interest to the task force, the public, and us! However, GTFS Digest is a **GTFS** digest, which means its primary focus is on metrics that can be derived purely from GTFS, and to do it statewide so we can understand transit operator performance. We based a lot of our metrics on the papers by [Professor Gregory Newmark](https://www.morgan.edu/sap/gregory-newmark) that gave us a roadmap of metrics that could be derived solely from GTFS that would create comparisons of transit operators regardless of size, service area and density. ## Data Sources +The GTFS Digest is comprised of four major datasets. The processing of the datasets is detailed below. +[![mermaid_diagram1](https://mermaid.ink/img/pako:eNqlVmtv4jgU_StWVhVUCxQooSUjrTSQgf0w3UdhdqUto8pNnMQaY0e2M21a9b_vtU2ApLAzu_sFEvvch-8598YvXiRi4gVet9tdc001IwFarOZLFNKUKI3W3O6cnb2sOUKUUx0g-4hQS2dkQ1oBaj1gRVqdw9U_sKT4gRHV2sFhK5d0g2U5E0xIY_fDB3_uz99XpnvEijzpParf77-FTIWMiTwFYpSTU3uKRILH9Tzm86sP0wOMJlLTGiRJkpbbfjV_8PN6drbma54w8RhlWGr08dYBVPGQSpxnrpC_CakTwahAnzRlVJdoXvBIU8GVg88Hd6lO1H1sK35xD_mZ3cF9AXjVy8vPQRDECep2f9oaDNuhIAo9oRJhHqNnpDPKU4W0OD9AXd4tJKYcDZz9O5Os2Vgcjzc8GW_xXfEWjXiVLQAWo-3WcJeK2SPgyz016vaJA7VKQywIA8EIsuYKPRAIHLuVvUgr1hCKGFYqJAmC9BPKWLBV2BGEiiTNdYWy_B9BOWIdaD6bjvof9qD3g7tfcyKxFtKWZUnkVxoRFGJN3Dnh6GiPtzbD9mHtN0Sm5F5svdzHWGOo_zkYb9M74uGyvdQ4-qJsFYyFIlohkaCdm1wKyBgIq1uaHCMplHrEDMwfqc7QL6vQ-kAJHKIBZ8yGUNtjAYwYyoGESGwI0nRjNyms2sQb9jfmbC7L4RuwzVmLlMC27J3vBNc87LjdXgmNGboVhQn_UKJVmUNTpuW5sbL8vNsbTQ846dYYgVfr4_OpWNP_Tc30ODU6wxrByNEg4bqBgUmTFFIZzuF4hgWzWIfVGTA02t7AMqbPsOA8cLwhqtOwBKpwoYjjEQAO21IWjSLMjcB5SpD4SqQlqXfQ0btzjdrtj4Lb78GPaJnBQDOPtpx7Fpq1sAWa-u32Dc6NPC0cLYiwPQ5COErgbE9g909CvlwssS5kjMuLZQFHLrs_i0Ke5HD2Txx-i77ZZXsO9VdRRuKCERgzAISSwrBT1bhQjl_ojbrt0U5x6jYtE0liJIgP-6DZL6uM8G2ww26BV5ymkqTgIDb6hyIgXeaks2v4zpFGz6BMJjLkAH-mg_bnqvI0GHXQfI1yAOshpqxEy51l1VB1pKHEadcwBvmdEsXMiWLm_3vPlQy-5Xr8H1xbYR1VY3igRqdflcMn3NAQUum-m923c_-IuMJjyvyeoRLWhsqbYeyU1eD_UECd08OibpVQjpnFmECRMYAFFFfnBB1urVPCoSaMlXUHGcGxyekRTCFsTOAStYF7WBXUiraRaZ4DVbuP0ukPQQhi_L3A9vq0myWGvFtqrgqnVBE6VYR-3ZpgZivUAJvvYCQYg_OCbIz37YnfaANuLtvblPmr7jDr3XjfO3ar7t3reMD7BtMYLtz2Vrz27G157QXwGJMEF0yvPbhaAhQXWixLHnmBlgXpeJBJmnlBgpmCtyI3Eggphmm6qSAkpqDUG3ejtxf7jpdj7gUv3pMXXPV7o7E_Gk6Gw_7A9y87XukFg-Gkdzm4Glz7o8l4MvCvXjvesxDgctC7nkyu-0N_7PtXo_FobH39ZfdMuNe_AaRWsro?type=png)](https://mermaid.live/edit#pako:eNqlVmtv4jgU_StWVhVUCxQooSUjrTSQgf0w3UdhdqUto8pNnMQaY0e2M21a9b_vtU2ApLAzu_sFEvvch-8598YvXiRi4gVet9tdc001IwFarOZLFNKUKI3W3O6cnb2sOUKUUx0g-4hQS2dkQ1oBaj1gRVqdw9U_sKT4gRHV2sFhK5d0g2U5E0xIY_fDB3_uz99XpnvEijzpParf77-FTIWMiTwFYpSTU3uKRILH9Tzm86sP0wOMJlLTGiRJkpbbfjV_8PN6drbma54w8RhlWGr08dYBVPGQSpxnrpC_CakTwahAnzRlVJdoXvBIU8GVg88Hd6lO1H1sK35xD_mZ3cF9AXjVy8vPQRDECep2f9oaDNuhIAo9oRJhHqNnpDPKU4W0OD9AXd4tJKYcDZz9O5Os2Vgcjzc8GW_xXfEWjXiVLQAWo-3WcJeK2SPgyz016vaJA7VKQywIA8EIsuYKPRAIHLuVvUgr1hCKGFYqJAmC9BPKWLBV2BGEiiTNdYWy_B9BOWIdaD6bjvof9qD3g7tfcyKxFtKWZUnkVxoRFGJN3Dnh6GiPtzbD9mHtN0Sm5F5svdzHWGOo_zkYb9M74uGyvdQ4-qJsFYyFIlohkaCdm1wKyBgIq1uaHCMplHrEDMwfqc7QL6vQ-kAJHKIBZ8yGUNtjAYwYyoGESGwI0nRjNyms2sQb9jfmbC7L4RuwzVmLlMC27J3vBNc87LjdXgmNGboVhQn_UKJVmUNTpuW5sbL8vNsbTQ846dYYgVfr4_OpWNP_Tc30ODU6wxrByNEg4bqBgUmTFFIZzuF4hgWzWIfVGTA02t7AMqbPsOA8cLwhqtOwBKpwoYjjEQAO21IWjSLMjcB5SpD4SqQlqXfQ0btzjdrtj4Lb78GPaJnBQDOPtpx7Fpq1sAWa-u32Dc6NPC0cLYiwPQ5COErgbE9g909CvlwssS5kjMuLZQFHLrs_i0Ke5HD2Txx-i77ZZXsO9VdRRuKCERgzAISSwrBT1bhQjl_ojbrt0U5x6jYtE0liJIgP-6DZL6uM8G2ww26BV5ymkqTgIDb6hyIgXeaks2v4zpFGz6BMJjLkAH-mg_bnqvI0GHXQfI1yAOshpqxEy51l1VB1pKHEadcwBvmdEsXMiWLm_3vPlQy-5Xr8H1xbYR1VY3igRqdflcMn3NAQUum-m923c_-IuMJjyvyeoRLWhsqbYeyU1eD_UECd08OibpVQjpnFmECRMYAFFFfnBB1urVPCoSaMlXUHGcGxyekRTCFsTOAStYF7WBXUiraRaZ4DVbuP0ukPQQhi_L3A9vq0myWGvFtqrgqnVBE6VYR-3ZpgZivUAJvvYCQYg_OCbIz37YnfaANuLtvblPmr7jDr3XjfO3ar7t3reMD7BtMYLtz2Vrz27G157QXwGJMEF0yvPbhaAhQXWixLHnmBlgXpeJBJmnlBgpmCtyI3Eggphmm6qSAkpqDUG3ejtxf7jpdj7gUv3pMXXPV7o7E_Gk6Gw_7A9y87XukFg-Gkdzm4Glz7o8l4MvCvXjvesxDgctC7nkyu-0N_7PtXo_FobH39ZfdMuNe_AaRWsro) + To download all of the processed data that powers this portfolio, please navigate to the folder titled `gtfs_digest` [here](https://console.cloud.google.com/storage/browser/calitp-publish-data-analysis). You will find the most recent datasets in `.parquet, .csv,.geojson` formats. Match the [readable column names](https://github.com/cal-itp/data-analyses/blob/main/gtfs_digest/readable.yml) to the table names. The data pulled from the Federal Transit Administration's National Transit Data is located [here](https://www.transit.dot.gov/ntd/data-product/2022-annual-database-agency-information). ## Who We Are diff --git a/portfolio/gtfs_digest_testing/_config.yml b/portfolio/gtfs_digest_testing/_config.yml index 9397bd642..7225f238b 100644 --- a/portfolio/gtfs_digest_testing/_config.yml +++ b/portfolio/gtfs_digest_testing/_config.yml @@ -1,7 +1,7 @@ # Book settings # Learn more at https://jupyterbook.org/customize/config.html -title: GTFS Digest testing +title: GTFS Digest author: Cal-ITP copyright: "2024" #logo: calitp_logo_MAIN.png diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/00__03_report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/00__03_report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb new file mode 100644 index 000000000..59353ae77 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/00__03_report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a470670b69c43af3d743bbae5f75ca9b3480f9b1ff45685d3f86540d9c500989 +size 50907417 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/00___report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/00___report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb deleted file mode 100644 index 971730c43..000000000 --- a/portfolio/gtfs_digest_testing/district_04-oakland/00___report__district_04-oakland__organization_name_alameda-contra-costa-transit-district.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c0e2f95b230155e73f2723c2b874f0113934732c3b2ad6bbec6d07b1ae6edc7 -size 62011506 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/01__03_report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/01__03_report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb new file mode 100644 index 000000000..cf6ee0c74 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/01__03_report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e2443bf91dc2f60b0eb5406f210b1c3f9610ca6138893420469fc73f37869c2 +size 146827 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/01___report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/01___report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb deleted file mode 100644 index fb56a8f95..000000000 --- a/portfolio/gtfs_digest_testing/district_04-oakland/01___report__district_04-oakland__organization_name_capitol-corridor-joint-powers-authority.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5d26764c35c281e9385d23a380a5352e157cf6899b57beac98036a18d5001eb8 -size 167959 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/02__03_report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/02__03_report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb new file mode 100644 index 000000000..1fbf76518 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/02__03_report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:630d70becd4e4c229418aef9dc38161eceaeaac77398472050184c51278034ed +size 29637715 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/02___report__district_04-oakland__organization_name_central-contra-costa-transit-authority.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/02___report__district_04-oakland__organization_name_central-contra-costa-transit-authority.ipynb deleted file mode 100644 index 709ae3a8a..000000000 --- a/portfolio/gtfs_digest_testing/district_04-oakland/02___report__district_04-oakland__organization_name_central-contra-costa-transit-authority.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:51ddbd068b7536163cbe5ffb47f5e4755dec135bcfb744caa7656a1a9fbe97bc -size 25129033 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/03__03_report__district_04-oakland__organization_name_city-of-fairfield.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/03__03_report__district_04-oakland__organization_name_city-of-fairfield.ipynb new file mode 100644 index 000000000..bd95830fd --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/03__03_report__district_04-oakland__organization_name_city-of-fairfield.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24bf418d9a0ae211776305c25299f3c01e1963cf5cdd5679fbac48cd8402e820 +size 3270348 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/03___report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/03___report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb deleted file mode 100644 index ff9afda0a..000000000 --- a/portfolio/gtfs_digest_testing/district_04-oakland/03___report__district_04-oakland__organization_name_city-and-county-of-san-francisco.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a02aba086b27ea31ed5802df59ca99701fbb977b830d0a45865aaf6014b75d53 -size 37213552 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/04__03_report__district_04-oakland__organization_name_city-of-menlo-park.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/04__03_report__district_04-oakland__organization_name_city-of-menlo-park.ipynb new file mode 100644 index 000000000..1e50dd4e8 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/04__03_report__district_04-oakland__organization_name_city-of-menlo-park.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68207b97955e0ca7d16282328cd52b990e9870dba0961ee57a96abad6c1e8066 +size 522168 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/04___report__district_04-oakland__organization_name_city-of-fairfield.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/04___report__district_04-oakland__organization_name_city-of-fairfield.ipynb deleted file mode 100644 index c854b8f92..000000000 --- a/portfolio/gtfs_digest_testing/district_04-oakland/04___report__district_04-oakland__organization_name_city-of-fairfield.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb22013846c97cba5f1982c49bae2efee9975b7e4886cd5c2a0d6d6fdf8ac8ea -size 4081239 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/05__03_report__district_04-oakland__organization_name_city-of-south-san-francisco.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/05__03_report__district_04-oakland__organization_name_city-of-south-san-francisco.ipynb new file mode 100644 index 000000000..8ffccd631 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/05__03_report__district_04-oakland__organization_name_city-of-south-san-francisco.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c66f61b6cd84449bc4d0d1209a3bdbb0a3e3b60c59ee4fcda1cb886302a2fffb +size 128512 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/05___report__district_04-oakland__organization_name_marin-county-transit-district.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/05___report__district_04-oakland__organization_name_marin-county-transit-district.ipynb deleted file mode 100644 index d46f7cd86..000000000 --- a/portfolio/gtfs_digest_testing/district_04-oakland/05___report__district_04-oakland__organization_name_marin-county-transit-district.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8be13e6330539d94d7af93f5a64a915d8891479930aa0e5dfea24215bca0f654 -size 11242145 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/06__03_report__district_04-oakland__organization_name_city-of-union-city.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/06__03_report__district_04-oakland__organization_name_city-of-union-city.ipynb new file mode 100644 index 000000000..7331a149c --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/06__03_report__district_04-oakland__organization_name_city-of-union-city.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66eb80288f1cecf5f119d6f75e55a4cc7f813a2c6768da328cc4bf184f11e899 +size 2525506 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/06___report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/06___report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb deleted file mode 100644 index d77b0453b..000000000 --- a/portfolio/gtfs_digest_testing/district_04-oakland/06___report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f8b62c1b425dce84ffa31112aab87225c590237991a97ea15501faffe307f4f -size 3799069 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/07__03_report__district_04-oakland__organization_name_city-of-vacaville.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/07__03_report__district_04-oakland__organization_name_city-of-vacaville.ipynb new file mode 100644 index 000000000..b8039ae8e --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/07__03_report__district_04-oakland__organization_name_city-of-vacaville.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65525b9cd3c65a8451447b9ec58b1f1d41a663814779526eaab54576482df278 +size 205316 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/07___report__district_04-oakland__organization_name_presidio-trust.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/07___report__district_04-oakland__organization_name_presidio-trust.ipynb deleted file mode 100644 index 41998c440..000000000 --- a/portfolio/gtfs_digest_testing/district_04-oakland/07___report__district_04-oakland__organization_name_presidio-trust.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd20692f51fc7e22945d8463cab87f62106e15d5e2d07d3f83dc769c25b36389 -size 867703 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/08__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/08__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb new file mode 100644 index 000000000..00a76881f --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/08__03_report__district_04-oakland__organization_name_emeryville-transportation-management-agency.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca560477ae93c1f73c57093ec0bb0e8ba188531e55e3122cc49a97431f62ed53 +size 441046 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/08___report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/08___report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb deleted file mode 100644 index 8e1f5182d..000000000 --- a/portfolio/gtfs_digest_testing/district_04-oakland/08___report__district_04-oakland__organization_name_san-mateo-county-transit-district.ipynb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:51dedeeae0044c3b8b5488c3ab15a76eb3bcac19573460fc72201e82f804436d -size 33151725 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/09__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/09__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb new file mode 100644 index 000000000..98d61df1f --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/09__03_report__district_04-oakland__organization_name_livermore-amador-valley-transit-authority.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0828770e496f9b96dd8f167690fbb64791d23fdf87158949e650c77ca5f692c +size 9470950 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/10__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/10__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb new file mode 100644 index 000000000..f83716f7f --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/10__03_report__district_04-oakland__organization_name_marin-county-transit-district.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0823b46758a4b4bbc4d3cc878f88e02681f7211d36d62e273ce48c475509276c +size 9241173 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/11__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/11__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb new file mode 100644 index 000000000..1e8ee1b83 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/11__03_report__district_04-oakland__organization_name_napa-valley-transportation-authority.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82e82801416f13b256699f52221fc7cf95d5e29542eb5de835743919f1009abb +size 3002771 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/12__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/12__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb new file mode 100644 index 000000000..11daaa4c5 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/12__03_report__district_04-oakland__organization_name_peninsula-corridor-joint-powers-board.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4875418a2c947de544b1b7188c56f9009cc6135d6e49f65ef68a7b636857c9f9 +size 2443422 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/13__03_report__district_04-oakland__organization_name_presidio-trust.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/13__03_report__district_04-oakland__organization_name_presidio-trust.ipynb new file mode 100644 index 000000000..e58788a79 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/13__03_report__district_04-oakland__organization_name_presidio-trust.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7cd17a90faf41e153a62395d4194bc249e726a585ea643723e1df16648e5216 +size 747915 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/14__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/14__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb new file mode 100644 index 000000000..589270130 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/14__03_report__district_04-oakland__organization_name_san-francisco-bay-area-rapid-transit-district.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbd90008c7e4f8b2b683b5b3ec28242209b25e9b4bf827baa55b737ab4c3e258 +size 782570 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/15__03_report__district_04-oakland__organization_name_stanford-university.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/15__03_report__district_04-oakland__organization_name_stanford-university.ipynb new file mode 100644 index 000000000..cbf336bf9 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/15__03_report__district_04-oakland__organization_name_stanford-university.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:111a7912db4d9274228880e4a018a061927fcecafa7f76ce7da297cf1d7e174b +size 250836 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/16__03_report__district_04-oakland__organization_name_university-of-california-berkeley.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/16__03_report__district_04-oakland__organization_name_university-of-california-berkeley.ipynb new file mode 100644 index 000000000..deb0837a0 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/16__03_report__district_04-oakland__organization_name_university-of-california-berkeley.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71f02f28da9e011df1e4ca69a3bc18d8df23857173ee8c66bffcdddb20fdf6bf +size 1690709 diff --git a/portfolio/gtfs_digest_testing/district_04-oakland/17__03_report__district_04-oakland__organization_name_western-contra-costa-transit-authority.ipynb b/portfolio/gtfs_digest_testing/district_04-oakland/17__03_report__district_04-oakland__organization_name_western-contra-costa-transit-authority.ipynb new file mode 100644 index 000000000..a629d5ba9 --- /dev/null +++ b/portfolio/gtfs_digest_testing/district_04-oakland/17__03_report__district_04-oakland__organization_name_western-contra-costa-transit-authority.ipynb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eae6dbb428eb6bd2a5ff80c4565fee2297e0b76e0992bf3988df64a532de63ad +size 5258537 diff --git a/portfolio/sites/gtfs_digest.yml b/portfolio/sites/gtfs_digest.yml index 4c8f74851..bf74509f5 100644 --- a/portfolio/sites/gtfs_digest.yml +++ b/portfolio/sites/gtfs_digest.yml @@ -59,7 +59,6 @@ parts: - organization_name: City of South San Francisco - organization_name: City of Union City - organization_name: City of Vacaville - - organization_name: Cloverdale Transit - organization_name: Eastern Contra Costa Transit Authority - organization_name: Emeryville Transportation Management Agency - organization_name: Livermore-Amador Valley Transit Authority @@ -74,6 +73,7 @@ parts: - organization_name: San Mateo County Transit District - organization_name: Santa Clara Valley Transportation Authority - organization_name: Solano County Transit + - organization_name: Sonoma County - organization_name: Sonoma-Marin Area Rail Transit District - organization_name: Stanford University - organization_name: University of California, Berkeley diff --git a/portfolio/sites/gtfs_digest_testing.yml b/portfolio/sites/gtfs_digest_testing.yml index 9d9f0830d..363b17f6f 100644 --- a/portfolio/sites/gtfs_digest_testing.yml +++ b/portfolio/sites/gtfs_digest_testing.yml @@ -1,6 +1,5 @@ directory: ./gtfs_digest/ -notebook: ./gtfs_digest/_report.ipynb - +notebook: ./gtfs_digest/03_report.ipynb parts: - chapters: - caption: District 04 - Oakland @@ -9,15 +8,22 @@ parts: sections: - organization_name: Alameda-Contra Costa Transit District - organization_name: Capitol Corridor Joint Powers Authority - - organization_name: Central Contra Costa Transit Authority - organization_name: City and County of San Francisco - organization_name: City of Fairfield + - organization_name: City of Menlo Park + - organization_name: City of South San Francisco + - organization_name: City of Union City + - organization_name: City of Vacaville + - organization_name: Emeryville Transportation Management Agency + - organization_name: Livermore-Amador Valley Transit Authority - organization_name: Marin County Transit District - organization_name: Napa Valley Transportation Authority + - organization_name: Peninsula Corridor Joint Powers Board - organization_name: Presidio Trust - - organization_name: San Mateo County Transit District + - organization_name: San Francisco Bay Area Rapid Transit District + - organization_name: Stanford University + - organization_name: University of California, Berkeley + - organization_name: Western Contra Costa Transit Authority readme: ./gtfs_digest/README.md -title: GTFS Digest testing - - +title: GTFS Digest diff --git a/rt_scheduled_v_ran/logs/rt_v_scheduled_route_metrics.log b/rt_scheduled_v_ran/logs/rt_v_scheduled_route_metrics.log index d68f582a2..2b70647bc 100644 --- a/rt_scheduled_v_ran/logs/rt_v_scheduled_route_metrics.log +++ b/rt_scheduled_v_ran/logs/rt_v_scheduled_route_metrics.log @@ -66,3 +66,5 @@ 2024-06-13 17:43:27.638 | INFO | __main__:route_metrics:74 - route aggregation 2024-05-22: 0:00:03.033399 2024-06-13 18:22:48.882 | INFO | __main__:route_metrics:74 - route aggregation 2024-06-12: 0:00:02.676141 2024-07-31 11:52:22.880 | INFO | __main__:route_metrics:74 - route aggregation 2024-07-17: 0:00:02.719825 +2024-08-05 10:46:49.044 | INFO | __main__:route_metrics:84 - route aggregation 2024-07-17: 0:00:03.060244 +2024-08-05 10:49:43.399 | INFO | __main__:route_metrics:84 - route aggregation 2024-07-17: 0:00:02.982204 diff --git a/rt_scheduled_v_ran/scripts/rt_v_scheduled_routes.py b/rt_scheduled_v_ran/scripts/rt_v_scheduled_routes.py index 8225fccd8..7c5bfef9b 100644 --- a/rt_scheduled_v_ran/scripts/rt_v_scheduled_routes.py +++ b/rt_scheduled_v_ran/scripts/rt_v_scheduled_routes.py @@ -52,6 +52,14 @@ def route_metrics( f"{RT_SCHED_GCS}{TRIP_EXPORT}_{analysis_date}.parquet" ) + crosswalk_cols = [ + "schedule_gtfs_dataset_key", + "name", + "schedule_source_record_id", + "base64_url", + "organization_source_record_id", + "organization_name", + "caltrans_district",] route_df = metrics.concatenate_peak_offpeak_allday_averages( trip_df, group_cols = ["schedule_gtfs_dataset_key"] + ROUTE_DIR_COLS, @@ -60,11 +68,13 @@ def route_metrics( metrics.derive_rt_vs_schedule_metrics ).pipe( average_rt_trip_times - ).pipe( - gtfs_schedule_wrangling.merge_operator_identifiers, - [analysis_date] ) + route_df = gtfs_schedule_wrangling.merge_operator_identifiers( + route_df, + [analysis_date], + columns = crosswalk_cols) + # Save route_df.to_parquet( f"{RT_SCHED_GCS}{ROUTE_EXPORT}_{analysis_date}.parquet" From 0832a8856b0c0b8a5fb8bd3d98745ced559ffdb1 Mon Sep 17 00:00:00 2001 From: amandaha8 Date: Tue, 6 Aug 2024 00:06:35 +0000 Subject: [PATCH 2/6] troubleshooting why some rows have so much bunching --- gtfs_digest/27_transit_bunching_seconds.ipynb | 5926 +++++++++++------ 1 file changed, 3756 insertions(+), 2170 deletions(-) diff --git a/gtfs_digest/27_transit_bunching_seconds.ipynb b/gtfs_digest/27_transit_bunching_seconds.ipynb index 4192f4f4d..336f8c646 100644 --- a/gtfs_digest/27_transit_bunching_seconds.ipynb +++ b/gtfs_digest/27_transit_bunching_seconds.ipynb @@ -410,66 +410,6 @@ "trips_freq_routes.head(2)" ] }, - { - "cell_type": "markdown", - "id": "941f10e7-889a-42a1-a30e-7bfea36a51c7", - "metadata": {}, - "source": [ - "#### Why are some trip instance keys duplicated?" - ] - }, - { - "cell_type": "code", - "execution_count": 20, - "id": "8aeab7b7-d6b3-4e83-8309-16f15edddf9f", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "0" - ] - }, - "execution_count": 20, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "len(trips_freq_routes) - trips_freq_routes.trip_instance_key.nunique()" - ] - }, - { - "cell_type": "code", - "execution_count": 21, - "id": "156982df-ebb6-4ef7-b1fa-429a3042b0bf", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "cd1d4fc457d3a3fff6e77e47336bbc98 1\n", - "d94e2fdba686dcfd0b1d49d76f2df439 1\n", - "8f161dedf0303023185c63a35fb71e7f 1\n", - "529494b21ce8100bf81c3e28ad3aaa77 1\n", - "81113671d6b5e279b38edc27b561951e 1\n", - "16ebd4de31b78dd93ff74a38c0a365f2 1\n", - "71fc5466d52fe1afb62d3564a3791ecb 1\n", - "c4289e090cdb8c3e58765ea24e1497ea 1\n", - "3b3ed34bf5cc46ac80e261ea75e9b574 1\n", - "a5a5e1aab21d7ecea2e91fde6ec41c51 1\n", - "Name: trip_instance_key, dtype: int64" - ] - }, - "execution_count": 21, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "trips_freq_routes.trip_instance_key.value_counts().head(10)" - ] - }, { "cell_type": "markdown", "id": "e3be8778-84ff-479f-a3b2-178e374da5f2", @@ -481,7 +421,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 20, "id": "3f6727c6-205f-4cc8-8a68-42e8dec6e4b3", "metadata": {}, "outputs": [], @@ -493,7 +433,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 21, "id": "b9db22cf-e498-4e99-993c-b373231c8bd6", "metadata": {}, "outputs": [ @@ -503,7 +443,7 @@ "(2601262, 7)" ] }, - "execution_count": 23, + "execution_count": 21, "metadata": {}, "output_type": "execute_result" } @@ -514,7 +454,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 22, "id": "049a2833-f132-431a-8f44-92f31cd11d8a", "metadata": {}, "outputs": [], @@ -533,7 +473,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 23, "id": "a4ebc7fa-19b9-480b-8b39-d9ef20fd9037", "metadata": {}, "outputs": [ @@ -543,7 +483,7 @@ "1903905" ] }, - "execution_count": 25, + "execution_count": 23, "metadata": {}, "output_type": "execute_result" } @@ -554,7 +494,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 24, "id": "d1abbbd0-0cee-4f03-a4bb-497209a62498", "metadata": {}, "outputs": [ @@ -564,7 +504,7 @@ "(697357, 14)" ] }, - "execution_count": 26, + "execution_count": 24, "metadata": {}, "output_type": "execute_result" } @@ -573,119 +513,6 @@ "rt_stop_times2.shape" ] }, - { - "cell_type": "code", - "execution_count": 27, - "id": "de4cba37-a23c-44ba-8e67-859765217523", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
0922552258261249.00efbbd5293be71f7a5de0cf82b59febe150617e0d3c1bbedd9803836728767a69619953730e10d20177f6b29f7d2de52645301f18f0e75eaae4dc791180f05782fa8825254Main St & Santa Monica Blvd/UCLA1.00Southbound16.08
1922552310962012.00efbbd5293be71f7a5de0cf82b59febe150617e0d3c1bbedd9803836728767a69628263730e10d20177f6b29f7d2de52645301f18f0e75eaae4dc791180f05782fa8825254Main St & Santa Monica Blvd/UCLA1.00Southbound16.08
\n", - "
" - ], - "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "0 922552 258 2 61249.00 \n", - "1 922552 310 9 62012.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "0 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", - "1 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "0 61995 3730 e10d20177f6b29f7d2de52645301f18f \n", - "1 62826 3730 e10d20177f6b29f7d2de52645301f18f \n", - "\n", - " feed_key route_long_name \\\n", - "0 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", - "1 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", - "\n", - " direction_id route_primary_direction frequency_in_minutes \n", - "0 1.00 Southbound 16.08 \n", - "1 1.00 Southbound 16.08 " - ] - }, - "execution_count": 27, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times2.head(2)" - ] - }, { "cell_type": "markdown", "id": "8845ee2a-5878-417f-94d1-de21a3c56261", @@ -697,7 +524,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 25, "id": "269116cd-242f-4834-a2fa-08f4ae94f14d", "metadata": {}, "outputs": [ @@ -715,7 +542,7 @@ "Name: scheduled_arrival_sec, dtype: float64" ] }, - "execution_count": 28, + "execution_count": 25, "metadata": {}, "output_type": "execute_result" } @@ -726,7 +553,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 26, "id": "0749c6d5-e8e3-49a6-8877-2517a1ebe178", "metadata": {}, "outputs": [ @@ -736,7 +563,7 @@ "27472" ] }, - "execution_count": 29, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } @@ -747,7 +574,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 27, "id": "daae9784-aa88-4dd7-b2dd-56a0743aa1b7", "metadata": {}, "outputs": [], @@ -757,6 +584,93 @@ "].reset_index(drop=True)" ] }, + { + "cell_type": "code", + "execution_count": 28, + "id": "ca2165ab-8553-4874-a774-de7f52ac2028", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "669746" + ] + }, + "execution_count": 28, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(rt_stop_times3)" + ] + }, + { + "cell_type": "code", + "execution_count": 29, + "id": "3fbcd8f2-d394-4d03-b183-edb28f3638b7", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "count 669746.00\n", + "mean 48760.53\n", + "std 17580.67\n", + "min 9420.00\n", + "25% 33720.00\n", + "50% 48540.00\n", + "75% 62640.00\n", + "max 86399.00\n", + "Name: scheduled_arrival_sec, dtype: float64" + ] + }, + "execution_count": 29, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times3.scheduled_arrival_sec.describe()" + ] + }, + { + "cell_type": "code", + "execution_count": 30, + "id": "69002d94-5d7c-42b5-a465-c710ec7d678f", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "count 669746.00\n", + "mean 48828.92\n", + "std 17647.56\n", + "min 0.00\n", + "25% 33814.00\n", + "50% 48581.00\n", + "75% 62840.00\n", + "max 86399.00\n", + "Name: rt_arrival_sec, dtype: float64" + ] + }, + "execution_count": 30, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times3.rt_arrival_sec.describe()" + ] + }, + { + "cell_type": "markdown", + "id": "b15440a8-298b-4943-bf59-bc79e9977c3a", + "metadata": {}, + "source": [ + "##### Help, which columns should I use to sort? Should I keep `feed_key` and `shape_array_key`?" + ] + }, { "cell_type": "code", "execution_count": 31, @@ -846,7 +760,7 @@ "id": "bc8f529b-afee-4d3c-993f-b8ff5dcdb8de", "metadata": {}, "source": [ - "#### Filter out differences of actual-scheduled arrival time that are more or less than one hour" + "#### Filter out values in `delay` that are more or less than one hour" ] }, { @@ -923,27 +837,6 @@ "rt_stop_times5.delay.describe()" ] }, - { - "cell_type": "code", - "execution_count": 38, - "id": "e5524ff8-5f50-4c70-8320-30c523f01508", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "59.86666666666667" - ] - }, - "execution_count": 38, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "3592 / 60" - ] - }, { "cell_type": "markdown", "id": "81bd753a-08ee-4d09-ac79-213e1e605405", @@ -955,7 +848,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 38, "id": "b9171520-7358-4f22-9d9c-c5156e710f1b", "metadata": {}, "outputs": [], @@ -974,7 +867,7 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 39, "id": "f5b62023-ab77-4634-a526-3d822bb7a63f", "metadata": {}, "outputs": [], @@ -994,7 +887,7 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": 40, "id": "6328c5fb-205e-4a78-a3d3-62fafa88a4cd", "metadata": {}, "outputs": [], @@ -1006,8 +899,8 @@ }, { "cell_type": "code", - "execution_count": 42, - "id": "aff6e7d8-1ee3-4c75-9090-bfe43e9e4560", + "execution_count": 41, + "id": "b7da74af-42e0-463f-852b-e22877574a7b", "metadata": {}, "outputs": [ { @@ -1062,137 +955,137 @@ " NaN\n", " \n", " \n", - " 1\n", - " 4201\n", - " 2\n", - " 57300.00\n", - " 57279\n", + " 9\n", + " 4198\n", + " 3\n", + " 56160.00\n", + " 56211\n", " 105-13172\n", " Metro Local Line\n", " 0.00\n", " Westbound\n", " 14.59\n", - " -21.00\n", - " 1146.00\n", - " 1200.00\n", + " 51.00\n", + " NaN\n", + " NaN\n", " \n", " \n", - " 2\n", - " 4201\n", - " 2\n", - " 58500.00\n", - " 58551\n", + " 19\n", + " 10256\n", + " 4\n", + " 56280.00\n", + " 56262\n", " 105-13172\n", " Metro Local Line\n", " 0.00\n", " Westbound\n", " 14.59\n", - " 51.00\n", - " 1272.00\n", - " 1200.00\n", + " -18.00\n", + " NaN\n", + " NaN\n", " \n", " \n", - " 3\n", - " 4201\n", - " 2\n", - " 60900.00\n", - " 61144\n", + " 29\n", + " 10249\n", + " 5\n", + " 56340.00\n", + " 56337\n", " 105-13172\n", " Metro Local Line\n", " 0.00\n", " Westbound\n", " 14.59\n", - " 244.00\n", - " 2593.00\n", - " 2400.00\n", + " -3.00\n", + " NaN\n", + " NaN\n", " \n", " \n", - " 4\n", - " 4201\n", - " 2\n", - " 62100.00\n", - " 61614\n", + " 39\n", + " 36572\n", + " 6\n", + " 56460.00\n", + " 56478\n", " 105-13172\n", " Metro Local Line\n", " 0.00\n", " Westbound\n", " 14.59\n", - " -486.00\n", - " 470.00\n", - " 1200.00\n", + " 18.00\n", + " NaN\n", + " NaN\n", " \n", " \n", - " 5\n", - " 4201\n", - " 2\n", - " 63300.00\n", - " 63384\n", + " 49\n", + " 10243\n", + " 7\n", + " 56580.00\n", + " 56589\n", " 105-13172\n", " Metro Local Line\n", " 0.00\n", " Westbound\n", " 14.59\n", - " 84.00\n", - " 1770.00\n", - " 1200.00\n", + " 9.00\n", + " NaN\n", + " NaN\n", " \n", " \n", - " 6\n", - " 4201\n", - " 2\n", - " 64560.00\n", - " 65168\n", + " 59\n", + " 10244\n", + " 8\n", + " 56700.00\n", + " 56695\n", " 105-13172\n", " Metro Local Line\n", " 0.00\n", " Westbound\n", " 14.59\n", - " 608.00\n", - " 1784.00\n", - " 1260.00\n", + " -5.00\n", + " NaN\n", + " NaN\n", " \n", " \n", - " 7\n", - " 4201\n", - " 2\n", - " 65940.00\n", - " 65585\n", + " 69\n", + " 10251\n", + " 9\n", + " 56820.00\n", + " 56743\n", " 105-13172\n", " Metro Local Line\n", " 0.00\n", " Westbound\n", " 14.59\n", - " -355.00\n", - " 417.00\n", - " 1380.00\n", + " -77.00\n", + " NaN\n", + " NaN\n", " \n", " \n", - " 8\n", - " 4201\n", - " 2\n", - " 67860.00\n", - " 68099\n", + " 79\n", + " 10247\n", + " 10\n", + " 56940.00\n", + " 56832\n", " 105-13172\n", " Metro Local Line\n", " 0.00\n", " Westbound\n", " 14.59\n", - " 239.00\n", - " 2514.00\n", - " 1920.00\n", + " -108.00\n", + " NaN\n", + " NaN\n", " \n", " \n", - " 9\n", - " 4198\n", - " 3\n", - " 56160.00\n", - " 56211\n", + " 89\n", + " 10250\n", + " 11\n", + " 57060.00\n", + " 56955\n", " 105-13172\n", " Metro Local Line\n", " 0.00\n", " Westbound\n", " 14.59\n", - " 51.00\n", + " -105.00\n", " NaN\n", " NaN\n", " \n", @@ -1201,41 +1094,62 @@ "" ], "text/plain": [ - " stop_id stop_sequence scheduled_arrival_sec rt_arrival_sec route_id \\\n", - "0 4201 2 56100.00 56133 105-13172 \n", - "1 4201 2 57300.00 57279 105-13172 \n", - "2 4201 2 58500.00 58551 105-13172 \n", - "3 4201 2 60900.00 61144 105-13172 \n", - "4 4201 2 62100.00 61614 105-13172 \n", - "5 4201 2 63300.00 63384 105-13172 \n", - "6 4201 2 64560.00 65168 105-13172 \n", - "7 4201 2 65940.00 65585 105-13172 \n", - "8 4201 2 67860.00 68099 105-13172 \n", - "9 4198 3 56160.00 56211 105-13172 \n", - "\n", - " route_long_name direction_id route_primary_direction \\\n", - "0 Metro Local Line 0.00 Westbound \n", - "1 Metro Local Line 0.00 Westbound \n", - "2 Metro Local Line 0.00 Westbound \n", - "3 Metro Local Line 0.00 Westbound \n", - "4 Metro Local Line 0.00 Westbound \n", - "5 Metro Local Line 0.00 Westbound \n", - "6 Metro Local Line 0.00 Westbound \n", - "7 Metro Local Line 0.00 Westbound \n", - "8 Metro Local Line 0.00 Westbound \n", - "9 Metro Local Line 0.00 Westbound \n", - "\n", - " frequency_in_minutes delay actual_headway schd_headway \n", - "0 14.59 33.00 NaN NaN \n", - "1 14.59 -21.00 1146.00 1200.00 \n", - "2 14.59 51.00 1272.00 1200.00 \n", - "3 14.59 244.00 2593.00 2400.00 \n", - "4 14.59 -486.00 470.00 1200.00 \n", - "5 14.59 84.00 1770.00 1200.00 \n", - "6 14.59 608.00 1784.00 1260.00 \n", - "7 14.59 -355.00 417.00 1380.00 \n", - "8 14.59 239.00 2514.00 1920.00 \n", - "9 14.59 51.00 NaN NaN " + " stop_id stop_sequence scheduled_arrival_sec rt_arrival_sec route_id \\\n", + "0 4201 2 56100.00 56133 105-13172 \n", + "9 4198 3 56160.00 56211 105-13172 \n", + "19 10256 4 56280.00 56262 105-13172 \n", + "29 10249 5 56340.00 56337 105-13172 \n", + "39 36572 6 56460.00 56478 105-13172 \n", + "49 10243 7 56580.00 56589 105-13172 \n", + "59 10244 8 56700.00 56695 105-13172 \n", + "69 10251 9 56820.00 56743 105-13172 \n", + "79 10247 10 56940.00 56832 105-13172 \n", + "89 10250 11 57060.00 56955 105-13172 \n", + "\n", + " route_long_name direction_id route_primary_direction \\\n", + "0 Metro Local Line 0.00 Westbound \n", + "9 Metro Local Line 0.00 Westbound \n", + "19 Metro Local Line 0.00 Westbound \n", + "29 Metro Local Line 0.00 Westbound \n", + "39 Metro Local Line 0.00 Westbound \n", + "49 Metro Local Line 0.00 Westbound \n", + "59 Metro Local Line 0.00 Westbound \n", + "69 Metro Local Line 0.00 Westbound \n", + "79 Metro Local Line 0.00 Westbound \n", + "89 Metro Local Line 0.00 Westbound \n", + "\n", + " frequency_in_minutes delay actual_headway schd_headway \n", + "0 14.59 33.00 NaN NaN \n", + "9 14.59 51.00 NaN NaN \n", + "19 14.59 -18.00 NaN NaN \n", + "29 14.59 -3.00 NaN NaN \n", + "39 14.59 18.00 NaN NaN \n", + "49 14.59 9.00 NaN NaN \n", + "59 14.59 -5.00 NaN NaN \n", + "69 14.59 -77.00 NaN NaN \n", + "79 14.59 -108.00 NaN NaN \n", + "89 14.59 -105.00 NaN NaN " + ] + }, + "execution_count": 41, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times5.loc[rt_stop_times5.actual_headway.isna()].head(10).drop(columns=drop_for_preview)" + ] + }, + { + "cell_type": "code", + "execution_count": 42, + "id": "77bccaf9-112c-4eb7-a986-348de63889a6", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "20.0" ] }, "execution_count": 42, @@ -1244,7 +1158,20 @@ } ], "source": [ - "rt_stop_times5.head(10).drop(columns=drop_for_preview)" + "1200/60" + ] + }, + { + "cell_type": "code", + "execution_count": 43, + "id": "aff6e7d8-1ee3-4c75-9090-bfe43e9e4560", + "metadata": { + "scrolled": true, + "tags": [] + }, + "outputs": [], + "source": [ + "# rt_stop_times5.head(200).drop(columns=drop_for_preview)" ] }, { @@ -1253,12 +1180,13 @@ "metadata": {}, "source": [ "### Delete out rows that are `nan`??\n", - "* `nans` are not impacted when calculating the mean scheduled headway and whatnot?" + "* I am not sure if `nans` impact calculations of the mean scheduled headway and whatnot?\n", + "* These `nans` are becuase the first `operator-route-stop_id-stop_sequence` combo won't have anything to compare it to." ] }, { "cell_type": "code", - "execution_count": 43, + "execution_count": 44, "id": "2c3a4e87-e6f5-46d3-bce8-ad998c9343d7", "metadata": {}, "outputs": [], @@ -1268,7 +1196,7 @@ }, { "cell_type": "code", - "execution_count": 44, + "execution_count": 45, "id": "588f17d2-5ffb-4bac-b2a1-d96ce2f6d9d9", "metadata": {}, "outputs": [], @@ -1280,17 +1208,137 @@ }, { "cell_type": "code", - "execution_count": 45, + "execution_count": 46, "id": "194fd116-fecf-4a68-a658-7bfc9fd351ce", "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(647207, 668646)" + ] + }, + "execution_count": 46, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(rt_stop_times6),len(rt_stop_times5)" + ] + }, + { + "cell_type": "markdown", + "id": "9b940ef3-76e6-40a0-bea5-91391827ad99", + "metadata": {}, + "source": [ + "### Find the mean scheduled headway for the `operator-route-direction_id-stop_sequence-stop_id-` grain" + ] + }, + { + "cell_type": "code", + "execution_count": 47, + "id": "a1a2713d-bb47-4762-9617-ad090dc2d964", + "metadata": {}, + "outputs": [], + "source": [ + "agg1 = (\n", + " rt_stop_times6.groupby(groupby_cols)\n", + " .agg({\"schd_headway\": \"mean\"})\n", + " .reset_index()\n", + " .rename(columns={\"schd_headway\": \"avg_schd_headway_sec\"})\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 48, + "id": "dcaadfa9-2e8e-4164-9ef1-a007ef53e522", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "RangeIndex: 19260 entries, 0 to 19259\n", + "Data columns (total 9 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 schedule_gtfs_dataset_key 19260 non-null object \n", + " 1 feed_key 19260 non-null object \n", + " 2 shape_array_key 19260 non-null object \n", + " 3 route_id 19260 non-null object \n", + " 4 direction_id 19260 non-null float64\n", + " 5 route_primary_direction 19260 non-null object \n", + " 6 stop_sequence 19260 non-null int64 \n", + " 7 stop_id 19260 non-null object \n", + " 8 avg_schd_headway_sec 19260 non-null float64\n", + "dtypes: float64(2), int64(1), object(6)\n", + "memory usage: 1.3+ MB\n" + ] + } + ], + "source": [ + "agg1.info()" + ] + }, + { + "cell_type": "markdown", + "id": "ca901a25-4d12-4b06-8c3b-50cfc9f41be0", + "metadata": {}, + "source": [ + "#### Merge" + ] + }, + { + "cell_type": "code", + "execution_count": 49, + "id": "9c0f62d9-a794-4223-8b1a-ac14ae48e51f", + "metadata": {}, + "outputs": [], + "source": [ + "m1 = pd.merge(\n", + " rt_stop_times6,\n", + " agg1,\n", + " on=groupby_cols,\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 50, + "id": "750f9b60-d0ab-43e3-8b0c-8cf0089b3f30", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "0" + ] + }, + "execution_count": 50, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(rt_stop_times6) - len(m1)" + ] + }, + { + "cell_type": "code", + "execution_count": 51, + "id": "2f4e508d-db66-49ad-a03f-efe40dcffe62", + "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "\n", - "RangeIndex: 647207 entries, 0 to 647206\n", - "Data columns (total 17 columns):\n", + "Int64Index: 647207 entries, 0 to 647206\n", + "Data columns (total 18 columns):\n", " # Column Non-Null Count Dtype \n", "--- ------ -------------- ----- \n", " 0 trip_id 647207 non-null object \n", @@ -1310,42 +1358,52 @@ " 14 delay 647207 non-null float64\n", " 15 actual_headway 647207 non-null float64\n", " 16 schd_headway 647207 non-null float64\n", - "dtypes: float64(6), int64(2), object(9)\n", - "memory usage: 83.9+ MB\n" + " 17 avg_schd_headway_sec 647207 non-null float64\n", + "dtypes: float64(7), int64(2), object(9)\n", + "memory usage: 93.8+ MB\n" ] } ], "source": [ - "rt_stop_times6.info()" + "m1.info()" ] }, { "cell_type": "markdown", - "id": "9b940ef3-76e6-40a0-bea5-91391827ad99", + "id": "77370f93-20e5-4498-8e4d-e7495fd52cfa", "metadata": {}, "source": [ - "### Find the mean scheduled headway for the `operator-route-direction_id-stop_sequence-stop_id-` grain" + "### Find standard deviation: how far the actual headway is from the mean scheduled headway for the same grain above.\n" ] }, { "cell_type": "code", - "execution_count": 46, - "id": "a1a2713d-bb47-4762-9617-ad090dc2d964", + "execution_count": 52, + "id": "56e3767e-bfbc-47d0-8b21-4264fa3561a3", "metadata": {}, "outputs": [], "source": [ - "agg1 = (\n", - " rt_stop_times6.groupby(groupby_cols)\n", - " .agg({\"schd_headway\": \"mean\"})\n", - " .reset_index()\n", - " .rename(columns={\"schd_headway\": \"avg_schd_headway_sec\"})\n", + "# Takes 1 minute\n", + "std_dev = (\n", + " m1.groupby(groupby_cols)\n", + " .apply(lambda x: (x[\"actual_headway\"] - x[\"avg_schd_headway_sec\"]).std())\n", + " .reset_index(name=\"std_dev_headway\")\n", ")" ] }, + { + "cell_type": "markdown", + "id": "4e5365b0-a652-4331-954d-03de8e08416c", + "metadata": {}, + "source": [ + "#### Why are so many missing? Case 1\n", + "Why are some Groupby and transform: When using groupby and transform, if a group has only one element, the standard deviation is NaN (Not a Number). This is because standard deviation requires at least two data points to calculate." + ] + }, { "cell_type": "code", - "execution_count": 47, - "id": "dcaadfa9-2e8e-4164-9ef1-a007ef53e522", + "execution_count": 53, + "id": "0daab2ac-1a4c-49e2-8324-83cada3f66c8", "metadata": {}, "outputs": [ { @@ -1365,28 +1423,20 @@ " 5 route_primary_direction 19260 non-null object \n", " 6 stop_sequence 19260 non-null int64 \n", " 7 stop_id 19260 non-null object \n", - " 8 avg_schd_headway_sec 19260 non-null float64\n", + " 8 std_dev_headway 17781 non-null float64\n", "dtypes: float64(2), int64(1), object(6)\n", "memory usage: 1.3+ MB\n" ] } ], "source": [ - "agg1.info()" - ] - }, - { - "cell_type": "markdown", - "id": "41bcfaa4-dc97-44cb-8caa-e094fd876d7c", - "metadata": {}, - "source": [ - "#### Check out missing values" + "std_dev.info()" ] }, { "cell_type": "code", - "execution_count": 48, - "id": "39e28dd9-45aa-4e8e-90ce-e5ae1193cd45", + "execution_count": 54, + "id": "d0adea67-57ed-4c34-8ff6-bced21899ab0", "metadata": {}, "outputs": [ { @@ -1418,42 +1468,111 @@ " route_primary_direction\n", " stop_sequence\n", " stop_id\n", - " avg_schd_headway_sec\n", + " std_dev_headway\n", " \n", " \n", " \n", + " \n", + " 1358\n", + " 0666caf3ec1ecc96b74f4477ee4bc939\n", + " 608992664173210532aa3e6cc573be2f\n", + " 13d1f6a199bb8055089a2f96cea449f0\n", + " 108-13172\n", + " 1.00\n", + " Westbound\n", + " 52\n", + " 14644\n", + " NaN\n", + " \n", " \n", "\n", "" ], "text/plain": [ - "Empty DataFrame\n", - "Columns: [schedule_gtfs_dataset_key, feed_key, shape_array_key, route_id, direction_id, route_primary_direction, stop_sequence, stop_id, avg_schd_headway_sec]\n", - "Index: []" + " schedule_gtfs_dataset_key feed_key \\\n", + "1358 0666caf3ec1ecc96b74f4477ee4bc939 608992664173210532aa3e6cc573be2f \n", + "\n", + " shape_array_key route_id direction_id \\\n", + "1358 13d1f6a199bb8055089a2f96cea449f0 108-13172 1.00 \n", + "\n", + " route_primary_direction stop_sequence stop_id std_dev_headway \n", + "1358 Westbound 52 14644 NaN " ] }, - "execution_count": 48, + "execution_count": 54, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "agg1.loc[agg1.avg_schd_headway_sec.isna()].head()" + "std_dev.loc[std_dev.std_dev_headway.isna()].sample(1)" ] }, { "cell_type": "code", - "execution_count": 49, - "id": "75d73ffe-d4d0-4dbb-bb06-01bbc36b6a19", + "execution_count": 55, + "id": "317dfcc5-b35b-463f-aad2-6d9446fd236f", + "metadata": {}, + "outputs": [], + "source": [ + "std_dev2 = std_dev.loc[~std_dev.std_dev_headway.isna()].reset_index(drop = True)" + ] + }, + { + "cell_type": "code", + "execution_count": 56, + "id": "703e900d-3a3d-4e62-abca-ff7b5dea01af", "metadata": {}, "outputs": [ { - "data": { - "text/html": [ - "
\n", - "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
41348410217003302253-DEC2315434382560.000666caf3ec1ecc96b74f4477ee4bc93927d29b3a92104fdcb72b4095ef46fed682590217-131720688a14c97a2ebfe90f5674c1262d741608992664173210532aa3e6cc573be2fMetro Local Line1.00Southbound13.92
41784310217003302323-DEC2315434384360.000666caf3ec1ecc96b74f4477ee4bc939bc7a2481002d5e5b5938a991db4e69d184408217-131720688a14c97a2ebfe90f5674c1262d741608992664173210532aa3e6cc573be2fMetro Local Line1.00Southbound13.92
46215910217003302354-DEC2315434386220.000666caf3ec1ecc96b74f4477ee4bc9392f10227a381957bbf2b4f388e7f2a3e9303217-131720688a14c97a2ebfe90f5674c1262d741608992664173210532aa3e6cc573be2fMetro Local Line1.00Southbound13.92
\n", + "
" + ], "text/plain": [ - "0" + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "413484 10217003302253-DEC23 15434 3 82560.00 \n", + "417843 10217003302323-DEC23 15434 3 84360.00 \n", + "462159 10217003302354-DEC23 15434 3 86220.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "413484 0666caf3ec1ecc96b74f4477ee4bc939 27d29b3a92104fdcb72b4095ef46fed6 \n", + "417843 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", + "462159 0666caf3ec1ecc96b74f4477ee4bc939 2f10227a381957bbf2b4f388e7f2a3e9 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "413484 82590 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "417843 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "462159 303 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "413484 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "417843 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "462159 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes \n", + "413484 Southbound 13.92 \n", + "417843 Southbound 13.92 \n", + "462159 Southbound 13.92 " ] }, - "execution_count": 52, + "execution_count": 59, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "len(rt_stop_times6) - len(m1)" + "rt_stop_times3.loc[(rt_stop_times3.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", + " (rt_stop_times3.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\") & \n", + " (rt_stop_times3.route_id== \"217-13172\") &\n", + " (rt_stop_times3.direction_id == 1) &\n", + " (rt_stop_times3.stop_id == \"15434\")]" ] }, { "cell_type": "code", - "execution_count": 53, - "id": "2f4e508d-db66-49ad-a03f-efe40dcffe62", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "Int64Index: 647207 entries, 0 to 647206\n", - "Data columns (total 18 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 trip_id 647207 non-null object \n", - " 1 stop_id 647207 non-null object \n", - " 2 stop_sequence 647207 non-null int64 \n", - " 3 scheduled_arrival_sec 647207 non-null float64\n", - " 4 schedule_gtfs_dataset_key 647207 non-null object \n", - " 5 trip_instance_key 647207 non-null object \n", - " 6 rt_arrival_sec 647207 non-null int64 \n", - " 7 route_id 647207 non-null object \n", - " 8 shape_array_key 647207 non-null object \n", - " 9 feed_key 647207 non-null object \n", - " 10 route_long_name 647207 non-null object \n", - " 11 direction_id 647207 non-null float64\n", - " 12 route_primary_direction 647207 non-null object \n", - " 13 frequency_in_minutes 647207 non-null float64\n", - " 14 delay 647207 non-null float64\n", - " 15 actual_headway 647207 non-null float64\n", - " 16 schd_headway 647207 non-null float64\n", - " 17 avg_schd_headway_sec 647207 non-null float64\n", - "dtypes: float64(7), int64(2), object(9)\n", - "memory usage: 93.8+ MB\n" - ] - } - ], - "source": [ - "m1.info()" - ] - }, - { - "cell_type": "markdown", - "id": "77370f93-20e5-4498-8e4d-e7495fd52cfa", - "metadata": {}, - "source": [ - "### Find standard deviation: how far the actual headway is from the mean scheduled headway for the same grain above.\n" - ] - }, - { - "cell_type": "code", - "execution_count": 54, - "id": "56e3767e-bfbc-47d0-8b21-4264fa3561a3", - "metadata": {}, - "outputs": [], - "source": [ - "# Takes 1 minute\n", - "\n", - "std_dev = (\n", - " m1.groupby(groupby_cols)\n", - " .apply(lambda x: (x[\"actual_headway\"] - x[\"avg_schd_headway_sec\"]).std())\n", - " .reset_index(name=\"std_dev_headway\")\n", - ")" - ] - }, - { - "cell_type": "markdown", - "id": "4e5365b0-a652-4331-954d-03de8e08416c", - "metadata": {}, - "source": [ - "#### Why are so many missing?\n", - "Why are some Groupby and transform: When using groupby and transform, if a group has only one element, the standard deviation is NaN (Not a Number). This is because standard deviation requires at least two data points to calculate." - ] - }, - { - "cell_type": "code", - "execution_count": 55, - "id": "0daab2ac-1a4c-49e2-8324-83cada3f66c8", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "RangeIndex: 19260 entries, 0 to 19259\n", - "Data columns (total 9 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 schedule_gtfs_dataset_key 19260 non-null object \n", - " 1 feed_key 19260 non-null object \n", - " 2 shape_array_key 19260 non-null object \n", - " 3 route_id 19260 non-null object \n", - " 4 direction_id 19260 non-null float64\n", - " 5 route_primary_direction 19260 non-null object \n", - " 6 stop_sequence 19260 non-null int64 \n", - " 7 stop_id 19260 non-null object \n", - " 8 std_dev_headway 17781 non-null float64\n", - "dtypes: float64(2), int64(1), object(6)\n", - "memory usage: 1.3+ MB\n" - ] - } - ], - "source": [ - "std_dev.info()" - ] - }, - { - "cell_type": "code", - "execution_count": 56, - "id": "44023236-a5ed-412c-bd08-3c68b6a92faf", - "metadata": {}, - "outputs": [], - "source": [ - "m1 = pd.merge(\n", - " m1,\n", - " std_dev,\n", - " on=groupby_cols,\n", - ")" - ] - }, - { - "cell_type": "code", - "execution_count": 57, - "id": "0a8c9815-327f-4830-ada7-c4a2896fa472", + "execution_count": 60, + "id": "606ad2db-e50e-44d4-ac73-16701cadef16", "metadata": {}, "outputs": [ { @@ -1784,239 +2008,222 @@ " route_primary_direction\n", " frequency_in_minutes\n", " delay\n", - " actual_headway\n", - " schd_headway\n", - " avg_schd_headway_sec\n", - " std_dev_headway\n", " \n", " \n", " \n", " \n", - " 0\n", - " 10105002681555-DEC23\n", - " 4201\n", - " 2\n", - " 57300.00\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 1c45265e242009e9589b98d1ec995907\n", - " 57279\n", - " 105-13172\n", - " 6b06373e4a70b2cb094870285bd92bec\n", - " 608992664173210532aa3e6cc573be2f\n", - " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " -21.00\n", - " 1146.00\n", - " 1200.00\n", - " 1470.00\n", - " 826.99\n", - " \n", - " \n", - " 1\n", - " 10105002681615-DEC23\n", - " 4201\n", - " 2\n", - " 58500.00\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 5cac677d47265ba63da650b8878ab403\n", - " 58551\n", - " 105-13172\n", - " 6b06373e4a70b2cb094870285bd92bec\n", - " 608992664173210532aa3e6cc573be2f\n", - " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 51.00\n", - " 1272.00\n", - " 1200.00\n", - " 1470.00\n", - " 826.99\n", - " \n", - " \n", - " 2\n", - " 10105002681655-DEC23\n", - " 4201\n", - " 2\n", - " 60900.00\n", + " 168196\n", + " 10217003302253-DEC23\n", + " 15434\n", + " 3\n", + " 82560.00\n", " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 22bf23b1d4929fe2020cab40e7a7341b\n", - " 61144\n", - " 105-13172\n", - " 6b06373e4a70b2cb094870285bd92bec\n", + " 27d29b3a92104fdcb72b4095ef46fed6\n", + " 82590\n", + " 217-13172\n", + " 0688a14c97a2ebfe90f5674c1262d741\n", " 608992664173210532aa3e6cc573be2f\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 244.00\n", - " 2593.00\n", - " 2400.00\n", - " 1470.00\n", - " 826.99\n", + " 1.00\n", + " Southbound\n", + " 13.92\n", + " 30.00\n", " \n", " \n", - " 3\n", - " 10105002681715-DEC23\n", - " 4201\n", - " 2\n", - " 62100.00\n", + " 168197\n", + " 10217003302323-DEC23\n", + " 15434\n", + " 3\n", + " 84360.00\n", " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 4578120377cc0958d6206117870d4e8a\n", - " 61614\n", - " 105-13172\n", - " 6b06373e4a70b2cb094870285bd92bec\n", + " bc7a2481002d5e5b5938a991db4e69d1\n", + " 84408\n", + " 217-13172\n", + " 0688a14c97a2ebfe90f5674c1262d741\n", " 608992664173210532aa3e6cc573be2f\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " -486.00\n", - " 470.00\n", - " 1200.00\n", - " 1470.00\n", - " 826.99\n", + " 1.00\n", + " Southbound\n", + " 13.92\n", + " 48.00\n", " \n", " \n", - " 4\n", - " 10105002681735-DEC23\n", - " 4201\n", - " 2\n", - " 63300.00\n", + " 168198\n", + " 10217003302354-DEC23\n", + " 15434\n", + " 3\n", + " 86220.00\n", " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 46a44f4560e7a383fd5eda5d4ba8ed7b\n", - " 63384\n", - " 105-13172\n", - " 6b06373e4a70b2cb094870285bd92bec\n", + " 2f10227a381957bbf2b4f388e7f2a3e9\n", + " 303\n", + " 217-13172\n", + " 0688a14c97a2ebfe90f5674c1262d741\n", " 608992664173210532aa3e6cc573be2f\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 84.00\n", - " 1770.00\n", - " 1200.00\n", - " 1470.00\n", - " 826.99\n", + " 1.00\n", + " Southbound\n", + " 13.92\n", + " -85917.00\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "0 10105002681555-DEC23 4201 2 57300.00 \n", - "1 10105002681615-DEC23 4201 2 58500.00 \n", - "2 10105002681655-DEC23 4201 2 60900.00 \n", - "3 10105002681715-DEC23 4201 2 62100.00 \n", - "4 10105002681735-DEC23 4201 2 63300.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "0 0666caf3ec1ecc96b74f4477ee4bc939 1c45265e242009e9589b98d1ec995907 \n", - "1 0666caf3ec1ecc96b74f4477ee4bc939 5cac677d47265ba63da650b8878ab403 \n", - "2 0666caf3ec1ecc96b74f4477ee4bc939 22bf23b1d4929fe2020cab40e7a7341b \n", - "3 0666caf3ec1ecc96b74f4477ee4bc939 4578120377cc0958d6206117870d4e8a \n", - "4 0666caf3ec1ecc96b74f4477ee4bc939 46a44f4560e7a383fd5eda5d4ba8ed7b \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "0 57279 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "1 58551 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "2 61144 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "3 61614 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "4 63384 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "0 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "1 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "2 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "3 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "4 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "0 Westbound 14.59 -21.00 1146.00 \n", - "1 Westbound 14.59 51.00 1272.00 \n", - "2 Westbound 14.59 244.00 2593.00 \n", - "3 Westbound 14.59 -486.00 470.00 \n", - "4 Westbound 14.59 84.00 1770.00 \n", - "\n", - " schd_headway avg_schd_headway_sec std_dev_headway \n", - "0 1200.00 1470.00 826.99 \n", - "1 1200.00 1470.00 826.99 \n", - "2 2400.00 1470.00 826.99 \n", - "3 1200.00 1470.00 826.99 \n", - "4 1200.00 1470.00 826.99 " - ] - }, - "execution_count": 57, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "m1.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 58, - "id": "0dd50953-19b9-473c-b072-7d47b686dbf1", - "metadata": {}, - "outputs": [], - "source": [ - "m1[\"bunching_coefficient\"] = m1.std_dev_headway / m1.avg_schd_headway_sec" - ] - }, - { - "cell_type": "code", - "execution_count": 59, - "id": "ff8ed9e9-4575-4866-a38e-b8a554bf5dad", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "count 645728.00\n", - "mean 0.72\n", - "std 0.43\n", - "min 0.00\n", - "25% 0.47\n", - "50% 0.63\n", - "75% 0.79\n", - "max 5.28\n", - "Name: bunching_coefficient, dtype: float64" + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "168196 10217003302253-DEC23 15434 3 82560.00 \n", + "168197 10217003302323-DEC23 15434 3 84360.00 \n", + "168198 10217003302354-DEC23 15434 3 86220.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "168196 0666caf3ec1ecc96b74f4477ee4bc939 27d29b3a92104fdcb72b4095ef46fed6 \n", + "168197 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", + "168198 0666caf3ec1ecc96b74f4477ee4bc939 2f10227a381957bbf2b4f388e7f2a3e9 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "168196 82590 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "168197 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "168198 303 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "168196 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "168197 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "168198 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay \n", + "168196 Southbound 13.92 30.00 \n", + "168197 Southbound 13.92 48.00 \n", + "168198 Southbound 13.92 -85917.00 " ] }, - "execution_count": 59, + "execution_count": 60, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "m1.bunching_coefficient.describe()" - ] - }, - { - "cell_type": "code", - "execution_count": 60, - "id": "f91fe6e5-9a03-48ad-a1ec-dedb3c0c7a2e", - "metadata": {}, - "outputs": [], - "source": [ - "bunching_by_stops = m1.drop_duplicates(subset=groupby_cols).reset_index(drop=True)" + "rt_stop_times4.loc[(rt_stop_times4.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", + " (rt_stop_times4.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\") & \n", + " (rt_stop_times4.route_id== \"217-13172\") &\n", + " (rt_stop_times4.direction_id == 1) &\n", + " (rt_stop_times4.stop_id == \"15434\")]" ] }, { "cell_type": "code", "execution_count": 61, - "id": "9c20690d-2d15-4c8c-a137-8b889ce45849", + "id": "520e0c9e-5e53-4354-8587-2e55794432b7", "metadata": {}, "outputs": [ { "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headway
16806210217003302253-DEC2315434382560.000666caf3ec1ecc96b74f4477ee4bc93927d29b3a92104fdcb72b4095ef46fed682590217-131720688a14c97a2ebfe90f5674c1262d741608992664173210532aa3e6cc573be2fMetro Local Line1.00Southbound13.9230.00NaNNaN
16806310217003302323-DEC2315434384360.000666caf3ec1ecc96b74f4477ee4bc939bc7a2481002d5e5b5938a991db4e69d184408217-131720688a14c97a2ebfe90f5674c1262d741608992664173210532aa3e6cc573be2fMetro Local Line1.00Southbound13.9248.001818.001800.00
\n", + "
" + ], "text/plain": [ - "627947" + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "168062 10217003302253-DEC23 15434 3 82560.00 \n", + "168063 10217003302323-DEC23 15434 3 84360.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "168062 0666caf3ec1ecc96b74f4477ee4bc939 27d29b3a92104fdcb72b4095ef46fed6 \n", + "168063 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "168062 82590 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "168063 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "168062 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "168063 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "168062 Southbound 13.92 30.00 NaN \n", + "168063 Southbound 13.92 48.00 1818.00 \n", + "\n", + " schd_headway \n", + "168062 NaN \n", + "168063 1800.00 " ] }, "execution_count": 61, @@ -2025,99 +2232,236 @@ } ], "source": [ - "len(m1) - len(bunching_by_stops)" + "rt_stop_times5.loc[(rt_stop_times5.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", + " (rt_stop_times5.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\") & \n", + " (rt_stop_times5.route_id== \"217-13172\") &\n", + " (rt_stop_times5.direction_id == 1) &\n", + " (rt_stop_times5.stop_id == \"15434\")]" ] }, { "cell_type": "code", "execution_count": 62, - "id": "8d5f66bb-6e25-4548-afb9-7603ae794cf4", + "id": "261ebbfe-03c2-47c8-8f44-66daa95e5ace", "metadata": {}, "outputs": [ { "data": { - "text/plain": [ - "19260" - ] - }, + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headway
16168510217003302323-DEC2315434384360.000666caf3ec1ecc96b74f4477ee4bc939bc7a2481002d5e5b5938a991db4e69d184408217-131720688a14c97a2ebfe90f5674c1262d741608992664173210532aa3e6cc573be2fMetro Local Line1.00Southbound13.9248.001818.001800.00
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "161685 10217003302323-DEC23 15434 3 84360.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "161685 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "161685 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "161685 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "161685 Southbound 13.92 48.00 1818.00 \n", + "\n", + " schd_headway \n", + "161685 1800.00 " + ] + }, "execution_count": 62, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "len(bunching_by_stops)" + "rt_stop_times6.loc[(rt_stop_times6.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", + " (rt_stop_times6.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\") & \n", + " (rt_stop_times6.route_id== \"217-13172\") &\n", + " (rt_stop_times6.direction_id == 1) &\n", + " (rt_stop_times6.stop_id == \"15434\")]" ] }, { - "cell_type": "code", - "execution_count": 63, - "id": "67a7eb7c-1662-482a-8adc-28353e7ccacc", + "cell_type": "markdown", + "id": "7a0cbab9-14d2-4926-af33-3a47cef4f810", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "RangeIndex: 19260 entries, 0 to 19259\n", - "Data columns (total 20 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 trip_id 19260 non-null object \n", - " 1 stop_id 19260 non-null object \n", - " 2 stop_sequence 19260 non-null int64 \n", - " 3 scheduled_arrival_sec 19260 non-null float64\n", - " 4 schedule_gtfs_dataset_key 19260 non-null object \n", - " 5 trip_instance_key 19260 non-null object \n", - " 6 rt_arrival_sec 19260 non-null int64 \n", - " 7 route_id 19260 non-null object \n", - " 8 shape_array_key 19260 non-null object \n", - " 9 feed_key 19260 non-null object \n", - " 10 route_long_name 19260 non-null object \n", - " 11 direction_id 19260 non-null float64\n", - " 12 route_primary_direction 19260 non-null object \n", - " 13 frequency_in_minutes 19260 non-null float64\n", - " 14 delay 19260 non-null float64\n", - " 15 actual_headway 19260 non-null float64\n", - " 16 schd_headway 19260 non-null float64\n", - " 17 avg_schd_headway_sec 19260 non-null float64\n", - " 18 std_dev_headway 17781 non-null float64\n", - " 19 bunching_coefficient 17781 non-null float64\n", - "dtypes: float64(9), int64(2), object(9)\n", - "memory usage: 2.9+ MB\n" - ] - } - ], "source": [ - "bunching_by_stops.info()" + "#### Missing rows Case 2\n", + "* There are only 2 rows, I guess there needs to be at least 3 rows to calculate the standard deviation since the first row of a combo won't have anything." ] }, { "cell_type": "code", - "execution_count": 64, - "id": "6e2bb73c-f3f7-4c70-84a8-a4d25d7aee3c", + "execution_count": 63, + "id": "75d0abfa-ead3-4c11-a34d-275920500052", "metadata": {}, "outputs": [ { "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headwayavg_schd_headway_sec
17940510234000780433-DEC23153835819380.000666caf3ec1ecc96b74f4477ee4bc9393741cc1a8fd3d2ea5ddc59ba1766c0f519418234-131726f33c9cd019664d5085f94294aeacfd3608992664173210532aa3e6cc573be2fMetro Local Line1.00Southbound14.4238.001841.001800.001800.00
\n", + "
" + ], "text/plain": [ - "0" + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "179405 10234000780433-DEC23 15383 58 19380.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "179405 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "179405 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "179405 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "179405 Southbound 14.42 38.00 1841.00 \n", + "\n", + " schd_headway avg_schd_headway_sec \n", + "179405 1800.00 1800.00 " ] }, - "execution_count": 64, + "execution_count": 63, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "len(bunching_by_stops.loc[bunching_by_stops.avg_schd_headway_sec == 0])" + "m1.loc[(m1.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", + " (m1.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\") & \n", + " (m1.route_id== \"234-13172\") &\n", + " (m1.direction_id == 1) &\n", + " (m1.stop_id == \"15383\")]" ] }, { "cell_type": "code", - "execution_count": 65, - "id": "38e7f27b-2007-45f0-9de7-3eee6ed3e89f", + "execution_count": 64, + "id": "e942226b-bb2a-4ab7-ae0f-055c8b7fc048", "metadata": {}, "outputs": [ { @@ -2155,191 +2499,86 @@ " direction_id\n", " route_primary_direction\n", " frequency_in_minutes\n", - " delay\n", - " actual_headway\n", - " schd_headway\n", - " avg_schd_headway_sec\n", - " std_dev_headway\n", - " bunching_coefficient\n", " \n", " \n", " \n", " \n", - " 118\n", - " 10105002702025-DEC23\n", - " 14378\n", - " 74\n", - " 78300.00\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 36ee13d32f4bf2db3f32fd63fe28b0c2\n", - " 78933\n", - " 105-13172\n", - " 9fde99fa2d6b8a169d5d8292a8ed8569\n", - " 608992664173210532aa3e6cc573be2f\n", - " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 633.00\n", - " 18159.00\n", - " 17760.00\n", - " 17760.00\n", - " NaN\n", - " NaN\n", - " \n", - " \n", - " 119\n", - " 10105002702025-DEC23\n", - " 16532\n", - " 75\n", - " 78420.00\n", + " 256950\n", + " 10234000780433-DEC23\n", + " 15383\n", + " 58\n", + " 19380.00\n", " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 36ee13d32f4bf2db3f32fd63fe28b0c2\n", - " 80236\n", - " 105-13172\n", - " 9fde99fa2d6b8a169d5d8292a8ed8569\n", - " 608992664173210532aa3e6cc573be2f\n", - " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 1816.00\n", - " 19263.00\n", - " 17760.00\n", - " 17760.00\n", - " NaN\n", - " NaN\n", - " \n", - " \n", - " 461\n", - " 10108004260622-DEC23\n", - " 5813\n", - " 83\n", - " 28200.00\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " f1f8d5c03f5eadd84b8da65441d17289\n", - " 28948\n", - " 108-13172\n", - " 138b97aca980bbb9aff7385a1df831cb\n", - " 608992664173210532aa3e6cc573be2f\n", - " Metro Local Line\n", - " 0.00\n", - " Eastbound\n", - " 13.72\n", - " 748.00\n", - " 2670.00\n", - " 1800.00\n", - " 1800.00\n", - " NaN\n", - " NaN\n", - " \n", - " \n", - " 539\n", - " 10108004430722-DEC23\n", - " 5896\n", - " 79\n", - " 33120.00\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 39af89e6e302860227156f8732ee7cc2\n", - " 34034\n", - " 108-13172\n", - " 14354ac3912b3209f33b3378a8b79df6\n", + " 3741cc1a8fd3d2ea5ddc59ba1766c0f5\n", + " 19418\n", + " 234-13172\n", + " 6f33c9cd019664d5085f94294aeacfd3\n", " 608992664173210532aa3e6cc573be2f\n", " Metro Local Line\n", - " 0.00\n", - " Eastbound\n", - " 13.72\n", - " 914.00\n", - " 2638.00\n", - " 2160.00\n", - " 2160.00\n", - " NaN\n", - " NaN\n", + " 1.00\n", + " Southbound\n", + " 14.42\n", " \n", " \n", - " 975\n", - " 10108004510555-DEC23\n", - " 1635\n", - " 3\n", - " 21480.00\n", + " 482097\n", + " 10234000780403-DEC23\n", + " 15383\n", + " 58\n", + " 17580.00\n", " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " d8a16d74fc54fd3c17c96a4f351c0fd6\n", - " 21521\n", - " 108-13172\n", - " 13d1f6a199bb8055089a2f96cea449f0\n", + " bd2c7c473164147ae73920b7ea99c3b6\n", + " 17577\n", + " 234-13172\n", + " 6f33c9cd019664d5085f94294aeacfd3\n", " 608992664173210532aa3e6cc573be2f\n", " Metro Local Line\n", " 1.00\n", - " Westbound\n", - " 14.92\n", - " 41.00\n", - " 3304.00\n", - " 3180.00\n", - " 3180.00\n", - " NaN\n", - " NaN\n", + " Southbound\n", + " 14.42\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "118 10105002702025-DEC23 14378 74 78300.00 \n", - "119 10105002702025-DEC23 16532 75 78420.00 \n", - "461 10108004260622-DEC23 5813 83 28200.00 \n", - "539 10108004430722-DEC23 5896 79 33120.00 \n", - "975 10108004510555-DEC23 1635 3 21480.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "118 0666caf3ec1ecc96b74f4477ee4bc939 36ee13d32f4bf2db3f32fd63fe28b0c2 \n", - "119 0666caf3ec1ecc96b74f4477ee4bc939 36ee13d32f4bf2db3f32fd63fe28b0c2 \n", - "461 0666caf3ec1ecc96b74f4477ee4bc939 f1f8d5c03f5eadd84b8da65441d17289 \n", - "539 0666caf3ec1ecc96b74f4477ee4bc939 39af89e6e302860227156f8732ee7cc2 \n", - "975 0666caf3ec1ecc96b74f4477ee4bc939 d8a16d74fc54fd3c17c96a4f351c0fd6 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "118 78933 105-13172 9fde99fa2d6b8a169d5d8292a8ed8569 \n", - "119 80236 105-13172 9fde99fa2d6b8a169d5d8292a8ed8569 \n", - "461 28948 108-13172 138b97aca980bbb9aff7385a1df831cb \n", - "539 34034 108-13172 14354ac3912b3209f33b3378a8b79df6 \n", - "975 21521 108-13172 13d1f6a199bb8055089a2f96cea449f0 \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "118 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "119 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "461 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "539 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "975 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "118 Westbound 14.59 633.00 18159.00 \n", - "119 Westbound 14.59 1816.00 19263.00 \n", - "461 Eastbound 13.72 748.00 2670.00 \n", - "539 Eastbound 13.72 914.00 2638.00 \n", - "975 Westbound 14.92 41.00 3304.00 \n", - "\n", - " schd_headway avg_schd_headway_sec std_dev_headway bunching_coefficient \n", - "118 17760.00 17760.00 NaN NaN \n", - "119 17760.00 17760.00 NaN NaN \n", - "461 1800.00 1800.00 NaN NaN \n", - "539 2160.00 2160.00 NaN NaN \n", - "975 3180.00 3180.00 NaN NaN " + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "256950 10234000780433-DEC23 15383 58 19380.00 \n", + "482097 10234000780403-DEC23 15383 58 17580.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "256950 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", + "482097 0666caf3ec1ecc96b74f4477ee4bc939 bd2c7c473164147ae73920b7ea99c3b6 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "256950 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "482097 17577 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "256950 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "482097 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes \n", + "256950 Southbound 14.42 \n", + "482097 Southbound 14.42 " ] }, - "execution_count": 65, + "execution_count": 64, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "bunching_by_stops.loc[bunching_by_stops.bunching_coefficient.isna()].head()" + "rt_stop_times2.loc[(rt_stop_times2.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", + " (rt_stop_times2.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\") & \n", + " (rt_stop_times2.route_id== \"234-13172\") &\n", + " (rt_stop_times2.direction_id == 1) &\n", + " (rt_stop_times2.stop_id == \"15383\")]" ] }, { "cell_type": "code", - "execution_count": 66, - "id": "ff15d906-b0c3-47b3-913c-bae9c147f537", + "execution_count": 65, + "id": "b460d441-2d2d-42ec-b8af-a196561c2774", "metadata": {}, "outputs": [ { @@ -2377,75 +2616,86 @@ " direction_id\n", " route_primary_direction\n", " frequency_in_minutes\n", - " delay\n", - " actual_headway\n", - " schd_headway\n", " \n", " \n", " \n", " \n", - " 5675\n", - " 10105002702025-DEC23\n", - " 14378\n", - " 74\n", - " 78300.00\n", + " 256533\n", + " 10234000780433-DEC23\n", + " 15383\n", + " 58\n", + " 19380.00\n", " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 36ee13d32f4bf2db3f32fd63fe28b0c2\n", - " 78933\n", - " 105-13172\n", - " 9fde99fa2d6b8a169d5d8292a8ed8569\n", + " 3741cc1a8fd3d2ea5ddc59ba1766c0f5\n", + " 19418\n", + " 234-13172\n", + " 6f33c9cd019664d5085f94294aeacfd3\n", " 608992664173210532aa3e6cc573be2f\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 633.00\n", - " 18159.00\n", - " 17760.00\n", + " 1.00\n", + " Southbound\n", + " 14.42\n", + " \n", + " \n", + " 462564\n", + " 10234000780403-DEC23\n", + " 15383\n", + " 58\n", + " 17580.00\n", + " 0666caf3ec1ecc96b74f4477ee4bc939\n", + " bd2c7c473164147ae73920b7ea99c3b6\n", + " 17577\n", + " 234-13172\n", + " 6f33c9cd019664d5085f94294aeacfd3\n", + " 608992664173210532aa3e6cc573be2f\n", + " Metro Local Line\n", + " 1.00\n", + " Southbound\n", + " 14.42\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "5675 10105002702025-DEC23 14378 74 78300.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "5675 0666caf3ec1ecc96b74f4477ee4bc939 36ee13d32f4bf2db3f32fd63fe28b0c2 \n", + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "256533 10234000780433-DEC23 15383 58 19380.00 \n", + "462564 10234000780403-DEC23 15383 58 17580.00 \n", "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "5675 78933 105-13172 9fde99fa2d6b8a169d5d8292a8ed8569 \n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "256533 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", + "462564 0666caf3ec1ecc96b74f4477ee4bc939 bd2c7c473164147ae73920b7ea99c3b6 \n", "\n", - " feed_key route_long_name direction_id \\\n", - "5675 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", + " rt_arrival_sec route_id shape_array_key \\\n", + "256533 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "462564 17577 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "5675 Westbound 14.59 633.00 18159.00 \n", + " feed_key route_long_name direction_id \\\n", + "256533 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "462564 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", "\n", - " schd_headway \n", - "5675 17760.00 " + " route_primary_direction frequency_in_minutes \n", + "256533 Southbound 14.42 \n", + "462564 Southbound 14.42 " ] }, - "execution_count": 66, + "execution_count": 65, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times6.loc[\n", - " (rt_stop_times6.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", - " & (rt_stop_times6.route_id == \"105-13172\")\n", - " & (rt_stop_times6.stop_sequence == 74)\n", - " & (rt_stop_times6.route_primary_direction == \"Westbound\")\n", - " & (rt_stop_times6.stop_id == \"14378\")\n", - "]" + "rt_stop_times3.loc[(rt_stop_times3.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", + " (rt_stop_times3.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\") & \n", + " (rt_stop_times3.route_id== \"234-13172\") &\n", + " (rt_stop_times3.direction_id == 1) &\n", + " (rt_stop_times3.stop_id == \"15383\")]" ] }, { "cell_type": "code", - "execution_count": 67, - "id": "b4f41511-049a-440f-93fb-c06a67b8e904", + "execution_count": 66, + "id": "33068379-3c4a-400c-baad-94487cad9d72", "metadata": {}, "outputs": [ { @@ -2484,172 +2734,426 @@ " route_primary_direction\n", " frequency_in_minutes\n", " delay\n", - " actual_headway\n", - " schd_headway\n", " \n", " \n", " \n", " \n", - " 5793\n", - " 10105002701506-DEC23\n", - " 14378\n", - " 74\n", - " 60540.00\n", + " 186848\n", + " 10234000780403-DEC23\n", + " 15383\n", + " 58\n", + " 17580.00\n", " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " a262350b71374a3ab43d5f15cbd33a76\n", - " 60774\n", - " 105-13172\n", - " 9fde99fa2d6b8a169d5d8292a8ed8569\n", + " bd2c7c473164147ae73920b7ea99c3b6\n", + " 17577\n", + " 234-13172\n", + " 6f33c9cd019664d5085f94294aeacfd3\n", " 608992664173210532aa3e6cc573be2f\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 234.00\n", - " NaN\n", - " NaN\n", + " 1.00\n", + " Southbound\n", + " 14.42\n", + " -3.00\n", " \n", " \n", - " 5794\n", - " 10105002702025-DEC23\n", - " 14378\n", - " 74\n", - " 78300.00\n", + " 186849\n", + " 10234000780433-DEC23\n", + " 15383\n", + " 58\n", + " 19380.00\n", " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 36ee13d32f4bf2db3f32fd63fe28b0c2\n", - " 78933\n", - " 105-13172\n", - " 9fde99fa2d6b8a169d5d8292a8ed8569\n", + " 3741cc1a8fd3d2ea5ddc59ba1766c0f5\n", + " 19418\n", + " 234-13172\n", + " 6f33c9cd019664d5085f94294aeacfd3\n", " 608992664173210532aa3e6cc573be2f\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 633.00\n", - " 18159.00\n", - " 17760.00\n", + " 1.00\n", + " Southbound\n", + " 14.42\n", + " 38.00\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "5793 10105002701506-DEC23 14378 74 60540.00 \n", - "5794 10105002702025-DEC23 14378 74 78300.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "5793 0666caf3ec1ecc96b74f4477ee4bc939 a262350b71374a3ab43d5f15cbd33a76 \n", - "5794 0666caf3ec1ecc96b74f4477ee4bc939 36ee13d32f4bf2db3f32fd63fe28b0c2 \n", + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "186848 10234000780403-DEC23 15383 58 17580.00 \n", + "186849 10234000780433-DEC23 15383 58 19380.00 \n", "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "5793 60774 105-13172 9fde99fa2d6b8a169d5d8292a8ed8569 \n", - "5794 78933 105-13172 9fde99fa2d6b8a169d5d8292a8ed8569 \n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "186848 0666caf3ec1ecc96b74f4477ee4bc939 bd2c7c473164147ae73920b7ea99c3b6 \n", + "186849 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", "\n", - " feed_key route_long_name direction_id \\\n", - "5793 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "5794 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", + " rt_arrival_sec route_id shape_array_key \\\n", + "186848 17577 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "186849 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "5793 Westbound 14.59 234.00 NaN \n", - "5794 Westbound 14.59 633.00 18159.00 \n", + " feed_key route_long_name direction_id \\\n", + "186848 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "186849 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", "\n", - " schd_headway \n", - "5793 NaN \n", - "5794 17760.00 " + " route_primary_direction frequency_in_minutes delay \n", + "186848 Southbound 14.42 -3.00 \n", + "186849 Southbound 14.42 38.00 " ] }, - "execution_count": 67, + "execution_count": 66, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times5.loc[\n", - " (rt_stop_times5.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", - " & (rt_stop_times5.route_id == \"105-13172\")\n", - " & (rt_stop_times5.stop_sequence == 74)\n", - " & (rt_stop_times5.route_primary_direction == \"Westbound\")\n", - " & (rt_stop_times5.stop_id == \"14378\")\n", - "]" - ] - }, - { - "cell_type": "markdown", - "id": "1be88577-655e-438c-8398-317e7621d561", - "metadata": {}, - "source": [ - "#### Filter out rows without std_dev now" + "rt_stop_times4.loc[(rt_stop_times4.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", + " (rt_stop_times4.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\") & \n", + " (rt_stop_times4.route_id== \"234-13172\") &\n", + " (rt_stop_times4.direction_id == 1) &\n", + " (rt_stop_times4.stop_id == \"15383\")]" ] }, { "cell_type": "code", - "execution_count": 68, - "id": "48b57cfb-036e-40a6-9ccf-8236aa81af29", + "execution_count": 67, + "id": "0e84b0ae-c08b-43bb-9c4c-253c4cee3fa1", "metadata": {}, - "outputs": [], - "source": [ - "bunching_by_stops2 = bunching_by_stops.loc[\n", - " ~bunching_by_stops.bunching_coefficient.isna()\n", - "]" + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headway
18670810234000780403-DEC23153835817580.000666caf3ec1ecc96b74f4477ee4bc939bd2c7c473164147ae73920b7ea99c3b617577234-131726f33c9cd019664d5085f94294aeacfd3608992664173210532aa3e6cc573be2fMetro Local Line1.00Southbound14.42-3.00NaNNaN
18670910234000780433-DEC23153835819380.000666caf3ec1ecc96b74f4477ee4bc9393741cc1a8fd3d2ea5ddc59ba1766c0f519418234-131726f33c9cd019664d5085f94294aeacfd3608992664173210532aa3e6cc573be2fMetro Local Line1.00Southbound14.4238.001841.001800.00
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "186708 10234000780403-DEC23 15383 58 17580.00 \n", + "186709 10234000780433-DEC23 15383 58 19380.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "186708 0666caf3ec1ecc96b74f4477ee4bc939 bd2c7c473164147ae73920b7ea99c3b6 \n", + "186709 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "186708 17577 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "186709 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "186708 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "186709 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "186708 Southbound 14.42 -3.00 NaN \n", + "186709 Southbound 14.42 38.00 1841.00 \n", + "\n", + " schd_headway \n", + "186708 NaN \n", + "186709 1800.00 " + ] + }, + "execution_count": 67, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times5.loc[(rt_stop_times5.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", + " (rt_stop_times5.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\") & \n", + " (rt_stop_times5.route_id== \"234-13172\") &\n", + " (rt_stop_times5.direction_id == 1) &\n", + " (rt_stop_times5.stop_id == \"15383\")]" + ] + }, + { + "cell_type": "markdown", + "id": "f6b1aa42-b307-4221-8f44-7059a74098e3", + "metadata": {}, + "source": [ + "#### Merge" + ] + }, + { + "cell_type": "code", + "execution_count": 68, + "id": "44023236-a5ed-412c-bd08-3c68b6a92faf", + "metadata": {}, + "outputs": [], + "source": [ + "m2 = pd.merge(\n", + " m1,\n", + " std_dev2,\n", + " on=groupby_cols,\n", + ")" + ] + }, + { + "cell_type": "markdown", + "id": "d98ddbc8-fe35-4fc1-8980-4c9298295fe2", + "metadata": {}, + "source": [ + "### Bunching coefficient is for the entire grain, rather than each row" ] }, { "cell_type": "code", "execution_count": 69, - "id": "84452e5c-14a0-41e7-af5d-58b438a4ec45", + "id": "0dd50953-19b9-473c-b072-7d47b686dbf1", + "metadata": {}, + "outputs": [], + "source": [ + "m2[\"bunching_coefficient\"] = m2.std_dev_headway / m2.avg_schd_headway_sec" + ] + }, + { + "cell_type": "code", + "execution_count": 70, + "id": "ff8ed9e9-4575-4866-a38e-b8a554bf5dad", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "count 17781.00\n", - "mean 0.79\n", - "std 0.61\n", - "min 0.00\n", - "25% 0.42\n", - "50% 0.61\n", - "75% 0.92\n", - "max 5.28\n", + "count 645728.00\n", + "mean 0.72\n", + "std 0.43\n", + "min 0.00\n", + "25% 0.47\n", + "50% 0.63\n", + "75% 0.79\n", + "max 5.28\n", "Name: bunching_coefficient, dtype: float64" ] }, - "execution_count": 69, + "execution_count": 70, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "bunching_by_stops2.bunching_coefficient.describe()" + "m2.bunching_coefficient.describe()" ] }, { - "cell_type": "markdown", - "id": "ab42cf29-d84c-4b54-9321-cd9f47e4c97a", + "cell_type": "code", + "execution_count": 71, + "id": "8beaaddc-6bf0-4ff2-917e-5a855feabe2b", "metadata": {}, + "outputs": [], "source": [ - "### Bunching Coefficient" + "m2[\"avg_schd_headway_min\"] = (\n", + " m2.avg_schd_headway_sec / 60\n", + ")" ] }, { "cell_type": "code", - "execution_count": 70, - "id": "5e0595a1-13b6-4b2a-b633-907af8aa579d", + "execution_count": 72, + "id": "4ea00728-6f29-4a58-9c4b-ced7c485c7f2", + "metadata": {}, + "outputs": [], + "source": [ + "m2[\"actual_headway_min\"] = m2.actual_headway / 60" + ] + }, + { + "cell_type": "code", + "execution_count": 90, + "id": "b053889d-310e-4c22-b58d-e86fe6f4bbc5", + "metadata": {}, + "outputs": [], + "source": [ + "m2[\"sched_headway_min\"] = m2.schd_headway / 60" + ] + }, + { + "cell_type": "code", + "execution_count": 73, + "id": "f91fe6e5-9a03-48ad-a1ec-dedb3c0c7a2e", + "metadata": {}, + "outputs": [], + "source": [ + "bunching_by_stops = m2.drop_duplicates(subset=groupby_cols).reset_index(drop=True).drop(columns = [\"actual_headway\"])" + ] + }, + { + "cell_type": "code", + "execution_count": 74, + "id": "9c20690d-2d15-4c8c-a137-8b889ce45849", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "627947" + ] + }, + "execution_count": 74, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(m2) - len(bunching_by_stops)" + ] + }, + { + "cell_type": "code", + "execution_count": 75, + "id": "8d5f66bb-6e25-4548-afb9-7603ae794cf4", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "17781" + ] + }, + "execution_count": 75, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(bunching_by_stops)" + ] + }, + { + "cell_type": "code", + "execution_count": 76, + "id": "67a7eb7c-1662-482a-8adc-28353e7ccacc", "metadata": {}, "outputs": [ { - "name": "stderr", + "name": "stdout", "output_type": "stream", "text": [ - "/tmp/ipykernel_1563/2477385351.py:16: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame.\n", - "Try using .loc[row_indexer,col_indexer] = value instead\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " bunching_by_stops2[\"passenger_op_perspective\"] = bunching_by_stops2.apply(\n" + "\n", + "RangeIndex: 17781 entries, 0 to 17780\n", + "Data columns (total 21 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 trip_id 17781 non-null object \n", + " 1 stop_id 17781 non-null object \n", + " 2 stop_sequence 17781 non-null int64 \n", + " 3 scheduled_arrival_sec 17781 non-null float64\n", + " 4 schedule_gtfs_dataset_key 17781 non-null object \n", + " 5 trip_instance_key 17781 non-null object \n", + " 6 rt_arrival_sec 17781 non-null int64 \n", + " 7 route_id 17781 non-null object \n", + " 8 shape_array_key 17781 non-null object \n", + " 9 feed_key 17781 non-null object \n", + " 10 route_long_name 17781 non-null object \n", + " 11 direction_id 17781 non-null float64\n", + " 12 route_primary_direction 17781 non-null object \n", + " 13 frequency_in_minutes 17781 non-null float64\n", + " 14 delay 17781 non-null float64\n", + " 15 schd_headway 17781 non-null float64\n", + " 16 avg_schd_headway_sec 17781 non-null float64\n", + " 17 std_dev_headway 17781 non-null float64\n", + " 18 bunching_coefficient 17781 non-null float64\n", + " 19 avg_schd_headway_min 17781 non-null float64\n", + " 20 actual_headway_min 17781 non-null float64\n", + "dtypes: float64(10), int64(2), object(9)\n", + "memory usage: 2.8+ MB\n" ] } ], + "source": [ + "bunching_by_stops.info()" + ] + }, + { + "cell_type": "markdown", + "id": "ab42cf29-d84c-4b54-9321-cd9f47e4c97a", + "metadata": {}, + "source": [ + "### Bunching Coefficient" + ] + }, + { + "cell_type": "code", + "execution_count": 77, + "id": "5e0595a1-13b6-4b2a-b633-907af8aa579d", + "metadata": {}, + "outputs": [], "source": [ "def coefficient_frequency(row):\n", " if row.bunching_coefficient <= 0.21:\n", @@ -2666,14 +3170,14 @@ " return \"Most vehicles bunched\"\n", "\n", "\n", - "bunching_by_stops2[\"passenger_op_perspective\"] = bunching_by_stops2.apply(\n", + "bunching_by_stops[\"passenger_op_perspective\"] = bunching_by_stops.apply(\n", " lambda x: coefficient_frequency(x), axis=1\n", ")" ] }, { "cell_type": "code", - "execution_count": 71, + "execution_count": 78, "id": "b9ece34e-5ad6-4137-93d4-68db20b9762b", "metadata": {}, "outputs": [ @@ -2689,13 +3193,13 @@ "Name: passenger_op_perspective, dtype: int64" ] }, - "execution_count": 71, + "execution_count": 78, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "bunching_by_stops2.passenger_op_perspective.value_counts()" + "bunching_by_stops.passenger_op_perspective.value_counts()" ] }, { @@ -2708,7 +3212,7 @@ }, { "cell_type": "code", - "execution_count": 72, + "execution_count": 79, "id": "d4df0c20-b3fb-4f9f-aecb-d925f2532fe4", "metadata": {}, "outputs": [ @@ -2718,18 +3222,18 @@ "85" ] }, - "execution_count": 72, + "execution_count": 79, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "bunching_by_stops2.route_id.nunique()" + "bunching_by_stops.route_id.nunique()" ] }, { "cell_type": "code", - "execution_count": 73, + "execution_count": 80, "id": "a865cc4d-28be-4883-8227-464653cf1a26", "metadata": {}, "outputs": [ @@ -2739,7 +3243,7 @@ "93" ] }, - "execution_count": 73, + "execution_count": 80, "metadata": {}, "output_type": "execute_result" } @@ -2750,125 +3254,75 @@ }, { "cell_type": "code", - "execution_count": 74, - "id": "8beaaddc-6bf0-4ff2-917e-5a855feabe2b", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/tmp/ipykernel_1563/1392415314.py:1: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame.\n", - "Try using .loc[row_indexer,col_indexer] = value instead\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " bunching_by_stops2[\"avg_schd_headway_min\"] = (\n" - ] - } - ], - "source": [ - "bunching_by_stops2[\"avg_schd_headway_min\"] = (\n", - " bunching_by_stops2.avg_schd_headway_sec / 60\n", - ")" - ] - }, - { - "cell_type": "code", - "execution_count": 75, - "id": "4ea00728-6f29-4a58-9c4b-ced7c485c7f2", + "execution_count": 81, + "id": "f0cd0242-5605-4fe8-ab72-21bdf8cd432b", "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/tmp/ipykernel_1563/2984705727.py:1: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame.\n", - "Try using .loc[row_indexer,col_indexer] = value instead\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " bunching_by_stops2[\"actual_headway_min\"] = bunching_by_stops2.actual_headway / 60\n" - ] - } - ], + "outputs": [], "source": [ - "bunching_by_stops2[\"actual_headway_min\"] = bunching_by_stops2.actual_headway / 60" + "more_values = [\"scheduled_arrival_sec\",\"std_dev_headway\",\"avg_schd_headway_sec\",\"schd_headway\",\"rt_arrival_sec\"]" ] }, { "cell_type": "code", - "execution_count": 76, + "execution_count": 82, "id": "899bd6e4-02be-43f4-931b-872072960cc6", "metadata": {}, "outputs": [], "source": [ - "drop_for_preview.append(\"scheduled_arrival_sec\")" + "drop_for_preview = drop_for_preview + more_values" ] }, { "cell_type": "code", - "execution_count": 77, + "execution_count": 83, "id": "d9e3ac8e-fb59-4597-8bc5-e09dfa4a7f53", "metadata": {}, - "outputs": [], - "source": [ - "drop_for_preview.append(\"std_dev_headway\")" - ] - }, - { - "cell_type": "code", - "execution_count": 78, - "id": "d6f2ba07-c60e-4abf-b3f1-399e3dce9554", - "metadata": {}, - "outputs": [], - "source": [ - "drop_for_preview.append(\"avg_schd_headway_sec\")" - ] - }, - { - "cell_type": "code", - "execution_count": 79, - "id": "dfd55a04-a665-4aee-b210-358e07cdda9b", - "metadata": {}, - "outputs": [], - "source": [ - "drop_for_preview.append(\"actual_headway\")" - ] - }, - { - "cell_type": "code", - "execution_count": 80, - "id": "ed53fdf6-32ca-43d0-87e3-a0e31b439ef5", - "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "['schedule_gtfs_dataset_key',\n", + " 'trip_instance_key',\n", + " 'shape_array_key',\n", + " 'feed_key',\n", + " 'trip_id',\n", + " 'scheduled_arrival_sec',\n", + " 'std_dev_headway',\n", + " 'avg_schd_headway_sec',\n", + " 'schd_headway',\n", + " 'rt_arrival_sec']" + ] + }, + "execution_count": 83, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ - "drop_for_preview.append(\"schd_headway\")" + "drop_for_preview" ] }, { - "cell_type": "code", - "execution_count": 81, - "id": "1eadfa3a-22a6-47f2-bc83-6bce3931a96b", + "cell_type": "markdown", + "id": "cf41d925-a7d5-48e2-8e48-ef1b09752b6d", "metadata": {}, - "outputs": [], "source": [ - "drop_for_preview.append(\"rt_arrival_sec\")" + "### Fillmore Test" ] }, { "cell_type": "code", - "execution_count": 85, + "execution_count": 84, "id": "480ca3cd-592d-4f2a-9984-015d6b598871", "metadata": {}, "outputs": [], "source": [ - "fillmore = bunching_by_stops2.loc[bunching_by_stops2.route_long_name == \"FILLMORE\"]" + "fillmore = bunching_by_stops.loc[bunching_by_stops.route_long_name == \"FILLMORE\"]" ] }, { "cell_type": "code", - "execution_count": 86, + "execution_count": 85, "id": "6a05dfcc-f938-44ce-80e3-09c9279a1cb5", "metadata": {}, "outputs": [ @@ -2883,7 +3337,7 @@ "Name: passenger_op_perspective, dtype: int64" ] }, - "execution_count": 86, + "execution_count": 85, "metadata": {}, "output_type": "execute_result" } @@ -2894,9 +3348,12 @@ }, { "cell_type": "code", - "execution_count": 82, - "id": "0d84161e-1775-447c-a820-632fad66a83b", - "metadata": {}, + "execution_count": 86, + "id": "ce80809f-266d-44d5-9b9c-7dc1ac7459f2", + "metadata": { + "scrolled": true, + "tags": [] + }, "outputs": [ { "data": { @@ -2928,14 +3385,14 @@ " frequency_in_minutes\n", " delay\n", " bunching_coefficient\n", - " passenger_op_perspective\n", " avg_schd_headway_min\n", " actual_headway_min\n", + " passenger_op_perspective\n", " \n", " \n", " \n", " \n", - " 14682\n", + " 13438\n", " 14630\n", " 2\n", " 22\n", @@ -2945,12 +3402,12 @@ " 7.61\n", " 161.00\n", " 0.49\n", - " Irregular headways, with some bunching\n", " 29.18\n", " 39.20\n", + " Irregular headways, with some bunching\n", " \n", " \n", - " 14683\n", + " 13439\n", " 14609\n", " 7\n", " 22\n", @@ -2960,12 +3417,12 @@ " 7.61\n", " -53.00\n", " 0.73\n", - " Frequent bunching\n", " 22.60\n", " 6.40\n", + " Frequent bunching\n", " \n", " \n", - " 14684\n", + " 13440\n", " 14627\n", " 8\n", " 22\n", @@ -2975,12 +3432,12 @@ " 7.61\n", " -98.00\n", " 0.99\n", - " Most vehicles bunched\n", " 22.60\n", " 5.63\n", + " Most vehicles bunched\n", " \n", " \n", - " 14685\n", + " 13441\n", " 16754\n", " 9\n", " 22\n", @@ -2990,12 +3447,12 @@ " 7.61\n", " 115.00\n", " 0.82\n", - " Most vehicles bunched\n", " 24.17\n", " 36.67\n", + " Most vehicles bunched\n", " \n", " \n", - " 14686\n", + " 13442\n", " 16491\n", " 10\n", " 22\n", @@ -3005,12 +3462,12 @@ " 7.61\n", " 43.00\n", " 0.73\n", - " Frequent bunching\n", " 24.17\n", " 35.57\n", + " Frequent bunching\n", " \n", " \n", - " 14687\n", + " 13443\n", " 16488\n", " 11\n", " 22\n", @@ -3020,12 +3477,12 @@ " 7.61\n", " 21.00\n", " 0.68\n", - " Frequent bunching\n", " 24.15\n", " 35.07\n", + " Frequent bunching\n", " \n", " \n", - " 14688\n", + " 13444\n", " 16493\n", " 12\n", " 22\n", @@ -3035,12 +3492,12 @@ " 7.61\n", " -20.00\n", " 0.67\n", - " Frequent bunching\n", " 24.12\n", " 34.13\n", + " Frequent bunching\n", " \n", " \n", - " 14689\n", + " 13445\n", " 13086\n", " 13\n", " 22\n", @@ -3050,12 +3507,12 @@ " 7.61\n", " -58.00\n", " 0.66\n", - " Frequent bunching\n", " 24.09\n", " 33.28\n", + " Frequent bunching\n", " \n", " \n", - " 14690\n", + " 13446\n", " 14605\n", " 14\n", " 22\n", @@ -3065,12 +3522,12 @@ " 7.61\n", " -113.00\n", " 0.74\n", - " Frequent bunching\n", " 24.05\n", " 32.07\n", + " Frequent bunching\n", " \n", " \n", - " 14691\n", + " 13447\n", " 14624\n", " 15\n", " 22\n", @@ -3080,12 +3537,12 @@ " 7.61\n", " -84.00\n", " 0.67\n", - " Frequent bunching\n", " 24.02\n", " 32.27\n", + " Frequent bunching\n", " \n", " \n", - " 14692\n", + " 13448\n", " 14637\n", " 16\n", " 22\n", @@ -3095,12 +3552,12 @@ " 7.61\n", " -32.00\n", " 0.70\n", - " Frequent bunching\n", " 23.95\n", " 32.62\n", + " Frequent bunching\n", " \n", " \n", - " 14693\n", + " 13449\n", " 14636\n", " 17\n", " 22\n", @@ -3110,12 +3567,12 @@ " 7.61\n", " -108.00\n", " 0.62\n", - " Frequent bunching\n", " 23.89\n", " 30.92\n", + " Frequent bunching\n", " \n", " \n", - " 14694\n", + " 13450\n", " 14641\n", " 18\n", " 22\n", @@ -3125,12 +3582,12 @@ " 7.61\n", " -147.00\n", " 0.56\n", - " Frequent bunching\n", " 23.83\n", " 28.33\n", + " Frequent bunching\n", " \n", " \n", - " 14695\n", + " 13451\n", " 14615\n", " 19\n", " 22\n", @@ -3140,12 +3597,12 @@ " 7.61\n", " 165.00\n", " 0.66\n", - " Frequent bunching\n", " 23.79\n", " 32.02\n", + " Frequent bunching\n", " \n", " \n", - " 14696\n", + " 13452\n", " 14634\n", " 20\n", " 22\n", @@ -3155,12 +3612,12 @@ " 7.61\n", " 109.00\n", " 0.65\n", - " Frequent bunching\n", " 23.77\n", " 31.95\n", + " Frequent bunching\n", " \n", " \n", - " 14697\n", + " 13453\n", " 14612\n", " 21\n", " 22\n", @@ -3170,12 +3627,12 @@ " 7.61\n", " 24.00\n", " 0.65\n", - " Frequent bunching\n", " 23.73\n", " 31.87\n", + " Frequent bunching\n", " \n", " \n", - " 14698\n", + " 13454\n", " 14642\n", " 22\n", " 22\n", @@ -3185,12 +3642,12 @@ " 7.61\n", " -51.00\n", " 0.64\n", - " Frequent bunching\n", " 23.70\n", " 31.78\n", + " Frequent bunching\n", " \n", " \n", - " 14699\n", + " 13455\n", " 14629\n", " 23\n", " 22\n", @@ -3200,12 +3657,12 @@ " 7.61\n", " -139.00\n", " 0.63\n", - " Frequent bunching\n", " 23.67\n", " 31.67\n", + " Frequent bunching\n", " \n", " \n", - " 14700\n", + " 13456\n", " 14617\n", " 24\n", " 22\n", @@ -3215,12 +3672,12 @@ " 7.61\n", " -214.00\n", " 0.59\n", - " Frequent bunching\n", " 23.62\n", " 27.45\n", + " Frequent bunching\n", " \n", " \n", - " 14701\n", + " 13457\n", " 14622\n", " 25\n", " 22\n", @@ -3230,12 +3687,12 @@ " 7.61\n", " -261.00\n", " 0.60\n", - " Frequent bunching\n", " 23.59\n", " 24.13\n", + " Frequent bunching\n", " \n", " \n", - " 14702\n", + " 13458\n", " 14632\n", " 26\n", " 22\n", @@ -3245,12 +3702,12 @@ " 7.61\n", " -119.00\n", " 0.62\n", - " Frequent bunching\n", " 23.53\n", " 22.80\n", + " Frequent bunching\n", " \n", " \n", - " 14703\n", + " 13459\n", " 14618\n", " 27\n", " 22\n", @@ -3260,12 +3717,12 @@ " 7.61\n", " -172.00\n", " 0.60\n", - " Frequent bunching\n", " 23.50\n", " 22.90\n", + " Frequent bunching\n", " \n", " \n", - " 14704\n", + " 13460\n", " 15018\n", " 28\n", " 22\n", @@ -3275,12 +3732,12 @@ " 7.61\n", " -118.00\n", " 0.63\n", - " Frequent bunching\n", " 23.50\n", " 25.32\n", + " Frequent bunching\n", " \n", " \n", - " 14705\n", + " 13461\n", " 14005\n", " 29\n", " 22\n", @@ -3290,12 +3747,12 @@ " 7.61\n", " -157.00\n", " 0.63\n", - " Frequent bunching\n", " 23.50\n", " 25.50\n", + " Frequent bunching\n", " \n", " \n", - " 14706\n", + " 13462\n", " 18059\n", " 30\n", " 22\n", @@ -3305,12 +3762,12 @@ " 7.61\n", " -229.00\n", " 0.58\n", - " Frequent bunching\n", " 23.50\n", " 25.88\n", + " Frequent bunching\n", " \n", " \n", - " 14707\n", + " 13463\n", " 13984\n", " 31\n", " 22\n", @@ -3320,12 +3777,12 @@ " 7.61\n", " -203.00\n", " 1.17\n", - " Most vehicles bunched\n", " 29.12\n", " 28.38\n", + " Most vehicles bunched\n", " \n", " \n", - " 14708\n", + " 13464\n", " 13285\n", " 32\n", " 22\n", @@ -3335,12 +3792,12 @@ " 7.61\n", " -281.00\n", " 1.15\n", - " Most vehicles bunched\n", " 29.02\n", " 28.63\n", + " Most vehicles bunched\n", " \n", " \n", - " 14709\n", + " 13465\n", " 13301\n", " 33\n", " 22\n", @@ -3350,12 +3807,12 @@ " 7.61\n", " -154.00\n", " 1.17\n", - " Most vehicles bunched\n", " 28.85\n", " 33.37\n", + " Most vehicles bunched\n", " \n", " \n", - " 14710\n", + " 13466\n", " 13293\n", " 34\n", " 22\n", @@ -3365,12 +3822,12 @@ " 7.61\n", " -449.00\n", " 0.85\n", - " Most vehicles bunched\n", " 38.33\n", " 36.10\n", + " Most vehicles bunched\n", " \n", " \n", - " 14711\n", + " 13467\n", " 14630\n", " 2\n", " 22\n", @@ -3380,12 +3837,12 @@ " 7.61\n", " 184.00\n", " 0.91\n", - " Most vehicles bunched\n", " 11.12\n", " 43.02\n", + " Most vehicles bunched\n", " \n", " \n", - " 14712\n", + " 13468\n", " 14607\n", " 3\n", " 22\n", @@ -3395,12 +3852,12 @@ " 7.61\n", " 1.00\n", " 1.13\n", - " Most vehicles bunched\n", " 47.45\n", " 17.37\n", + " Most vehicles bunched\n", " \n", " \n", - " 14713\n", + " 13469\n", " 14625\n", " 4\n", " 22\n", @@ -3410,12 +3867,12 @@ " 7.61\n", " -75.00\n", " 1.17\n", - " Most vehicles bunched\n", " 52.72\n", " 16.80\n", + " Most vehicles bunched\n", " \n", " \n", - " 14714\n", + " 13470\n", " 14606\n", " 5\n", " 22\n", @@ -3425,12 +3882,12 @@ " 7.61\n", " 193.00\n", " 0.63\n", - " Frequent bunching\n", " 68.00\n", " 57.33\n", + " Frequent bunching\n", " \n", " \n", - " 14715\n", + " 13471\n", " 14610\n", " 6\n", " 22\n", @@ -3440,12 +3897,12 @@ " 7.61\n", " 300.00\n", " 0.93\n", - " Most vehicles bunched\n", " 40.80\n", " 57.02\n", + " Most vehicles bunched\n", " \n", " \n", - " 14716\n", + " 13472\n", " 14609\n", " 7\n", " 22\n", @@ -3455,12 +3912,12 @@ " 7.61\n", " 792.00\n", " 1.04\n", - " Most vehicles bunched\n", " 11.17\n", " 22.35\n", + " Most vehicles bunched\n", " \n", " \n", - " 14717\n", + " 13473\n", " 14627\n", " 8\n", " 22\n", @@ -3470,12 +3927,12 @@ " 7.61\n", " 766.00\n", " 1.08\n", - " Most vehicles bunched\n", " 9.02\n", " 42.18\n", + " Most vehicles bunched\n", " \n", " \n", - " 14718\n", + " 13474\n", " 16754\n", " 9\n", " 22\n", @@ -3485,12 +3942,12 @@ " 7.61\n", " 212.00\n", " 1.00\n", - " Most vehicles bunched\n", " 8.15\n", " 15.35\n", + " Most vehicles bunched\n", " \n", " \n", - " 14719\n", + " 13475\n", " 16491\n", " 10\n", " 22\n", @@ -3500,12 +3957,12 @@ " 7.61\n", " 177.00\n", " 0.88\n", - " Most vehicles bunched\n", " 8.95\n", " 15.22\n", + " Most vehicles bunched\n", " \n", " \n", - " 14720\n", + " 13476\n", " 16488\n", " 11\n", " 22\n", @@ -3515,12 +3972,12 @@ " 7.61\n", " 161.00\n", " 0.92\n", - " Most vehicles bunched\n", " 8.15\n", " 15.15\n", + " Most vehicles bunched\n", " \n", " \n", - " 14721\n", + " 13477\n", " 16493\n", " 12\n", " 22\n", @@ -3530,12 +3987,12 @@ " 7.61\n", " 131.00\n", " 1.07\n", - " Most vehicles bunched\n", " 7.91\n", " 15.03\n", + " Most vehicles bunched\n", " \n", " \n", - " 14722\n", + " 13478\n", " 13086\n", " 13\n", " 22\n", @@ -3545,12 +4002,12 @@ " 7.61\n", " 103.00\n", " 0.97\n", - " Most vehicles bunched\n", " 7.97\n", " 14.93\n", + " Most vehicles bunched\n", " \n", " \n", - " 14723\n", + " 13479\n", " 14605\n", " 14\n", " 22\n", @@ -3560,12 +4017,12 @@ " 7.61\n", " 62.00\n", " 1.05\n", - " Most vehicles bunched\n", " 8.03\n", " 14.78\n", + " Most vehicles bunched\n", " \n", " \n", - " 14724\n", + " 13480\n", " 14624\n", " 15\n", " 22\n", @@ -3575,12 +4032,12 @@ " 7.61\n", " 28.00\n", " 0.96\n", - " Most vehicles bunched\n", " 7.97\n", " 14.68\n", + " Most vehicles bunched\n", " \n", " \n", - " 14725\n", + " 13481\n", " 14637\n", " 16\n", " 22\n", @@ -3590,12 +4047,12 @@ " 7.61\n", " 449.00\n", " 0.97\n", - " Most vehicles bunched\n", " 7.86\n", " 18.88\n", + " Most vehicles bunched\n", " \n", " \n", - " 14726\n", + " 13482\n", " 14636\n", " 17\n", " 22\n", @@ -3605,12 +4062,12 @@ " 7.61\n", " 388.00\n", " 0.93\n", - " Most vehicles bunched\n", " 7.92\n", " 18.67\n", + " Most vehicles bunched\n", " \n", " \n", - " 14727\n", + " 13483\n", " 14641\n", " 18\n", " 22\n", @@ -3620,12 +4077,12 @@ " 7.61\n", " 322.00\n", " 0.88\n", - " Most vehicles bunched\n", " 8.22\n", " 18.48\n", + " Most vehicles bunched\n", " \n", " \n", - " 14728\n", + " 13484\n", " 14615\n", " 19\n", " 22\n", @@ -3635,12 +4092,12 @@ " 7.61\n", " 268.00\n", " 0.85\n", - " Most vehicles bunched\n", " 8.42\n", " 27.43\n", + " Most vehicles bunched\n", " \n", " \n", - " 14729\n", + " 13485\n", " 14634\n", " 20\n", " 22\n", @@ -3650,12 +4107,12 @@ " 7.61\n", " 230.00\n", " 0.88\n", - " Most vehicles bunched\n", " 8.57\n", " 15.05\n", + " Most vehicles bunched\n", " \n", " \n", - " 14730\n", + " 13486\n", " 14612\n", " 21\n", " 22\n", @@ -3665,12 +4122,12 @@ " 7.61\n", " 180.00\n", " 0.83\n", - " Most vehicles bunched\n", " 8.37\n", " 15.00\n", + " Most vehicles bunched\n", " \n", " \n", - " 14731\n", + " 13487\n", " 14642\n", " 22\n", " 22\n", @@ -3680,12 +4137,12 @@ " 7.61\n", " 137.00\n", " 0.88\n", - " Most vehicles bunched\n", " 8.12\n", " 14.95\n", + " Most vehicles bunched\n", " \n", " \n", - " 14732\n", + " 13488\n", " 14629\n", " 23\n", " 22\n", @@ -3695,12 +4152,12 @@ " 7.61\n", " 176.00\n", " 0.82\n", - " Most vehicles bunched\n", " 8.12\n", " 16.40\n", + " Most vehicles bunched\n", " \n", " \n", - " 14733\n", + " 13489\n", " 14617\n", " 24\n", " 22\n", @@ -3710,12 +4167,12 @@ " 7.61\n", " 203.00\n", " 0.89\n", - " Most vehicles bunched\n", " 8.06\n", " 16.32\n", + " Most vehicles bunched\n", " \n", " \n", - " 14734\n", + " 13490\n", " 14622\n", " 25\n", " 22\n", @@ -3725,12 +4182,12 @@ " 7.61\n", " 225.00\n", " 0.86\n", - " Most vehicles bunched\n", " 8.06\n", " 17.02\n", + " Most vehicles bunched\n", " \n", " \n", - " 14735\n", + " 13491\n", " 14632\n", " 26\n", " 22\n", @@ -3740,12 +4197,12 @@ " 7.61\n", " 177.00\n", " 0.89\n", - " Most vehicles bunched\n", " 8.25\n", " 16.68\n", + " Most vehicles bunched\n", " \n", " \n", - " 14736\n", + " 13492\n", " 14618\n", " 27\n", " 22\n", @@ -3755,12 +4212,12 @@ " 7.61\n", " 149.00\n", " 0.94\n", - " Most vehicles bunched\n", " 8.19\n", " 15.55\n", + " Most vehicles bunched\n", " \n", " \n", - " 14737\n", + " 13493\n", " 15018\n", " 28\n", " 22\n", @@ -3770,12 +4227,12 @@ " 7.61\n", " 364.00\n", " 1.00\n", - " Most vehicles bunched\n", " 7.94\n", " 18.40\n", + " Most vehicles bunched\n", " \n", " \n", - " 14738\n", + " 13494\n", " 14005\n", " 29\n", " 22\n", @@ -3785,12 +4242,12 @@ " 7.61\n", " 333.00\n", " 0.97\n", - " Most vehicles bunched\n", " 8.00\n", " 18.17\n", + " Most vehicles bunched\n", " \n", " \n", - " 14739\n", + " 13495\n", " 18059\n", " 30\n", " 22\n", @@ -3800,12 +4257,12 @@ " 7.61\n", " 275.00\n", " 0.99\n", - " Most vehicles bunched\n", " 8.06\n", " 16.90\n", + " Most vehicles bunched\n", " \n", " \n", - " 14740\n", + " 13496\n", " 13984\n", " 31\n", " 22\n", @@ -3815,12 +4272,12 @@ " 7.61\n", " 212.00\n", " 0.99\n", - " Most vehicles bunched\n", " 8.51\n", " 14.02\n", + " Most vehicles bunched\n", " \n", " \n", - " 14741\n", + " 13497\n", " 13285\n", " 32\n", " 22\n", @@ -3830,12 +4287,12 @@ " 7.61\n", " 168.00\n", " 0.90\n", - " Most vehicles bunched\n", " 8.58\n", " 14.07\n", + " Most vehicles bunched\n", " \n", " \n", - " 14742\n", + " 13498\n", " 13301\n", " 33\n", " 22\n", @@ -3845,12 +4302,12 @@ " 7.61\n", " 299.00\n", " 0.90\n", - " Most vehicles bunched\n", " 8.38\n", " 17.37\n", + " Most vehicles bunched\n", " \n", " \n", - " 14743\n", + " 13499\n", " 13293\n", " 34\n", " 22\n", @@ -3860,12 +4317,12 @@ " 7.61\n", " 249.00\n", " 0.94\n", - " Most vehicles bunched\n", " 8.39\n", " 15.57\n", + " Most vehicles bunched\n", " \n", " \n", - " 14744\n", + " 13500\n", " 13299\n", " 35\n", " 22\n", @@ -3875,12 +4332,12 @@ " 7.61\n", " 464.00\n", " 0.93\n", - " Most vehicles bunched\n", " 8.82\n", " 20.05\n", + " Most vehicles bunched\n", " \n", " \n", - " 14745\n", + " 13501\n", " 13282\n", " 36\n", " 22\n", @@ -3890,12 +4347,12 @@ " 7.61\n", " 365.00\n", " 0.95\n", - " Most vehicles bunched\n", " 9.12\n", " 18.70\n", + " Most vehicles bunched\n", " \n", " \n", - " 14746\n", + " 13502\n", " 13296\n", " 37\n", " 22\n", @@ -3905,12 +4362,12 @@ " 7.61\n", " 360.00\n", " 1.05\n", - " Most vehicles bunched\n", " 10.64\n", " 11.93\n", + " Most vehicles bunched\n", " \n", " \n", - " 14747\n", + " 13503\n", " 17761\n", " 38\n", " 22\n", @@ -3920,12 +4377,12 @@ " 7.61\n", " 319.00\n", " 0.89\n", - " Most vehicles bunched\n", " 11.43\n", " 13.20\n", + " Most vehicles bunched\n", " \n", " \n", - " 14748\n", + " 13504\n", " 17762\n", " 39\n", " 22\n", @@ -3935,12 +4392,12 @@ " 7.61\n", " 537.00\n", " 0.93\n", - " Most vehicles bunched\n", " 13.08\n", " 54.03\n", + " Most vehicles bunched\n", " \n", " \n", - " 14749\n", + " 13505\n", " 17763\n", " 40\n", " 22\n", @@ -3950,12 +4407,12 @@ " 7.61\n", " 468.00\n", " 0.95\n", - " Most vehicles bunched\n", " 15.83\n", " 52.77\n", + " Most vehicles bunched\n", " \n", " \n", - " 14750\n", + " 13506\n", " 17866\n", " 41\n", " 22\n", @@ -3965,12 +4422,12 @@ " 7.61\n", " 361.00\n", " 0.88\n", - " Most vehicles bunched\n", " 21.47\n", " 52.18\n", + " Most vehicles bunched\n", " \n", " \n", - " 14752\n", + " 13507\n", " 17761\n", " 2\n", " 22\n", @@ -3980,12 +4437,12 @@ " 7.61\n", " 75.00\n", " 0.97\n", - " Most vehicles bunched\n", " 33.30\n", " 20.63\n", + " Most vehicles bunched\n", " \n", " \n", - " 14753\n", + " 13508\n", " 17762\n", " 3\n", " 22\n", @@ -3995,12 +4452,12 @@ " 7.61\n", " 66.00\n", " 0.91\n", - " Most vehicles bunched\n", " 38.09\n", " 20.67\n", + " Most vehicles bunched\n", " \n", " \n", - " 14754\n", + " 13509\n", " 17763\n", " 4\n", " 22\n", @@ -4010,12 +4467,12 @@ " 7.61\n", " 42.00\n", " 0.96\n", - " Most vehicles bunched\n", " 33.36\n", " 20.10\n", + " Most vehicles bunched\n", " \n", " \n", - " 14755\n", + " 13510\n", " 17866\n", " 5\n", " 22\n", @@ -4025,12 +4482,12 @@ " 7.61\n", " 235.00\n", " 0.98\n", - " Most vehicles bunched\n", " 35.32\n", " 23.40\n", + " Most vehicles bunched\n", " \n", " \n", - " 14756\n", + " 13511\n", " 17764\n", " 6\n", " 22\n", @@ -4040,12 +4497,12 @@ " 7.61\n", " 209.00\n", " 1.00\n", - " Most vehicles bunched\n", " 35.35\n", " 20.37\n", + " Most vehicles bunched\n", " \n", " \n", - " 14757\n", + " 13512\n", " 17321\n", " 7\n", " 22\n", @@ -4055,12 +4512,12 @@ " 7.61\n", " 147.00\n", " 1.23\n", - " Most vehicles bunched\n", " 36.73\n", " 20.28\n", + " Most vehicles bunched\n", " \n", " \n", - " 14758\n", + " 13513\n", " 17766\n", " 2\n", " 22\n", @@ -4070,12 +4527,12 @@ " 7.60\n", " 36.00\n", " 1.57\n", - " Most vehicles bunched\n", " 8.24\n", " 20.93\n", + " Most vehicles bunched\n", " \n", " \n", - " 14759\n", + " 13514\n", " 17324\n", " 3\n", " 22\n", @@ -4085,12 +4542,12 @@ " 7.60\n", " -36.00\n", " 1.27\n", - " Most vehicles bunched\n", " 8.71\n", " 20.82\n", + " Most vehicles bunched\n", " \n", " \n", - " 14760\n", + " 13515\n", " 17767\n", " 4\n", " 22\n", @@ -4100,12 +4557,12 @@ " 7.60\n", " -99.00\n", " 1.23\n", - " Most vehicles bunched\n", " 9.14\n", " 19.42\n", + " Most vehicles bunched\n", " \n", " \n", - " 14761\n", + " 13516\n", " 17865\n", " 5\n", " 22\n", @@ -4115,12 +4572,12 @@ " 7.60\n", " 375.00\n", " 1.18\n", - " Most vehicles bunched\n", " 8.17\n", " 27.75\n", + " Most vehicles bunched\n", " \n", " \n", - " 14762\n", + " 13517\n", " 17768\n", " 6\n", " 22\n", @@ -4130,12 +4587,12 @@ " 7.60\n", " 297.00\n", " 0.93\n", - " Most vehicles bunched\n", " 8.23\n", " 16.37\n", + " Most vehicles bunched\n", " \n", " \n", - " 14763\n", + " 13518\n", " 17769\n", " 7\n", " 22\n", @@ -4145,12 +4602,12 @@ " 7.60\n", " 244.00\n", " 1.07\n", - " Most vehicles bunched\n", " 7.76\n", " 16.32\n", + " Most vehicles bunched\n", " \n", " \n", - " 14764\n", + " 13519\n", " 17770\n", " 8\n", " 22\n", @@ -4160,12 +4617,12 @@ " 7.60\n", " 188.00\n", " 1.00\n", - " Most vehicles bunched\n", " 7.87\n", " 16.27\n", + " Most vehicles bunched\n", " \n", " \n", - " 14765\n", + " 13520\n", " 13295\n", " 9\n", " 22\n", @@ -4175,12 +4632,12 @@ " 7.60\n", " 85.00\n", " 1.03\n", - " Most vehicles bunched\n", " 8.10\n", " 16.17\n", + " Most vehicles bunched\n", " \n", " \n", - " 14766\n", + " 13521\n", " 13281\n", " 10\n", " 22\n", @@ -4190,12 +4647,12 @@ " 7.60\n", " 28.00\n", " 1.18\n", - " Most vehicles bunched\n", " 7.92\n", " 16.02\n", + " Most vehicles bunched\n", " \n", " \n", - " 14767\n", + " 13522\n", " 17289\n", " 11\n", " 22\n", @@ -4205,12 +4662,12 @@ " 7.60\n", " -67.00\n", " 1.19\n", - " Most vehicles bunched\n", " 8.34\n", " 12.67\n", + " Most vehicles bunched\n", " \n", " \n", - " 14768\n", + " 13523\n", " 13291\n", " 12\n", " 22\n", @@ -4220,12 +4677,12 @@ " 7.60\n", " -142.00\n", " 1.14\n", - " Most vehicles bunched\n", " 8.34\n", " 12.60\n", + " Most vehicles bunched\n", " \n", " \n", - " 14769\n", + " 13524\n", " 13300\n", " 13\n", " 22\n", @@ -4235,12 +4692,12 @@ " 7.60\n", " 56.00\n", " 1.06\n", - " Most vehicles bunched\n", " 8.34\n", " 16.65\n", + " Most vehicles bunched\n", " \n", " \n", - " 14770\n", + " 13525\n", " 13284\n", " 14\n", " 22\n", @@ -4250,12 +4707,12 @@ " 7.60\n", " -45.00\n", " 1.11\n", - " Most vehicles bunched\n", " 8.40\n", " 12.43\n", + " Most vehicles bunched\n", " \n", " \n", - " 14771\n", + " 13526\n", " 13283\n", " 15\n", " 22\n", @@ -4265,12 +4722,12 @@ " 7.60\n", " -87.00\n", " 1.15\n", - " Most vehicles bunched\n", " 8.53\n", " 12.43\n", + " Most vehicles bunched\n", " \n", " \n", - " 14772\n", + " 13527\n", " 17073\n", " 16\n", " 22\n", @@ -4280,12 +4737,12 @@ " 7.60\n", " -169.00\n", " 1.10\n", - " Most vehicles bunched\n", " 8.59\n", " 12.43\n", + " Most vehicles bunched\n", " \n", " \n", - " 14773\n", + " 13528\n", " 17074\n", " 17\n", " 22\n", @@ -4295,12 +4752,12 @@ " 7.60\n", " -104.00\n", " 1.14\n", - " Most vehicles bunched\n", " 8.46\n", " 14.03\n", + " Most vehicles bunched\n", " \n", " \n", - " 14774\n", + " 13529\n", " 15017\n", " 18\n", " 22\n", @@ -4310,12 +4767,12 @@ " 7.60\n", " -125.00\n", " 1.15\n", - " Most vehicles bunched\n", " 8.53\n", " 14.15\n", + " Most vehicles bunched\n", " \n", " \n", - " 14775\n", + " 13530\n", " 14620\n", " 19\n", " 22\n", @@ -4325,12 +4782,12 @@ " 7.60\n", " -157.00\n", " 1.28\n", - " Most vehicles bunched\n", " 8.33\n", " 14.32\n", + " Most vehicles bunched\n", " \n", " \n", - " 14776\n", + " 13531\n", " 14631\n", " 20\n", " 22\n", @@ -4340,12 +4797,12 @@ " 7.60\n", " 267.00\n", " 1.20\n", - " Most vehicles bunched\n", " 8.40\n", " 18.05\n", + " Most vehicles bunched\n", " \n", " \n", - " 14777\n", + " 13532\n", " 14621\n", " 21\n", " 22\n", @@ -4355,12 +4812,12 @@ " 7.60\n", " 617.00\n", " 1.06\n", - " Most vehicles bunched\n", " 8.67\n", " 24.60\n", + " Most vehicles bunched\n", " \n", " \n", - " 14778\n", + " 13533\n", " 14616\n", " 22\n", " 22\n", @@ -4370,12 +4827,12 @@ " 7.60\n", " 595.00\n", " 1.08\n", - " Most vehicles bunched\n", " 8.74\n", " 24.60\n", + " Most vehicles bunched\n", " \n", " \n", - " 14779\n", + " 13534\n", " 14628\n", " 23\n", " 22\n", @@ -4385,12 +4842,12 @@ " 7.60\n", " 541.00\n", " 1.03\n", - " Most vehicles bunched\n", " 8.81\n", " 24.58\n", + " Most vehicles bunched\n", " \n", " \n", - " 14780\n", + " 13535\n", " 14613\n", " 24\n", " 22\n", @@ -4400,12 +4857,12 @@ " 7.60\n", " 498.00\n", " 1.13\n", - " Most vehicles bunched\n", " 8.88\n", " 24.57\n", + " Most vehicles bunched\n", " \n", " \n", - " 14781\n", + " 13536\n", " 14611\n", " 25\n", " 22\n", @@ -4415,12 +4872,12 @@ " 7.60\n", " 437.00\n", " 1.03\n", - " Most vehicles bunched\n", " 8.81\n", " 24.53\n", + " Most vehicles bunched\n", " \n", " \n", - " 14782\n", + " 13537\n", " 14633\n", " 26\n", " 22\n", @@ -4430,12 +4887,12 @@ " 7.60\n", " 388.00\n", " 0.99\n", - " Most vehicles bunched\n", " 8.96\n", " 24.52\n", + " Most vehicles bunched\n", " \n", " \n", - " 14783\n", + " 13538\n", " 14614\n", " 27\n", " 22\n", @@ -4445,12 +4902,12 @@ " 7.60\n", " 396.00\n", " 1.08\n", - " Most vehicles bunched\n", " 9.11\n", " 59.87\n", + " Most vehicles bunched\n", " \n", " \n", - " 14784\n", + " 13539\n", " 14640\n", " 28\n", " 22\n", @@ -4460,12 +4917,12 @@ " 7.60\n", " 305.00\n", " 0.93\n", - " Most vehicles bunched\n", " 8.89\n", " 22.62\n", + " Most vehicles bunched\n", " \n", " \n", - " 14785\n", + " 13540\n", " 14635\n", " 29\n", " 22\n", @@ -4475,12 +4932,12 @@ " 7.60\n", " 252.00\n", " 0.93\n", - " Most vehicles bunched\n", " 9.11\n", " 21.72\n", + " Most vehicles bunched\n", " \n", " \n", - " 14786\n", + " 13541\n", " 14638\n", " 30\n", " 22\n", @@ -4490,12 +4947,12 @@ " 7.60\n", " 222.00\n", " 0.92\n", - " Most vehicles bunched\n", " 9.56\n", " 20.28\n", + " Most vehicles bunched\n", " \n", " \n", - " 14787\n", + " 13542\n", " 14623\n", " 31\n", " 22\n", @@ -4505,12 +4962,12 @@ " 7.60\n", " 256.00\n", " 0.90\n", - " Most vehicles bunched\n", " 9.61\n", " 22.23\n", + " Most vehicles bunched\n", " \n", " \n", - " 14788\n", + " 13543\n", " 14604\n", " 32\n", " 22\n", @@ -4520,12 +4977,12 @@ " 7.60\n", " 305.00\n", " 0.93\n", - " Most vehicles bunched\n", " 9.78\n", " 23.68\n", + " Most vehicles bunched\n", " \n", " \n", - " 14789\n", + " 13544\n", " 13085\n", " 33\n", " 22\n", @@ -4535,12 +4992,12 @@ " 7.60\n", " 356.00\n", " 0.92\n", - " Most vehicles bunched\n", " 10.68\n", " 30.10\n", + " Most vehicles bunched\n", " \n", " \n", - " 14790\n", + " 13545\n", " 16492\n", " 34\n", " 22\n", @@ -4550,12 +5007,12 @@ " 7.60\n", " 387.00\n", " 0.92\n", - " Most vehicles bunched\n", " 10.06\n", " 26.08\n", + " Most vehicles bunched\n", " \n", " \n", - " 14791\n", + " 13546\n", " 16487\n", " 35\n", " 22\n", @@ -4565,12 +5022,12 @@ " 7.60\n", " 362.00\n", " 0.89\n", - " Most vehicles bunched\n", " 11.22\n", " 26.10\n", + " Most vehicles bunched\n", " \n", " \n", - " 14792\n", + " 13547\n", " 16490\n", " 36\n", " 22\n", @@ -4580,12 +5037,12 @@ " 7.60\n", " 319.00\n", " 0.80\n", - " Most vehicles bunched\n", " 12.54\n", " 26.10\n", + " Most vehicles bunched\n", " \n", " \n", - " 14793\n", + " 13548\n", " 14643\n", " 37\n", " 22\n", @@ -4595,12 +5052,12 @@ " 7.60\n", " 281.00\n", " 0.95\n", - " Most vehicles bunched\n", " 17.48\n", " 24.72\n", + " Most vehicles bunched\n", " \n", " \n", - " 14794\n", + " 13549\n", " 14626\n", " 38\n", " 22\n", @@ -4610,12 +5067,12 @@ " 7.60\n", " 323.00\n", " 0.95\n", - " Most vehicles bunched\n", " 19.04\n", " 24.38\n", + " Most vehicles bunched\n", " \n", " \n", - " 14795\n", + " 13550\n", " 14608\n", " 39\n", " 22\n", @@ -4625,12 +5082,12 @@ " 7.60\n", " 139.00\n", " 0.78\n", - " Most vehicles bunched\n", " 58.93\n", " 54.15\n", + " Most vehicles bunched\n", " \n", " \n", - " 14796\n", + " 13551\n", " 17289\n", " 2\n", " 22\n", @@ -4640,12 +5097,12 @@ " 7.60\n", " 512.00\n", " 1.08\n", - " Most vehicles bunched\n", " 19.67\n", " 25.82\n", + " Most vehicles bunched\n", " \n", " \n", - " 14797\n", + " 13552\n", " 13291\n", " 3\n", " 22\n", @@ -4655,12 +5112,12 @@ " 7.60\n", " 434.00\n", " 0.84\n", - " Most vehicles bunched\n", " 38.50\n", " 25.83\n", + " Most vehicles bunched\n", " \n", " \n", - " 14798\n", + " 13553\n", " 13300\n", " 4\n", " 22\n", @@ -4670,12 +5127,12 @@ " 7.60\n", " 386.00\n", " 0.67\n", - " Frequent bunching\n", " 29.75\n", " 25.83\n", + " Frequent bunching\n", " \n", " \n", - " 14799\n", + " 13554\n", " 13284\n", " 5\n", " 22\n", @@ -4685,12 +5142,12 @@ " 7.60\n", " 280.00\n", " 0.88\n", - " Most vehicles bunched\n", " 19.96\n", " 25.87\n", + " Most vehicles bunched\n", " \n", " \n", - " 14800\n", + " 13555\n", " 13283\n", " 6\n", " 22\n", @@ -4700,12 +5157,12 @@ " 7.60\n", " 235.00\n", " 0.88\n", - " Most vehicles bunched\n", " 20.01\n", " 25.87\n", + " Most vehicles bunched\n", " \n", " \n", - " 14801\n", + " 13556\n", " 17073\n", " 7\n", " 22\n", @@ -4715,12 +5172,12 @@ " 7.60\n", " 149.00\n", " 0.88\n", - " Most vehicles bunched\n", " 20.11\n", " 24.78\n", + " Most vehicles bunched\n", " \n", " \n", - " 14802\n", + " 13557\n", " 17074\n", " 8\n", " 22\n", @@ -4730,12 +5187,12 @@ " 7.60\n", " 96.00\n", " 0.87\n", - " Most vehicles bunched\n", " 20.15\n", " 20.08\n", + " Most vehicles bunched\n", " \n", " \n", - " 14803\n", + " 13558\n", " 15017\n", " 9\n", " 22\n", @@ -4745,12 +5202,12 @@ " 7.60\n", " 48.00\n", " 0.86\n", - " Most vehicles bunched\n", " 20.18\n", " 20.02\n", + " Most vehicles bunched\n", " \n", " \n", - " 14804\n", + " 13559\n", " 14620\n", " 10\n", " 22\n", @@ -4760,12 +5217,12 @@ " 7.60\n", " -23.00\n", " 0.86\n", - " Most vehicles bunched\n", " 20.22\n", " 19.93\n", + " Most vehicles bunched\n", " \n", " \n", - " 14805\n", + " 13560\n", " 14631\n", " 11\n", " 22\n", @@ -4775,12 +5232,12 @@ " 7.60\n", " 385.00\n", " 0.83\n", - " Most vehicles bunched\n", " 20.29\n", " 27.53\n", + " Most vehicles bunched\n", " \n", " \n", - " 14806\n", + " 13561\n", " 14621\n", " 12\n", " 22\n", @@ -4790,12 +5247,12 @@ " 7.60\n", " 342.00\n", " 0.82\n", - " Most vehicles bunched\n", " 20.35\n", " 27.47\n", + " Most vehicles bunched\n", " \n", " \n", - " 14807\n", + " 13562\n", " 14616\n", " 13\n", " 22\n", @@ -4805,12 +5262,12 @@ " 7.60\n", " 320.00\n", " 0.80\n", - " Most vehicles bunched\n", " 20.38\n", " 26.88\n", + " Most vehicles bunched\n", " \n", " \n", - " 14808\n", + " 13563\n", " 14628\n", " 14\n", " 22\n", @@ -4820,12 +5277,12 @@ " 7.60\n", " 266.00\n", " 0.79\n", - " Most vehicles bunched\n", " 20.44\n", " 26.13\n", + " Most vehicles bunched\n", " \n", " \n", - " 14809\n", + " 13564\n", " 14613\n", " 15\n", " 22\n", @@ -4835,12 +5292,12 @@ " 7.60\n", " 224.00\n", " 0.78\n", - " Most vehicles bunched\n", " 20.49\n", " 25.97\n", + " Most vehicles bunched\n", " \n", " \n", - " 14810\n", + " 13565\n", " 14611\n", " 16\n", " 22\n", @@ -4850,12 +5307,12 @@ " 7.60\n", " 164.00\n", " 0.83\n", - " Most vehicles bunched\n", " 23.11\n", " 25.45\n", + " Most vehicles bunched\n", " \n", " \n", - " 14811\n", + " 13566\n", " 14633\n", " 17\n", " 22\n", @@ -4865,12 +5322,12 @@ " 7.60\n", " 116.00\n", " 0.82\n", - " Most vehicles bunched\n", " 23.16\n", " 22.22\n", + " Most vehicles bunched\n", " \n", " \n", - " 14812\n", + " 13567\n", " 14614\n", " 18\n", " 22\n", @@ -4880,12 +5337,12 @@ " 7.60\n", " 67.00\n", " 0.79\n", - " Most vehicles bunched\n", " 26.79\n", " 22.15\n", + " Most vehicles bunched\n", " \n", " \n", - " 14813\n", + " 13568\n", " 14640\n", " 19\n", " 22\n", @@ -4895,12 +5352,12 @@ " 7.60\n", " 35.00\n", " 1.21\n", - " Most vehicles bunched\n", " 26.83\n", " 22.07\n", + " Most vehicles bunched\n", " \n", " \n", - " 14814\n", + " 13569\n", " 14635\n", " 20\n", " 22\n", @@ -4910,12 +5367,12 @@ " 7.60\n", " 731.00\n", " 0.80\n", - " Most vehicles bunched\n", " 26.62\n", " 51.52\n", + " Most vehicles bunched\n", " \n", " \n", - " 14815\n", + " 13570\n", " 14638\n", " 21\n", " 22\n", @@ -4925,12 +5382,12 @@ " 7.60\n", " 939.00\n", " 0.78\n", - " Most vehicles bunched\n", " 26.65\n", " 53.13\n", + " Most vehicles bunched\n", " \n", " \n", - " 14816\n", + " 13571\n", " 14623\n", " 22\n", " 22\n", @@ -4940,12 +5397,12 @@ " 7.60\n", " 857.00\n", " 0.80\n", - " Most vehicles bunched\n", " 26.72\n", " 53.10\n", + " Most vehicles bunched\n", " \n", " \n", - " 14817\n", + " 13572\n", " 14604\n", " 23\n", " 22\n", @@ -4955,812 +5412,1960 @@ " 7.60\n", " 819.00\n", " 0.82\n", - " Most vehicles bunched\n", " 26.75\n", " 53.08\n", + " Most vehicles bunched\n", + " \n", + " \n", + " 13573\n", + " 13085\n", + " 24\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 782.00\n", + " 0.84\n", + " 26.78\n", + " 53.08\n", + " Most vehicles bunched\n", + " \n", + " \n", + " 13574\n", + " 16492\n", + " 25\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 758.00\n", + " 0.84\n", + " 26.80\n", + " 53.07\n", + " Most vehicles bunched\n", + " \n", + " \n", + " 13575\n", + " 16487\n", + " 26\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 732.00\n", + " 0.84\n", + " 26.82\n", + " 53.07\n", + " Most vehicles bunched\n", + " \n", + " \n", + " 13576\n", + " 16490\n", + " 27\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 689.00\n", + " 0.75\n", + " 31.33\n", + " 53.07\n", + " Most vehicles bunched\n", + " \n", + " \n", + " 13577\n", + " 14643\n", + " 28\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 634.00\n", + " 0.28\n", + " 50.74\n", + " 51.95\n", + " Vehicles slightly off headway\n", + " \n", + " \n", + " 13578\n", + " 14626\n", + " 29\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 558.00\n", + " 0.15\n", + " 59.50\n", + " 50.43\n", + " Service provided like clockwork\n", + " \n", + " \n", + " 13579\n", + " 17766\n", + " 2\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 125.00\n", + " 1.12\n", + " 167.68\n", + " 435.77\n", + " Most vehicles bunched\n", + " \n", + " \n", + " 13580\n", + " 17324\n", + " 3\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 69.00\n", + " 1.11\n", + " 167.53\n", + " 432.33\n", + " Most vehicles bunched\n", + " \n", + " \n", + " 13581\n", + " 17767\n", + " 4\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 147.00\n", + " 1.11\n", + " 167.39\n", + " 431.12\n", + " Most vehicles bunched\n", + " \n", + " \n", + " 13582\n", + " 17865\n", + " 5\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 184.00\n", + " 1.11\n", + " 167.32\n", + " 432.23\n", + " Most vehicles bunched\n", + " \n", + " \n", + " 13583\n", + " 17768\n", + " 6\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 266.00\n", + " 1.12\n", + " 167.16\n", + " 434.72\n", + " Most vehicles bunched\n", + " \n", + " \n", + " 13584\n", + " 17769\n", + " 7\n", + " 22\n", + " FILLMORE\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 315.00\n", + " 1.13\n", + " 167.06\n", + " 436.30\n", + " Most vehicles bunched\n", + " \n", + " \n", + "\n", + "" + ], + "text/plain": [ + " stop_id stop_sequence route_id route_long_name direction_id \\\n", + "13438 14630 2 22 FILLMORE 0.00 \n", + "13439 14609 7 22 FILLMORE 0.00 \n", + "13440 14627 8 22 FILLMORE 0.00 \n", + "13441 16754 9 22 FILLMORE 0.00 \n", + "13442 16491 10 22 FILLMORE 0.00 \n", + "13443 16488 11 22 FILLMORE 0.00 \n", + "13444 16493 12 22 FILLMORE 0.00 \n", + "13445 13086 13 22 FILLMORE 0.00 \n", + "13446 14605 14 22 FILLMORE 0.00 \n", + "13447 14624 15 22 FILLMORE 0.00 \n", + "13448 14637 16 22 FILLMORE 0.00 \n", + "13449 14636 17 22 FILLMORE 0.00 \n", + "13450 14641 18 22 FILLMORE 0.00 \n", + "13451 14615 19 22 FILLMORE 0.00 \n", + "13452 14634 20 22 FILLMORE 0.00 \n", + "13453 14612 21 22 FILLMORE 0.00 \n", + "13454 14642 22 22 FILLMORE 0.00 \n", + "13455 14629 23 22 FILLMORE 0.00 \n", + "13456 14617 24 22 FILLMORE 0.00 \n", + "13457 14622 25 22 FILLMORE 0.00 \n", + "13458 14632 26 22 FILLMORE 0.00 \n", + "13459 14618 27 22 FILLMORE 0.00 \n", + "13460 15018 28 22 FILLMORE 0.00 \n", + "13461 14005 29 22 FILLMORE 0.00 \n", + "13462 18059 30 22 FILLMORE 0.00 \n", + "13463 13984 31 22 FILLMORE 0.00 \n", + "13464 13285 32 22 FILLMORE 0.00 \n", + "13465 13301 33 22 FILLMORE 0.00 \n", + "13466 13293 34 22 FILLMORE 0.00 \n", + "13467 14630 2 22 FILLMORE 0.00 \n", + "13468 14607 3 22 FILLMORE 0.00 \n", + "13469 14625 4 22 FILLMORE 0.00 \n", + "13470 14606 5 22 FILLMORE 0.00 \n", + "13471 14610 6 22 FILLMORE 0.00 \n", + "13472 14609 7 22 FILLMORE 0.00 \n", + "13473 14627 8 22 FILLMORE 0.00 \n", + "13474 16754 9 22 FILLMORE 0.00 \n", + "13475 16491 10 22 FILLMORE 0.00 \n", + "13476 16488 11 22 FILLMORE 0.00 \n", + "13477 16493 12 22 FILLMORE 0.00 \n", + "13478 13086 13 22 FILLMORE 0.00 \n", + "13479 14605 14 22 FILLMORE 0.00 \n", + "13480 14624 15 22 FILLMORE 0.00 \n", + "13481 14637 16 22 FILLMORE 0.00 \n", + "13482 14636 17 22 FILLMORE 0.00 \n", + "13483 14641 18 22 FILLMORE 0.00 \n", + "13484 14615 19 22 FILLMORE 0.00 \n", + "13485 14634 20 22 FILLMORE 0.00 \n", + "13486 14612 21 22 FILLMORE 0.00 \n", + "13487 14642 22 22 FILLMORE 0.00 \n", + "13488 14629 23 22 FILLMORE 0.00 \n", + "13489 14617 24 22 FILLMORE 0.00 \n", + "13490 14622 25 22 FILLMORE 0.00 \n", + "13491 14632 26 22 FILLMORE 0.00 \n", + "13492 14618 27 22 FILLMORE 0.00 \n", + "13493 15018 28 22 FILLMORE 0.00 \n", + "13494 14005 29 22 FILLMORE 0.00 \n", + "13495 18059 30 22 FILLMORE 0.00 \n", + "13496 13984 31 22 FILLMORE 0.00 \n", + "13497 13285 32 22 FILLMORE 0.00 \n", + "13498 13301 33 22 FILLMORE 0.00 \n", + "13499 13293 34 22 FILLMORE 0.00 \n", + "13500 13299 35 22 FILLMORE 0.00 \n", + "13501 13282 36 22 FILLMORE 0.00 \n", + "13502 13296 37 22 FILLMORE 0.00 \n", + "13503 17761 38 22 FILLMORE 0.00 \n", + "13504 17762 39 22 FILLMORE 0.00 \n", + "13505 17763 40 22 FILLMORE 0.00 \n", + "13506 17866 41 22 FILLMORE 0.00 \n", + "13507 17761 2 22 FILLMORE 0.00 \n", + "13508 17762 3 22 FILLMORE 0.00 \n", + "13509 17763 4 22 FILLMORE 0.00 \n", + "13510 17866 5 22 FILLMORE 0.00 \n", + "13511 17764 6 22 FILLMORE 0.00 \n", + "13512 17321 7 22 FILLMORE 0.00 \n", + "13513 17766 2 22 FILLMORE 1.00 \n", + "13514 17324 3 22 FILLMORE 1.00 \n", + "13515 17767 4 22 FILLMORE 1.00 \n", + "13516 17865 5 22 FILLMORE 1.00 \n", + "13517 17768 6 22 FILLMORE 1.00 \n", + "13518 17769 7 22 FILLMORE 1.00 \n", + "13519 17770 8 22 FILLMORE 1.00 \n", + "13520 13295 9 22 FILLMORE 1.00 \n", + "13521 13281 10 22 FILLMORE 1.00 \n", + "13522 17289 11 22 FILLMORE 1.00 \n", + "13523 13291 12 22 FILLMORE 1.00 \n", + "13524 13300 13 22 FILLMORE 1.00 \n", + "13525 13284 14 22 FILLMORE 1.00 \n", + "13526 13283 15 22 FILLMORE 1.00 \n", + "13527 17073 16 22 FILLMORE 1.00 \n", + "13528 17074 17 22 FILLMORE 1.00 \n", + "13529 15017 18 22 FILLMORE 1.00 \n", + "13530 14620 19 22 FILLMORE 1.00 \n", + "13531 14631 20 22 FILLMORE 1.00 \n", + "13532 14621 21 22 FILLMORE 1.00 \n", + "13533 14616 22 22 FILLMORE 1.00 \n", + "13534 14628 23 22 FILLMORE 1.00 \n", + "13535 14613 24 22 FILLMORE 1.00 \n", + "13536 14611 25 22 FILLMORE 1.00 \n", + "13537 14633 26 22 FILLMORE 1.00 \n", + "13538 14614 27 22 FILLMORE 1.00 \n", + "13539 14640 28 22 FILLMORE 1.00 \n", + "13540 14635 29 22 FILLMORE 1.00 \n", + "13541 14638 30 22 FILLMORE 1.00 \n", + "13542 14623 31 22 FILLMORE 1.00 \n", + "13543 14604 32 22 FILLMORE 1.00 \n", + "13544 13085 33 22 FILLMORE 1.00 \n", + "13545 16492 34 22 FILLMORE 1.00 \n", + "13546 16487 35 22 FILLMORE 1.00 \n", + "13547 16490 36 22 FILLMORE 1.00 \n", + "13548 14643 37 22 FILLMORE 1.00 \n", + "13549 14626 38 22 FILLMORE 1.00 \n", + "13550 14608 39 22 FILLMORE 1.00 \n", + "13551 17289 2 22 FILLMORE 1.00 \n", + "13552 13291 3 22 FILLMORE 1.00 \n", + "13553 13300 4 22 FILLMORE 1.00 \n", + "13554 13284 5 22 FILLMORE 1.00 \n", + "13555 13283 6 22 FILLMORE 1.00 \n", + "13556 17073 7 22 FILLMORE 1.00 \n", + "13557 17074 8 22 FILLMORE 1.00 \n", + "13558 15017 9 22 FILLMORE 1.00 \n", + "13559 14620 10 22 FILLMORE 1.00 \n", + "13560 14631 11 22 FILLMORE 1.00 \n", + "13561 14621 12 22 FILLMORE 1.00 \n", + "13562 14616 13 22 FILLMORE 1.00 \n", + "13563 14628 14 22 FILLMORE 1.00 \n", + "13564 14613 15 22 FILLMORE 1.00 \n", + "13565 14611 16 22 FILLMORE 1.00 \n", + "13566 14633 17 22 FILLMORE 1.00 \n", + "13567 14614 18 22 FILLMORE 1.00 \n", + "13568 14640 19 22 FILLMORE 1.00 \n", + "13569 14635 20 22 FILLMORE 1.00 \n", + "13570 14638 21 22 FILLMORE 1.00 \n", + "13571 14623 22 22 FILLMORE 1.00 \n", + "13572 14604 23 22 FILLMORE 1.00 \n", + "13573 13085 24 22 FILLMORE 1.00 \n", + "13574 16492 25 22 FILLMORE 1.00 \n", + "13575 16487 26 22 FILLMORE 1.00 \n", + "13576 16490 27 22 FILLMORE 1.00 \n", + "13577 14643 28 22 FILLMORE 1.00 \n", + "13578 14626 29 22 FILLMORE 1.00 \n", + "13579 17766 2 22 FILLMORE 1.00 \n", + "13580 17324 3 22 FILLMORE 1.00 \n", + "13581 17767 4 22 FILLMORE 1.00 \n", + "13582 17865 5 22 FILLMORE 1.00 \n", + "13583 17768 6 22 FILLMORE 1.00 \n", + "13584 17769 7 22 FILLMORE 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay \\\n", + "13438 Southbound 7.61 161.00 \n", + "13439 Southbound 7.61 -53.00 \n", + "13440 Southbound 7.61 -98.00 \n", + "13441 Southbound 7.61 115.00 \n", + "13442 Southbound 7.61 43.00 \n", + "13443 Southbound 7.61 21.00 \n", + "13444 Southbound 7.61 -20.00 \n", + "13445 Southbound 7.61 -58.00 \n", + "13446 Southbound 7.61 -113.00 \n", + "13447 Southbound 7.61 -84.00 \n", + "13448 Southbound 7.61 -32.00 \n", + "13449 Southbound 7.61 -108.00 \n", + "13450 Southbound 7.61 -147.00 \n", + "13451 Southbound 7.61 165.00 \n", + "13452 Southbound 7.61 109.00 \n", + "13453 Southbound 7.61 24.00 \n", + "13454 Southbound 7.61 -51.00 \n", + "13455 Southbound 7.61 -139.00 \n", + "13456 Southbound 7.61 -214.00 \n", + "13457 Southbound 7.61 -261.00 \n", + "13458 Southbound 7.61 -119.00 \n", + "13459 Southbound 7.61 -172.00 \n", + "13460 Southbound 7.61 -118.00 \n", + "13461 Southbound 7.61 -157.00 \n", + "13462 Southbound 7.61 -229.00 \n", + "13463 Southbound 7.61 -203.00 \n", + "13464 Southbound 7.61 -281.00 \n", + "13465 Southbound 7.61 -154.00 \n", + "13466 Southbound 7.61 -449.00 \n", + "13467 Southbound 7.61 184.00 \n", + "13468 Southbound 7.61 1.00 \n", + "13469 Southbound 7.61 -75.00 \n", + "13470 Southbound 7.61 193.00 \n", + "13471 Southbound 7.61 300.00 \n", + "13472 Southbound 7.61 792.00 \n", + "13473 Southbound 7.61 766.00 \n", + "13474 Southbound 7.61 212.00 \n", + "13475 Southbound 7.61 177.00 \n", + "13476 Southbound 7.61 161.00 \n", + "13477 Southbound 7.61 131.00 \n", + "13478 Southbound 7.61 103.00 \n", + "13479 Southbound 7.61 62.00 \n", + "13480 Southbound 7.61 28.00 \n", + "13481 Southbound 7.61 449.00 \n", + "13482 Southbound 7.61 388.00 \n", + "13483 Southbound 7.61 322.00 \n", + "13484 Southbound 7.61 268.00 \n", + "13485 Southbound 7.61 230.00 \n", + "13486 Southbound 7.61 180.00 \n", + "13487 Southbound 7.61 137.00 \n", + "13488 Southbound 7.61 176.00 \n", + "13489 Southbound 7.61 203.00 \n", + "13490 Southbound 7.61 225.00 \n", + "13491 Southbound 7.61 177.00 \n", + "13492 Southbound 7.61 149.00 \n", + "13493 Southbound 7.61 364.00 \n", + "13494 Southbound 7.61 333.00 \n", + "13495 Southbound 7.61 275.00 \n", + "13496 Southbound 7.61 212.00 \n", + "13497 Southbound 7.61 168.00 \n", + "13498 Southbound 7.61 299.00 \n", + "13499 Southbound 7.61 249.00 \n", + "13500 Southbound 7.61 464.00 \n", + "13501 Southbound 7.61 365.00 \n", + "13502 Southbound 7.61 360.00 \n", + "13503 Southbound 7.61 319.00 \n", + "13504 Southbound 7.61 537.00 \n", + "13505 Southbound 7.61 468.00 \n", + "13506 Southbound 7.61 361.00 \n", + "13507 Southbound 7.61 75.00 \n", + "13508 Southbound 7.61 66.00 \n", + "13509 Southbound 7.61 42.00 \n", + "13510 Southbound 7.61 235.00 \n", + "13511 Southbound 7.61 209.00 \n", + "13512 Southbound 7.61 147.00 \n", + "13513 Northbound 7.60 36.00 \n", + "13514 Northbound 7.60 -36.00 \n", + "13515 Northbound 7.60 -99.00 \n", + "13516 Northbound 7.60 375.00 \n", + "13517 Northbound 7.60 297.00 \n", + "13518 Northbound 7.60 244.00 \n", + "13519 Northbound 7.60 188.00 \n", + "13520 Northbound 7.60 85.00 \n", + "13521 Northbound 7.60 28.00 \n", + "13522 Northbound 7.60 -67.00 \n", + "13523 Northbound 7.60 -142.00 \n", + "13524 Northbound 7.60 56.00 \n", + "13525 Northbound 7.60 -45.00 \n", + "13526 Northbound 7.60 -87.00 \n", + "13527 Northbound 7.60 -169.00 \n", + "13528 Northbound 7.60 -104.00 \n", + "13529 Northbound 7.60 -125.00 \n", + "13530 Northbound 7.60 -157.00 \n", + "13531 Northbound 7.60 267.00 \n", + "13532 Northbound 7.60 617.00 \n", + "13533 Northbound 7.60 595.00 \n", + "13534 Northbound 7.60 541.00 \n", + "13535 Northbound 7.60 498.00 \n", + "13536 Northbound 7.60 437.00 \n", + "13537 Northbound 7.60 388.00 \n", + "13538 Northbound 7.60 396.00 \n", + "13539 Northbound 7.60 305.00 \n", + "13540 Northbound 7.60 252.00 \n", + "13541 Northbound 7.60 222.00 \n", + "13542 Northbound 7.60 256.00 \n", + "13543 Northbound 7.60 305.00 \n", + "13544 Northbound 7.60 356.00 \n", + "13545 Northbound 7.60 387.00 \n", + "13546 Northbound 7.60 362.00 \n", + "13547 Northbound 7.60 319.00 \n", + "13548 Northbound 7.60 281.00 \n", + "13549 Northbound 7.60 323.00 \n", + "13550 Northbound 7.60 139.00 \n", + "13551 Northbound 7.60 512.00 \n", + "13552 Northbound 7.60 434.00 \n", + "13553 Northbound 7.60 386.00 \n", + "13554 Northbound 7.60 280.00 \n", + "13555 Northbound 7.60 235.00 \n", + "13556 Northbound 7.60 149.00 \n", + "13557 Northbound 7.60 96.00 \n", + "13558 Northbound 7.60 48.00 \n", + "13559 Northbound 7.60 -23.00 \n", + "13560 Northbound 7.60 385.00 \n", + "13561 Northbound 7.60 342.00 \n", + "13562 Northbound 7.60 320.00 \n", + "13563 Northbound 7.60 266.00 \n", + "13564 Northbound 7.60 224.00 \n", + "13565 Northbound 7.60 164.00 \n", + "13566 Northbound 7.60 116.00 \n", + "13567 Northbound 7.60 67.00 \n", + "13568 Northbound 7.60 35.00 \n", + "13569 Northbound 7.60 731.00 \n", + "13570 Northbound 7.60 939.00 \n", + "13571 Northbound 7.60 857.00 \n", + "13572 Northbound 7.60 819.00 \n", + "13573 Northbound 7.60 782.00 \n", + "13574 Northbound 7.60 758.00 \n", + "13575 Northbound 7.60 732.00 \n", + "13576 Northbound 7.60 689.00 \n", + "13577 Northbound 7.60 634.00 \n", + "13578 Northbound 7.60 558.00 \n", + "13579 Northbound 7.60 125.00 \n", + "13580 Northbound 7.60 69.00 \n", + "13581 Northbound 7.60 147.00 \n", + "13582 Northbound 7.60 184.00 \n", + "13583 Northbound 7.60 266.00 \n", + "13584 Northbound 7.60 315.00 \n", + "\n", + " bunching_coefficient avg_schd_headway_min actual_headway_min \\\n", + "13438 0.49 29.18 39.20 \n", + "13439 0.73 22.60 6.40 \n", + "13440 0.99 22.60 5.63 \n", + "13441 0.82 24.17 36.67 \n", + "13442 0.73 24.17 35.57 \n", + "13443 0.68 24.15 35.07 \n", + "13444 0.67 24.12 34.13 \n", + "13445 0.66 24.09 33.28 \n", + "13446 0.74 24.05 32.07 \n", + "13447 0.67 24.02 32.27 \n", + "13448 0.70 23.95 32.62 \n", + "13449 0.62 23.89 30.92 \n", + "13450 0.56 23.83 28.33 \n", + "13451 0.66 23.79 32.02 \n", + "13452 0.65 23.77 31.95 \n", + "13453 0.65 23.73 31.87 \n", + "13454 0.64 23.70 31.78 \n", + "13455 0.63 23.67 31.67 \n", + "13456 0.59 23.62 27.45 \n", + "13457 0.60 23.59 24.13 \n", + "13458 0.62 23.53 22.80 \n", + "13459 0.60 23.50 22.90 \n", + "13460 0.63 23.50 25.32 \n", + "13461 0.63 23.50 25.50 \n", + "13462 0.58 23.50 25.88 \n", + "13463 1.17 29.12 28.38 \n", + "13464 1.15 29.02 28.63 \n", + "13465 1.17 28.85 33.37 \n", + "13466 0.85 38.33 36.10 \n", + "13467 0.91 11.12 43.02 \n", + "13468 1.13 47.45 17.37 \n", + "13469 1.17 52.72 16.80 \n", + "13470 0.63 68.00 57.33 \n", + "13471 0.93 40.80 57.02 \n", + "13472 1.04 11.17 22.35 \n", + "13473 1.08 9.02 42.18 \n", + "13474 1.00 8.15 15.35 \n", + "13475 0.88 8.95 15.22 \n", + "13476 0.92 8.15 15.15 \n", + "13477 1.07 7.91 15.03 \n", + "13478 0.97 7.97 14.93 \n", + "13479 1.05 8.03 14.78 \n", + "13480 0.96 7.97 14.68 \n", + "13481 0.97 7.86 18.88 \n", + "13482 0.93 7.92 18.67 \n", + "13483 0.88 8.22 18.48 \n", + "13484 0.85 8.42 27.43 \n", + "13485 0.88 8.57 15.05 \n", + "13486 0.83 8.37 15.00 \n", + "13487 0.88 8.12 14.95 \n", + "13488 0.82 8.12 16.40 \n", + "13489 0.89 8.06 16.32 \n", + "13490 0.86 8.06 17.02 \n", + "13491 0.89 8.25 16.68 \n", + "13492 0.94 8.19 15.55 \n", + "13493 1.00 7.94 18.40 \n", + "13494 0.97 8.00 18.17 \n", + "13495 0.99 8.06 16.90 \n", + "13496 0.99 8.51 14.02 \n", + "13497 0.90 8.58 14.07 \n", + "13498 0.90 8.38 17.37 \n", + "13499 0.94 8.39 15.57 \n", + "13500 0.93 8.82 20.05 \n", + "13501 0.95 9.12 18.70 \n", + "13502 1.05 10.64 11.93 \n", + "13503 0.89 11.43 13.20 \n", + "13504 0.93 13.08 54.03 \n", + "13505 0.95 15.83 52.77 \n", + "13506 0.88 21.47 52.18 \n", + "13507 0.97 33.30 20.63 \n", + "13508 0.91 38.09 20.67 \n", + "13509 0.96 33.36 20.10 \n", + "13510 0.98 35.32 23.40 \n", + "13511 1.00 35.35 20.37 \n", + "13512 1.23 36.73 20.28 \n", + "13513 1.57 8.24 20.93 \n", + "13514 1.27 8.71 20.82 \n", + "13515 1.23 9.14 19.42 \n", + "13516 1.18 8.17 27.75 \n", + "13517 0.93 8.23 16.37 \n", + "13518 1.07 7.76 16.32 \n", + "13519 1.00 7.87 16.27 \n", + "13520 1.03 8.10 16.17 \n", + "13521 1.18 7.92 16.02 \n", + "13522 1.19 8.34 12.67 \n", + "13523 1.14 8.34 12.60 \n", + "13524 1.06 8.34 16.65 \n", + "13525 1.11 8.40 12.43 \n", + "13526 1.15 8.53 12.43 \n", + "13527 1.10 8.59 12.43 \n", + "13528 1.14 8.46 14.03 \n", + "13529 1.15 8.53 14.15 \n", + "13530 1.28 8.33 14.32 \n", + "13531 1.20 8.40 18.05 \n", + "13532 1.06 8.67 24.60 \n", + "13533 1.08 8.74 24.60 \n", + "13534 1.03 8.81 24.58 \n", + "13535 1.13 8.88 24.57 \n", + "13536 1.03 8.81 24.53 \n", + "13537 0.99 8.96 24.52 \n", + "13538 1.08 9.11 59.87 \n", + "13539 0.93 8.89 22.62 \n", + "13540 0.93 9.11 21.72 \n", + "13541 0.92 9.56 20.28 \n", + "13542 0.90 9.61 22.23 \n", + "13543 0.93 9.78 23.68 \n", + "13544 0.92 10.68 30.10 \n", + "13545 0.92 10.06 26.08 \n", + "13546 0.89 11.22 26.10 \n", + "13547 0.80 12.54 26.10 \n", + "13548 0.95 17.48 24.72 \n", + "13549 0.95 19.04 24.38 \n", + "13550 0.78 58.93 54.15 \n", + "13551 1.08 19.67 25.82 \n", + "13552 0.84 38.50 25.83 \n", + "13553 0.67 29.75 25.83 \n", + "13554 0.88 19.96 25.87 \n", + "13555 0.88 20.01 25.87 \n", + "13556 0.88 20.11 24.78 \n", + "13557 0.87 20.15 20.08 \n", + "13558 0.86 20.18 20.02 \n", + "13559 0.86 20.22 19.93 \n", + "13560 0.83 20.29 27.53 \n", + "13561 0.82 20.35 27.47 \n", + "13562 0.80 20.38 26.88 \n", + "13563 0.79 20.44 26.13 \n", + "13564 0.78 20.49 25.97 \n", + "13565 0.83 23.11 25.45 \n", + "13566 0.82 23.16 22.22 \n", + "13567 0.79 26.79 22.15 \n", + "13568 1.21 26.83 22.07 \n", + "13569 0.80 26.62 51.52 \n", + "13570 0.78 26.65 53.13 \n", + "13571 0.80 26.72 53.10 \n", + "13572 0.82 26.75 53.08 \n", + "13573 0.84 26.78 53.08 \n", + "13574 0.84 26.80 53.07 \n", + "13575 0.84 26.82 53.07 \n", + "13576 0.75 31.33 53.07 \n", + "13577 0.28 50.74 51.95 \n", + "13578 0.15 59.50 50.43 \n", + "13579 1.12 167.68 435.77 \n", + "13580 1.11 167.53 432.33 \n", + "13581 1.11 167.39 431.12 \n", + "13582 1.11 167.32 432.23 \n", + "13583 1.12 167.16 434.72 \n", + "13584 1.13 167.06 436.30 \n", + "\n", + " passenger_op_perspective \n", + "13438 Irregular headways, with some bunching \n", + "13439 Frequent bunching \n", + "13440 Most vehicles bunched \n", + "13441 Most vehicles bunched \n", + "13442 Frequent bunching \n", + "13443 Frequent bunching \n", + "13444 Frequent bunching \n", + "13445 Frequent bunching \n", + "13446 Frequent bunching \n", + "13447 Frequent bunching \n", + "13448 Frequent bunching \n", + "13449 Frequent bunching \n", + "13450 Frequent bunching \n", + "13451 Frequent bunching \n", + "13452 Frequent bunching \n", + "13453 Frequent bunching \n", + "13454 Frequent bunching \n", + "13455 Frequent bunching \n", + "13456 Frequent bunching \n", + "13457 Frequent bunching \n", + "13458 Frequent bunching \n", + "13459 Frequent bunching \n", + "13460 Frequent bunching \n", + "13461 Frequent bunching \n", + "13462 Frequent bunching \n", + "13463 Most vehicles bunched \n", + "13464 Most vehicles bunched \n", + "13465 Most vehicles bunched \n", + "13466 Most vehicles bunched \n", + "13467 Most vehicles bunched \n", + "13468 Most vehicles bunched \n", + "13469 Most vehicles bunched \n", + "13470 Frequent bunching \n", + "13471 Most vehicles bunched \n", + "13472 Most vehicles bunched \n", + "13473 Most vehicles bunched \n", + "13474 Most vehicles bunched \n", + "13475 Most vehicles bunched \n", + "13476 Most vehicles bunched \n", + "13477 Most vehicles bunched \n", + "13478 Most vehicles bunched \n", + "13479 Most vehicles bunched \n", + "13480 Most vehicles bunched \n", + "13481 Most vehicles bunched \n", + "13482 Most vehicles bunched \n", + "13483 Most vehicles bunched \n", + "13484 Most vehicles bunched \n", + "13485 Most vehicles bunched \n", + "13486 Most vehicles bunched \n", + "13487 Most vehicles bunched \n", + "13488 Most vehicles bunched \n", + "13489 Most vehicles bunched \n", + "13490 Most vehicles bunched \n", + "13491 Most vehicles bunched \n", + "13492 Most vehicles bunched \n", + "13493 Most vehicles bunched \n", + "13494 Most vehicles bunched \n", + "13495 Most vehicles bunched \n", + "13496 Most vehicles bunched \n", + "13497 Most vehicles bunched \n", + "13498 Most vehicles bunched \n", + "13499 Most vehicles bunched \n", + "13500 Most vehicles bunched \n", + "13501 Most vehicles bunched \n", + "13502 Most vehicles bunched \n", + "13503 Most vehicles bunched \n", + "13504 Most vehicles bunched \n", + "13505 Most vehicles bunched \n", + "13506 Most vehicles bunched \n", + "13507 Most vehicles bunched \n", + "13508 Most vehicles bunched \n", + "13509 Most vehicles bunched \n", + "13510 Most vehicles bunched \n", + "13511 Most vehicles bunched \n", + "13512 Most vehicles bunched \n", + "13513 Most vehicles bunched \n", + "13514 Most vehicles bunched \n", + "13515 Most vehicles bunched \n", + "13516 Most vehicles bunched \n", + "13517 Most vehicles bunched \n", + "13518 Most vehicles bunched \n", + "13519 Most vehicles bunched \n", + "13520 Most vehicles bunched \n", + "13521 Most vehicles bunched \n", + "13522 Most vehicles bunched \n", + "13523 Most vehicles bunched \n", + "13524 Most vehicles bunched \n", + "13525 Most vehicles bunched \n", + "13526 Most vehicles bunched \n", + "13527 Most vehicles bunched \n", + "13528 Most vehicles bunched \n", + "13529 Most vehicles bunched \n", + "13530 Most vehicles bunched \n", + "13531 Most vehicles bunched \n", + "13532 Most vehicles bunched \n", + "13533 Most vehicles bunched \n", + "13534 Most vehicles bunched \n", + "13535 Most vehicles bunched \n", + "13536 Most vehicles bunched \n", + "13537 Most vehicles bunched \n", + "13538 Most vehicles bunched \n", + "13539 Most vehicles bunched \n", + "13540 Most vehicles bunched \n", + "13541 Most vehicles bunched \n", + "13542 Most vehicles bunched \n", + "13543 Most vehicles bunched \n", + "13544 Most vehicles bunched \n", + "13545 Most vehicles bunched \n", + "13546 Most vehicles bunched \n", + "13547 Most vehicles bunched \n", + "13548 Most vehicles bunched \n", + "13549 Most vehicles bunched \n", + "13550 Most vehicles bunched \n", + "13551 Most vehicles bunched \n", + "13552 Most vehicles bunched \n", + "13553 Frequent bunching \n", + "13554 Most vehicles bunched \n", + "13555 Most vehicles bunched \n", + "13556 Most vehicles bunched \n", + "13557 Most vehicles bunched \n", + "13558 Most vehicles bunched \n", + "13559 Most vehicles bunched \n", + "13560 Most vehicles bunched \n", + "13561 Most vehicles bunched \n", + "13562 Most vehicles bunched \n", + "13563 Most vehicles bunched \n", + "13564 Most vehicles bunched \n", + "13565 Most vehicles bunched \n", + "13566 Most vehicles bunched \n", + "13567 Most vehicles bunched \n", + "13568 Most vehicles bunched \n", + "13569 Most vehicles bunched \n", + "13570 Most vehicles bunched \n", + "13571 Most vehicles bunched \n", + "13572 Most vehicles bunched \n", + "13573 Most vehicles bunched \n", + "13574 Most vehicles bunched \n", + "13575 Most vehicles bunched \n", + "13576 Most vehicles bunched \n", + "13577 Vehicles slightly off headway \n", + "13578 Service provided like clockwork \n", + "13579 Most vehicles bunched \n", + "13580 Most vehicles bunched \n", + "13581 Most vehicles bunched \n", + "13582 Most vehicles bunched \n", + "13583 Most vehicles bunched \n", + "13584 Most vehicles bunched " + ] + }, + "execution_count": 86, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "fillmore.drop(columns = drop_for_preview)" + ] + }, + { + "cell_type": "code", + "execution_count": 87, + "id": "8ed6b4d9-e421-452a-80e6-d1b81cadec7b", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayschd_headwayavg_schd_headway_secstd_dev_headwaybunching_coefficientavg_schd_headway_minactual_headway_minpassenger_op_perspective
1358411490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60315.0025957.0010023.5011333.781.13167.06436.30Most vehicles bunched
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "13584 11490047_M31 17769 7 67772.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "13584 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "13584 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "13584 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay schd_headway \\\n", + "13584 Northbound 7.60 315.00 25957.00 \n", + "\n", + " avg_schd_headway_sec std_dev_headway bunching_coefficient \\\n", + "13584 10023.50 11333.78 1.13 \n", + "\n", + " avg_schd_headway_min actual_headway_min passenger_op_perspective \n", + "13584 167.06 436.30 Most vehicles bunched " + ] + }, + "execution_count": 87, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "fillmore.tail(1)" + ] + }, + { + "cell_type": "markdown", + "id": "fb80489d-124b-4331-9b31-f6950c882bde", + "metadata": {}, + "source": [ + "#### What do you do with scheduled headways that are pretty extreme compared to the other rows?" + ] + }, + { + "cell_type": "code", + "execution_count": 92, + "id": "fe3ede7c-d7b2-43bd-affb-71a0e8140a0d", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "432.6166666666667" + ] + }, + "execution_count": 92, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "25957.00/60" + ] + }, + { + "cell_type": "code", + "execution_count": 94, + "id": "dc7dfad6-3972-4a84-8524-fec4f7beb9bf", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "7.266666666666667" + ] + }, + "execution_count": 94, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "436/60" + ] + }, + { + "cell_type": "code", + "execution_count": 91, + "id": "6f817056-5594-45d1-9bfa-fdd1343fbea7", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headwayavg_schd_headway_secstd_dev_headwaybunching_coefficientavg_schd_headway_minactual_headway_minsched_headway_min
44391711490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60315.0026178.0025957.0010023.5011333.781.13167.06436.30432.62
44391811490090_M3117769772092.007cc0cb1871dfd558f11a2885c145d1446aaf49dfccb82109a1f77471fee6e43a7168922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-403.003602.004320.0010023.5011333.781.13167.0660.0372.00
44391911490091_M3117769773892.007cc0cb1871dfd558f11a2885c145d144e8ff0c3ae23fd4ba4ab3d251d0c110697269022fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-1202.001001.001800.0010023.5011333.781.13167.0616.6830.00
44392011490099_M3117769781909.007cc0cb1871dfd558f11a2885c145d1442c824de8cf7a1b5338f76d2501e6ebd58134922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-560.008659.008017.0010023.5011333.781.13167.06144.32133.62
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "443917 11490047_M31 17769 7 67772.00 \n", + "443918 11490090_M31 17769 7 72092.00 \n", + "443919 11490091_M31 17769 7 73892.00 \n", + "443920 11490099_M31 17769 7 81909.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "443917 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "443918 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", + "443919 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", + "443920 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "443917 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "443918 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "443919 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "443920 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "443917 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "443918 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "443919 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "443920 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "443917 Northbound 7.60 315.00 26178.00 \n", + "443918 Northbound 7.60 -403.00 3602.00 \n", + "443919 Northbound 7.60 -1202.00 1001.00 \n", + "443920 Northbound 7.60 -560.00 8659.00 \n", + "\n", + " schd_headway avg_schd_headway_sec std_dev_headway \\\n", + "443917 25957.00 10023.50 11333.78 \n", + "443918 4320.00 10023.50 11333.78 \n", + "443919 1800.00 10023.50 11333.78 \n", + "443920 8017.00 10023.50 11333.78 \n", + "\n", + " bunching_coefficient avg_schd_headway_min actual_headway_min \\\n", + "443917 1.13 167.06 436.30 \n", + "443918 1.13 167.06 60.03 \n", + "443919 1.13 167.06 16.68 \n", + "443920 1.13 167.06 144.32 \n", + "\n", + " sched_headway_min \n", + "443917 432.62 \n", + "443918 72.00 \n", + "443919 30.00 \n", + "443920 133.62 " + ] + }, + "execution_count": 91, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "m2.loc[(m2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", + " (m2.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", + " (m2.route_id== \"22\") &\n", + " (m2.direction_id == 1) &\n", + " (m2.stop_id == \"17769\")]" + ] + }, + { + "cell_type": "code", + "execution_count": 93, + "id": "5139303d-7405-46c8-b789-5a1926a04f00", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
52887511490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
52975311490091_M3117769773892.007cc0cb1871dfd558f11a2885c145d144e8ff0c3ae23fd4ba4ab3d251d0c110697269022fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
55618911490099_M3117769781909.007cc0cb1871dfd558f11a2885c145d1442c824de8cf7a1b5338f76d2501e6ebd58134922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
68895511490090_M3117769772092.007cc0cb1871dfd558f11a2885c145d1446aaf49dfccb82109a1f77471fee6e43a7168922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
68907311490074_M3117769741815.007cc0cb1871dfd558f11a2885c145d14459dbf32fbb998fc9837ad6fe10146b644190922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "528875 11490047_M31 17769 7 67772.00 \n", + "529753 11490091_M31 17769 7 73892.00 \n", + "556189 11490099_M31 17769 7 81909.00 \n", + "688955 11490090_M31 17769 7 72092.00 \n", + "689073 11490074_M31 17769 7 41815.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "528875 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "529753 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", + "556189 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", + "688955 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", + "689073 7cc0cb1871dfd558f11a2885c145d144 59dbf32fbb998fc9837ad6fe10146b64 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "528875 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "529753 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "556189 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "688955 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "689073 41909 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "528875 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "529753 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "556189 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "688955 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "689073 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes \n", + "528875 Northbound 7.60 \n", + "529753 Northbound 7.60 \n", + "556189 Northbound 7.60 \n", + "688955 Northbound 7.60 \n", + "689073 Northbound 7.60 " + ] + }, + "execution_count": 93, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.loc[(rt_stop_times2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", + " (rt_stop_times2.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", + " (rt_stop_times2.route_id== \"22\") &\n", + " (rt_stop_times2.direction_id == 1) &\n", + " (rt_stop_times2.stop_id == \"17769\")]" + ] + }, + { + "cell_type": "code", + "execution_count": 95, + "id": "439550dd-7c0b-42df-9696-df40111a54c4", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
50853611490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
50936611490091_M3117769773892.007cc0cb1871dfd558f11a2885c145d144e8ff0c3ae23fd4ba4ab3d251d0c110697269022fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
53453811490099_M3117769781909.007cc0cb1871dfd558f11a2885c145d1442c824de8cf7a1b5338f76d2501e6ebd58134922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
14818130852466154511490090_M3117769772092.007cc0cb1871dfd558f11a2885c145d1446aaf49dfccb82109a1f77471fee6e43a7168922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60782.000.84Most vehicles bunched26.7853.08
14819164922566166311490074_M3117769741815.007cc0cb1871dfd558f11a2885c145d14459dbf32fbb998fc9837ad6fe10146b644190922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60758.000.84Most vehicles bunched26.8053.07
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "508536 11490047_M31 17769 7 67772.00 \n", + "509366 11490091_M31 17769 7 73892.00 \n", + "534538 11490099_M31 17769 7 81909.00 \n", + "661545 11490090_M31 17769 7 72092.00 \n", + "661663 11490074_M31 17769 7 41815.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "508536 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "509366 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", + "534538 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", + "661545 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", + "661663 7cc0cb1871dfd558f11a2885c145d144 59dbf32fbb998fc9837ad6fe10146b64 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "508536 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "509366 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "534538 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "661545 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "661663 41909 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "508536 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "509366 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "534538 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "661545 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "661663 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes \n", + "508536 Northbound 7.60 \n", + "509366 Northbound 7.60 \n", + "534538 Northbound 7.60 \n", + "661545 Northbound 7.60 \n", + "661663 Northbound 7.60 " + ] + }, + "execution_count": 95, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times3.loc[(rt_stop_times3.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", + " (rt_stop_times3.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", + " (rt_stop_times3.route_id== \"22\") &\n", + " (rt_stop_times3.direction_id == 1) &\n", + " (rt_stop_times3.stop_id == \"17769\")]" + ] + }, + { + "cell_type": "code", + "execution_count": 96, + "id": "46168b64-d96c-4cfa-854a-54c18d4c9ad9", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelay
14820164872646215511490074_M3117769741815.007cc0cb1871dfd558f11a2885c145d14459dbf32fbb998fc9837ad6fe10146b644190922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60732.000.84Most vehicles bunched26.8253.0794.00
14821164902746215611490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60689.000.75Most vehicles bunched31.3353.07315.00
14822146432846215711490090_M3117769772092.007cc0cb1871dfd558f11a2885c145d1446aaf49dfccb82109a1f77471fee6e43a7168922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60634.000.28Vehicles slightly off headway50.7451.95-403.00
14823146262946215811490091_M3117769773892.007cc0cb1871dfd558f11a2885c145d144e8ff0c3ae23fd4ba4ab3d251d0c110697269022fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60558.000.15Service provided like clockwork59.5050.43-1202.00
1482417766246215911490099_M3117769781909.007cc0cb1871dfd558f11a2885c145d1442c824de8cf7a1b5338f76d2501e6ebd58134922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60125.001.12Most vehicles bunched167.68435.77-560.00
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "462155 11490074_M31 17769 7 41815.00 \n", + "462156 11490047_M31 17769 7 67772.00 \n", + "462157 11490090_M31 17769 7 72092.00 \n", + "462158 11490091_M31 17769 7 73892.00 \n", + "462159 11490099_M31 17769 7 81909.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "462155 7cc0cb1871dfd558f11a2885c145d144 59dbf32fbb998fc9837ad6fe10146b64 \n", + "462156 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "462157 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", + "462158 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", + "462159 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "462155 41909 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "462156 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "462157 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "462158 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "462159 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "462155 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "462156 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "462157 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "462158 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "462159 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay \n", + "462155 Northbound 7.60 94.00 \n", + "462156 Northbound 7.60 315.00 \n", + "462157 Northbound 7.60 -403.00 \n", + "462158 Northbound 7.60 -1202.00 \n", + "462159 Northbound 7.60 -560.00 " + ] + }, + "execution_count": 96, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times4.loc[(rt_stop_times4.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", + " (rt_stop_times4.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", + " (rt_stop_times4.route_id== \"22\") &\n", + " (rt_stop_times4.direction_id == 1) &\n", + " (rt_stop_times4.stop_id == \"17769\")]" + ] + }, + { + "cell_type": "code", + "execution_count": 97, + "id": "659d98b2-ba85-4633-9f03-267eddc4ab49", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", + " \n", + " \n", " \n", " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", " \n", " \n", "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headway
1482517324346167711490074_M3117769741815.007cc0cb1871dfd558f11a2885c145d14459dbf32fbb998fc9837ad6fe10146b644190922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6069.001.11Most vehicles bunched167.53432.3394.00NaNNaN
1482617767446167811490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60147.001.11Most vehicles bunched167.39431.12315.0026178.0025957.00
1482717865546167911490090_M3117769772092.007cc0cb1871dfd558f11a2885c145d1446aaf49dfccb82109a1f77471fee6e43a7168922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60184.001.11Most vehicles bunched167.32432.23-403.003602.004320.00
1482817768646168011490091_M3117769773892.007cc0cb1871dfd558f11a2885c145d144e8ff0c3ae23fd4ba4ab3d251d0c110697269022fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60266.001.12Most vehicles bunched167.16434.72-1202.001001.001800.00
1482946168111490099_M3117769781909.007cc0cb1871dfd558f11a2885c145d1442c824de8cf7a1b5338f76d2501e6ebd58134922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60315.001.13Most vehicles bunched167.06436.30-560.008659.008017.00
\n", "
" ], "text/plain": [ - " stop_id stop_sequence route_id route_long_name direction_id \\\n", - "14682 14630 2 22 FILLMORE 0.00 \n", - "14683 14609 7 22 FILLMORE 0.00 \n", - "14684 14627 8 22 FILLMORE 0.00 \n", - "14685 16754 9 22 FILLMORE 0.00 \n", - "14686 16491 10 22 FILLMORE 0.00 \n", - "14687 16488 11 22 FILLMORE 0.00 \n", - "14688 16493 12 22 FILLMORE 0.00 \n", - "14689 13086 13 22 FILLMORE 0.00 \n", - "14690 14605 14 22 FILLMORE 0.00 \n", - "14691 14624 15 22 FILLMORE 0.00 \n", - "14692 14637 16 22 FILLMORE 0.00 \n", - "14693 14636 17 22 FILLMORE 0.00 \n", - "14694 14641 18 22 FILLMORE 0.00 \n", - "14695 14615 19 22 FILLMORE 0.00 \n", - "14696 14634 20 22 FILLMORE 0.00 \n", - "14697 14612 21 22 FILLMORE 0.00 \n", - "14698 14642 22 22 FILLMORE 0.00 \n", - "14699 14629 23 22 FILLMORE 0.00 \n", - "14700 14617 24 22 FILLMORE 0.00 \n", - "14701 14622 25 22 FILLMORE 0.00 \n", - "14702 14632 26 22 FILLMORE 0.00 \n", - "14703 14618 27 22 FILLMORE 0.00 \n", - "14704 15018 28 22 FILLMORE 0.00 \n", - "14705 14005 29 22 FILLMORE 0.00 \n", - "14706 18059 30 22 FILLMORE 0.00 \n", - "14707 13984 31 22 FILLMORE 0.00 \n", - "14708 13285 32 22 FILLMORE 0.00 \n", - "14709 13301 33 22 FILLMORE 0.00 \n", - "14710 13293 34 22 FILLMORE 0.00 \n", - "14711 14630 2 22 FILLMORE 0.00 \n", - "14712 14607 3 22 FILLMORE 0.00 \n", - "14713 14625 4 22 FILLMORE 0.00 \n", - "14714 14606 5 22 FILLMORE 0.00 \n", - "14715 14610 6 22 FILLMORE 0.00 \n", - "14716 14609 7 22 FILLMORE 0.00 \n", - "14717 14627 8 22 FILLMORE 0.00 \n", - "14718 16754 9 22 FILLMORE 0.00 \n", - "14719 16491 10 22 FILLMORE 0.00 \n", - "14720 16488 11 22 FILLMORE 0.00 \n", - "14721 16493 12 22 FILLMORE 0.00 \n", - "14722 13086 13 22 FILLMORE 0.00 \n", - "14723 14605 14 22 FILLMORE 0.00 \n", - "14724 14624 15 22 FILLMORE 0.00 \n", - "14725 14637 16 22 FILLMORE 0.00 \n", - "14726 14636 17 22 FILLMORE 0.00 \n", - "14727 14641 18 22 FILLMORE 0.00 \n", - "14728 14615 19 22 FILLMORE 0.00 \n", - "14729 14634 20 22 FILLMORE 0.00 \n", - "14730 14612 21 22 FILLMORE 0.00 \n", - "14731 14642 22 22 FILLMORE 0.00 \n", - "14732 14629 23 22 FILLMORE 0.00 \n", - "14733 14617 24 22 FILLMORE 0.00 \n", - "14734 14622 25 22 FILLMORE 0.00 \n", - "14735 14632 26 22 FILLMORE 0.00 \n", - "14736 14618 27 22 FILLMORE 0.00 \n", - "14737 15018 28 22 FILLMORE 0.00 \n", - "14738 14005 29 22 FILLMORE 0.00 \n", - "14739 18059 30 22 FILLMORE 0.00 \n", - "14740 13984 31 22 FILLMORE 0.00 \n", - "14741 13285 32 22 FILLMORE 0.00 \n", - "14742 13301 33 22 FILLMORE 0.00 \n", - "14743 13293 34 22 FILLMORE 0.00 \n", - "14744 13299 35 22 FILLMORE 0.00 \n", - "14745 13282 36 22 FILLMORE 0.00 \n", - "14746 13296 37 22 FILLMORE 0.00 \n", - "14747 17761 38 22 FILLMORE 0.00 \n", - "14748 17762 39 22 FILLMORE 0.00 \n", - "14749 17763 40 22 FILLMORE 0.00 \n", - "14750 17866 41 22 FILLMORE 0.00 \n", - "14752 17761 2 22 FILLMORE 0.00 \n", - "14753 17762 3 22 FILLMORE 0.00 \n", - "14754 17763 4 22 FILLMORE 0.00 \n", - "14755 17866 5 22 FILLMORE 0.00 \n", - "14756 17764 6 22 FILLMORE 0.00 \n", - "14757 17321 7 22 FILLMORE 0.00 \n", - "14758 17766 2 22 FILLMORE 1.00 \n", - "14759 17324 3 22 FILLMORE 1.00 \n", - "14760 17767 4 22 FILLMORE 1.00 \n", - "14761 17865 5 22 FILLMORE 1.00 \n", - "14762 17768 6 22 FILLMORE 1.00 \n", - "14763 17769 7 22 FILLMORE 1.00 \n", - "14764 17770 8 22 FILLMORE 1.00 \n", - "14765 13295 9 22 FILLMORE 1.00 \n", - "14766 13281 10 22 FILLMORE 1.00 \n", - "14767 17289 11 22 FILLMORE 1.00 \n", - "14768 13291 12 22 FILLMORE 1.00 \n", - "14769 13300 13 22 FILLMORE 1.00 \n", - "14770 13284 14 22 FILLMORE 1.00 \n", - "14771 13283 15 22 FILLMORE 1.00 \n", - "14772 17073 16 22 FILLMORE 1.00 \n", - "14773 17074 17 22 FILLMORE 1.00 \n", - "14774 15017 18 22 FILLMORE 1.00 \n", - "14775 14620 19 22 FILLMORE 1.00 \n", - "14776 14631 20 22 FILLMORE 1.00 \n", - "14777 14621 21 22 FILLMORE 1.00 \n", - "14778 14616 22 22 FILLMORE 1.00 \n", - "14779 14628 23 22 FILLMORE 1.00 \n", - "14780 14613 24 22 FILLMORE 1.00 \n", - "14781 14611 25 22 FILLMORE 1.00 \n", - "14782 14633 26 22 FILLMORE 1.00 \n", - "14783 14614 27 22 FILLMORE 1.00 \n", - "14784 14640 28 22 FILLMORE 1.00 \n", - "14785 14635 29 22 FILLMORE 1.00 \n", - "14786 14638 30 22 FILLMORE 1.00 \n", - "14787 14623 31 22 FILLMORE 1.00 \n", - "14788 14604 32 22 FILLMORE 1.00 \n", - "14789 13085 33 22 FILLMORE 1.00 \n", - "14790 16492 34 22 FILLMORE 1.00 \n", - "14791 16487 35 22 FILLMORE 1.00 \n", - "14792 16490 36 22 FILLMORE 1.00 \n", - "14793 14643 37 22 FILLMORE 1.00 \n", - "14794 14626 38 22 FILLMORE 1.00 \n", - "14795 14608 39 22 FILLMORE 1.00 \n", - "14796 17289 2 22 FILLMORE 1.00 \n", - "14797 13291 3 22 FILLMORE 1.00 \n", - "14798 13300 4 22 FILLMORE 1.00 \n", - "14799 13284 5 22 FILLMORE 1.00 \n", - "14800 13283 6 22 FILLMORE 1.00 \n", - "14801 17073 7 22 FILLMORE 1.00 \n", - "14802 17074 8 22 FILLMORE 1.00 \n", - "14803 15017 9 22 FILLMORE 1.00 \n", - "14804 14620 10 22 FILLMORE 1.00 \n", - "14805 14631 11 22 FILLMORE 1.00 \n", - "14806 14621 12 22 FILLMORE 1.00 \n", - "14807 14616 13 22 FILLMORE 1.00 \n", - "14808 14628 14 22 FILLMORE 1.00 \n", - "14809 14613 15 22 FILLMORE 1.00 \n", - "14810 14611 16 22 FILLMORE 1.00 \n", - "14811 14633 17 22 FILLMORE 1.00 \n", - "14812 14614 18 22 FILLMORE 1.00 \n", - "14813 14640 19 22 FILLMORE 1.00 \n", - "14814 14635 20 22 FILLMORE 1.00 \n", - "14815 14638 21 22 FILLMORE 1.00 \n", - "14816 14623 22 22 FILLMORE 1.00 \n", - "14817 14604 23 22 FILLMORE 1.00 \n", - "14818 13085 24 22 FILLMORE 1.00 \n", - "14819 16492 25 22 FILLMORE 1.00 \n", - "14820 16487 26 22 FILLMORE 1.00 \n", - "14821 16490 27 22 FILLMORE 1.00 \n", - "14822 14643 28 22 FILLMORE 1.00 \n", - "14823 14626 29 22 FILLMORE 1.00 \n", - "14824 17766 2 22 FILLMORE 1.00 \n", - "14825 17324 3 22 FILLMORE 1.00 \n", - "14826 17767 4 22 FILLMORE 1.00 \n", - "14827 17865 5 22 FILLMORE 1.00 \n", - "14828 17768 6 22 FILLMORE 1.00 \n", - "14829 17769 7 22 FILLMORE 1.00 \n", + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "461677 11490074_M31 17769 7 41815.00 \n", + "461678 11490047_M31 17769 7 67772.00 \n", + "461679 11490090_M31 17769 7 72092.00 \n", + "461680 11490091_M31 17769 7 73892.00 \n", + "461681 11490099_M31 17769 7 81909.00 \n", "\n", - " route_primary_direction frequency_in_minutes delay \\\n", - "14682 Southbound 7.61 161.00 \n", - "14683 Southbound 7.61 -53.00 \n", - "14684 Southbound 7.61 -98.00 \n", - "14685 Southbound 7.61 115.00 \n", - "14686 Southbound 7.61 43.00 \n", - "14687 Southbound 7.61 21.00 \n", - "14688 Southbound 7.61 -20.00 \n", - "14689 Southbound 7.61 -58.00 \n", - "14690 Southbound 7.61 -113.00 \n", - "14691 Southbound 7.61 -84.00 \n", - "14692 Southbound 7.61 -32.00 \n", - "14693 Southbound 7.61 -108.00 \n", - "14694 Southbound 7.61 -147.00 \n", - "14695 Southbound 7.61 165.00 \n", - "14696 Southbound 7.61 109.00 \n", - "14697 Southbound 7.61 24.00 \n", - "14698 Southbound 7.61 -51.00 \n", - "14699 Southbound 7.61 -139.00 \n", - "14700 Southbound 7.61 -214.00 \n", - "14701 Southbound 7.61 -261.00 \n", - "14702 Southbound 7.61 -119.00 \n", - "14703 Southbound 7.61 -172.00 \n", - "14704 Southbound 7.61 -118.00 \n", - "14705 Southbound 7.61 -157.00 \n", - "14706 Southbound 7.61 -229.00 \n", - "14707 Southbound 7.61 -203.00 \n", - "14708 Southbound 7.61 -281.00 \n", - "14709 Southbound 7.61 -154.00 \n", - "14710 Southbound 7.61 -449.00 \n", - "14711 Southbound 7.61 184.00 \n", - "14712 Southbound 7.61 1.00 \n", - "14713 Southbound 7.61 -75.00 \n", - "14714 Southbound 7.61 193.00 \n", - "14715 Southbound 7.61 300.00 \n", - "14716 Southbound 7.61 792.00 \n", - "14717 Southbound 7.61 766.00 \n", - "14718 Southbound 7.61 212.00 \n", - "14719 Southbound 7.61 177.00 \n", - "14720 Southbound 7.61 161.00 \n", - "14721 Southbound 7.61 131.00 \n", - "14722 Southbound 7.61 103.00 \n", - "14723 Southbound 7.61 62.00 \n", - "14724 Southbound 7.61 28.00 \n", - "14725 Southbound 7.61 449.00 \n", - "14726 Southbound 7.61 388.00 \n", - "14727 Southbound 7.61 322.00 \n", - "14728 Southbound 7.61 268.00 \n", - "14729 Southbound 7.61 230.00 \n", - "14730 Southbound 7.61 180.00 \n", - "14731 Southbound 7.61 137.00 \n", - "14732 Southbound 7.61 176.00 \n", - "14733 Southbound 7.61 203.00 \n", - "14734 Southbound 7.61 225.00 \n", - "14735 Southbound 7.61 177.00 \n", - "14736 Southbound 7.61 149.00 \n", - "14737 Southbound 7.61 364.00 \n", - "14738 Southbound 7.61 333.00 \n", - "14739 Southbound 7.61 275.00 \n", - "14740 Southbound 7.61 212.00 \n", - "14741 Southbound 7.61 168.00 \n", - "14742 Southbound 7.61 299.00 \n", - "14743 Southbound 7.61 249.00 \n", - "14744 Southbound 7.61 464.00 \n", - "14745 Southbound 7.61 365.00 \n", - "14746 Southbound 7.61 360.00 \n", - "14747 Southbound 7.61 319.00 \n", - "14748 Southbound 7.61 537.00 \n", - "14749 Southbound 7.61 468.00 \n", - "14750 Southbound 7.61 361.00 \n", - "14752 Southbound 7.61 75.00 \n", - "14753 Southbound 7.61 66.00 \n", - "14754 Southbound 7.61 42.00 \n", - "14755 Southbound 7.61 235.00 \n", - "14756 Southbound 7.61 209.00 \n", - "14757 Southbound 7.61 147.00 \n", - "14758 Northbound 7.60 36.00 \n", - "14759 Northbound 7.60 -36.00 \n", - "14760 Northbound 7.60 -99.00 \n", - "14761 Northbound 7.60 375.00 \n", - "14762 Northbound 7.60 297.00 \n", - "14763 Northbound 7.60 244.00 \n", - "14764 Northbound 7.60 188.00 \n", - "14765 Northbound 7.60 85.00 \n", - "14766 Northbound 7.60 28.00 \n", - "14767 Northbound 7.60 -67.00 \n", - "14768 Northbound 7.60 -142.00 \n", - "14769 Northbound 7.60 56.00 \n", - "14770 Northbound 7.60 -45.00 \n", - "14771 Northbound 7.60 -87.00 \n", - "14772 Northbound 7.60 -169.00 \n", - "14773 Northbound 7.60 -104.00 \n", - "14774 Northbound 7.60 -125.00 \n", - "14775 Northbound 7.60 -157.00 \n", - "14776 Northbound 7.60 267.00 \n", - "14777 Northbound 7.60 617.00 \n", - "14778 Northbound 7.60 595.00 \n", - "14779 Northbound 7.60 541.00 \n", - "14780 Northbound 7.60 498.00 \n", - "14781 Northbound 7.60 437.00 \n", - "14782 Northbound 7.60 388.00 \n", - "14783 Northbound 7.60 396.00 \n", - "14784 Northbound 7.60 305.00 \n", - "14785 Northbound 7.60 252.00 \n", - "14786 Northbound 7.60 222.00 \n", - "14787 Northbound 7.60 256.00 \n", - "14788 Northbound 7.60 305.00 \n", - "14789 Northbound 7.60 356.00 \n", - "14790 Northbound 7.60 387.00 \n", - "14791 Northbound 7.60 362.00 \n", - "14792 Northbound 7.60 319.00 \n", - "14793 Northbound 7.60 281.00 \n", - "14794 Northbound 7.60 323.00 \n", - "14795 Northbound 7.60 139.00 \n", - "14796 Northbound 7.60 512.00 \n", - "14797 Northbound 7.60 434.00 \n", - "14798 Northbound 7.60 386.00 \n", - "14799 Northbound 7.60 280.00 \n", - "14800 Northbound 7.60 235.00 \n", - "14801 Northbound 7.60 149.00 \n", - "14802 Northbound 7.60 96.00 \n", - "14803 Northbound 7.60 48.00 \n", - "14804 Northbound 7.60 -23.00 \n", - "14805 Northbound 7.60 385.00 \n", - "14806 Northbound 7.60 342.00 \n", - "14807 Northbound 7.60 320.00 \n", - "14808 Northbound 7.60 266.00 \n", - "14809 Northbound 7.60 224.00 \n", - "14810 Northbound 7.60 164.00 \n", - "14811 Northbound 7.60 116.00 \n", - "14812 Northbound 7.60 67.00 \n", - "14813 Northbound 7.60 35.00 \n", - "14814 Northbound 7.60 731.00 \n", - "14815 Northbound 7.60 939.00 \n", - "14816 Northbound 7.60 857.00 \n", - "14817 Northbound 7.60 819.00 \n", - "14818 Northbound 7.60 782.00 \n", - "14819 Northbound 7.60 758.00 \n", - "14820 Northbound 7.60 732.00 \n", - "14821 Northbound 7.60 689.00 \n", - "14822 Northbound 7.60 634.00 \n", - "14823 Northbound 7.60 558.00 \n", - "14824 Northbound 7.60 125.00 \n", - "14825 Northbound 7.60 69.00 \n", - "14826 Northbound 7.60 147.00 \n", - "14827 Northbound 7.60 184.00 \n", - "14828 Northbound 7.60 266.00 \n", - "14829 Northbound 7.60 315.00 \n", - "\n", - " bunching_coefficient passenger_op_perspective \\\n", - "14682 0.49 Irregular headways, with some bunching \n", - "14683 0.73 Frequent bunching \n", - "14684 0.99 Most vehicles bunched \n", - "14685 0.82 Most vehicles bunched \n", - "14686 0.73 Frequent bunching \n", - "14687 0.68 Frequent bunching \n", - "14688 0.67 Frequent bunching \n", - "14689 0.66 Frequent bunching \n", - "14690 0.74 Frequent bunching \n", - "14691 0.67 Frequent bunching \n", - "14692 0.70 Frequent bunching \n", - "14693 0.62 Frequent bunching \n", - "14694 0.56 Frequent bunching \n", - "14695 0.66 Frequent bunching \n", - "14696 0.65 Frequent bunching \n", - "14697 0.65 Frequent bunching \n", - "14698 0.64 Frequent bunching \n", - "14699 0.63 Frequent bunching \n", - "14700 0.59 Frequent bunching \n", - "14701 0.60 Frequent bunching \n", - "14702 0.62 Frequent bunching \n", - "14703 0.60 Frequent bunching \n", - "14704 0.63 Frequent bunching \n", - "14705 0.63 Frequent bunching \n", - "14706 0.58 Frequent bunching \n", - "14707 1.17 Most vehicles bunched \n", - "14708 1.15 Most vehicles bunched \n", - "14709 1.17 Most vehicles bunched \n", - "14710 0.85 Most vehicles bunched \n", - "14711 0.91 Most vehicles bunched \n", - "14712 1.13 Most vehicles bunched \n", - "14713 1.17 Most vehicles bunched \n", - "14714 0.63 Frequent bunching \n", - "14715 0.93 Most vehicles bunched \n", - "14716 1.04 Most vehicles bunched \n", - "14717 1.08 Most vehicles bunched \n", - "14718 1.00 Most vehicles bunched \n", - "14719 0.88 Most vehicles bunched \n", - "14720 0.92 Most vehicles bunched \n", - "14721 1.07 Most vehicles bunched \n", - "14722 0.97 Most vehicles bunched \n", - "14723 1.05 Most vehicles bunched \n", - "14724 0.96 Most vehicles bunched \n", - "14725 0.97 Most vehicles bunched \n", - "14726 0.93 Most vehicles bunched \n", - "14727 0.88 Most vehicles bunched \n", - "14728 0.85 Most vehicles bunched \n", - "14729 0.88 Most vehicles bunched \n", - "14730 0.83 Most vehicles bunched \n", - "14731 0.88 Most vehicles bunched \n", - "14732 0.82 Most vehicles bunched \n", - "14733 0.89 Most vehicles bunched \n", - "14734 0.86 Most vehicles bunched \n", - "14735 0.89 Most vehicles bunched \n", - "14736 0.94 Most vehicles bunched \n", - "14737 1.00 Most vehicles bunched \n", - "14738 0.97 Most vehicles bunched \n", - "14739 0.99 Most vehicles bunched \n", - "14740 0.99 Most vehicles bunched \n", - "14741 0.90 Most vehicles bunched \n", - "14742 0.90 Most vehicles bunched \n", - "14743 0.94 Most vehicles bunched \n", - "14744 0.93 Most vehicles bunched \n", - "14745 0.95 Most vehicles bunched \n", - "14746 1.05 Most vehicles bunched \n", - "14747 0.89 Most vehicles bunched \n", - "14748 0.93 Most vehicles bunched \n", - "14749 0.95 Most vehicles bunched \n", - "14750 0.88 Most vehicles bunched \n", - "14752 0.97 Most vehicles bunched \n", - "14753 0.91 Most vehicles bunched \n", - "14754 0.96 Most vehicles bunched \n", - "14755 0.98 Most vehicles bunched \n", - "14756 1.00 Most vehicles bunched \n", - "14757 1.23 Most vehicles bunched \n", - "14758 1.57 Most vehicles bunched \n", - "14759 1.27 Most vehicles bunched \n", - "14760 1.23 Most vehicles bunched \n", - "14761 1.18 Most vehicles bunched \n", - "14762 0.93 Most vehicles bunched \n", - "14763 1.07 Most vehicles bunched \n", - "14764 1.00 Most vehicles bunched \n", - "14765 1.03 Most vehicles bunched \n", - "14766 1.18 Most vehicles bunched \n", - "14767 1.19 Most vehicles bunched \n", - "14768 1.14 Most vehicles bunched \n", - "14769 1.06 Most vehicles bunched \n", - "14770 1.11 Most vehicles bunched \n", - "14771 1.15 Most vehicles bunched \n", - "14772 1.10 Most vehicles bunched \n", - "14773 1.14 Most vehicles bunched \n", - "14774 1.15 Most vehicles bunched \n", - "14775 1.28 Most vehicles bunched \n", - "14776 1.20 Most vehicles bunched \n", - "14777 1.06 Most vehicles bunched \n", - "14778 1.08 Most vehicles bunched \n", - "14779 1.03 Most vehicles bunched \n", - "14780 1.13 Most vehicles bunched \n", - "14781 1.03 Most vehicles bunched \n", - "14782 0.99 Most vehicles bunched \n", - "14783 1.08 Most vehicles bunched \n", - "14784 0.93 Most vehicles bunched \n", - "14785 0.93 Most vehicles bunched \n", - "14786 0.92 Most vehicles bunched \n", - "14787 0.90 Most vehicles bunched \n", - "14788 0.93 Most vehicles bunched \n", - "14789 0.92 Most vehicles bunched \n", - "14790 0.92 Most vehicles bunched \n", - "14791 0.89 Most vehicles bunched \n", - "14792 0.80 Most vehicles bunched \n", - "14793 0.95 Most vehicles bunched \n", - "14794 0.95 Most vehicles bunched \n", - "14795 0.78 Most vehicles bunched \n", - "14796 1.08 Most vehicles bunched \n", - "14797 0.84 Most vehicles bunched \n", - "14798 0.67 Frequent bunching \n", - "14799 0.88 Most vehicles bunched \n", - "14800 0.88 Most vehicles bunched \n", - "14801 0.88 Most vehicles bunched \n", - "14802 0.87 Most vehicles bunched \n", - "14803 0.86 Most vehicles bunched \n", - "14804 0.86 Most vehicles bunched \n", - "14805 0.83 Most vehicles bunched \n", - "14806 0.82 Most vehicles bunched \n", - "14807 0.80 Most vehicles bunched \n", - "14808 0.79 Most vehicles bunched \n", - "14809 0.78 Most vehicles bunched \n", - "14810 0.83 Most vehicles bunched \n", - "14811 0.82 Most vehicles bunched \n", - "14812 0.79 Most vehicles bunched \n", - "14813 1.21 Most vehicles bunched \n", - "14814 0.80 Most vehicles bunched \n", - "14815 0.78 Most vehicles bunched \n", - "14816 0.80 Most vehicles bunched \n", - "14817 0.82 Most vehicles bunched \n", - "14818 0.84 Most vehicles bunched \n", - "14819 0.84 Most vehicles bunched \n", - "14820 0.84 Most vehicles bunched \n", - "14821 0.75 Most vehicles bunched \n", - "14822 0.28 Vehicles slightly off headway \n", - "14823 0.15 Service provided like clockwork \n", - "14824 1.12 Most vehicles bunched \n", - "14825 1.11 Most vehicles bunched \n", - "14826 1.11 Most vehicles bunched \n", - "14827 1.11 Most vehicles bunched \n", - "14828 1.12 Most vehicles bunched \n", - "14829 1.13 Most vehicles bunched \n", - "\n", - " avg_schd_headway_min actual_headway_min \n", - "14682 29.18 39.20 \n", - "14683 22.60 6.40 \n", - "14684 22.60 5.63 \n", - "14685 24.17 36.67 \n", - "14686 24.17 35.57 \n", - "14687 24.15 35.07 \n", - "14688 24.12 34.13 \n", - "14689 24.09 33.28 \n", - "14690 24.05 32.07 \n", - "14691 24.02 32.27 \n", - "14692 23.95 32.62 \n", - "14693 23.89 30.92 \n", - "14694 23.83 28.33 \n", - "14695 23.79 32.02 \n", - "14696 23.77 31.95 \n", - "14697 23.73 31.87 \n", - "14698 23.70 31.78 \n", - "14699 23.67 31.67 \n", - "14700 23.62 27.45 \n", - "14701 23.59 24.13 \n", - "14702 23.53 22.80 \n", - "14703 23.50 22.90 \n", - "14704 23.50 25.32 \n", - "14705 23.50 25.50 \n", - "14706 23.50 25.88 \n", - "14707 29.12 28.38 \n", - "14708 29.02 28.63 \n", - "14709 28.85 33.37 \n", - "14710 38.33 36.10 \n", - "14711 11.12 43.02 \n", - "14712 47.45 17.37 \n", - "14713 52.72 16.80 \n", - "14714 68.00 57.33 \n", - "14715 40.80 57.02 \n", - "14716 11.17 22.35 \n", - "14717 9.02 42.18 \n", - "14718 8.15 15.35 \n", - "14719 8.95 15.22 \n", - "14720 8.15 15.15 \n", - "14721 7.91 15.03 \n", - "14722 7.97 14.93 \n", - "14723 8.03 14.78 \n", - "14724 7.97 14.68 \n", - "14725 7.86 18.88 \n", - "14726 7.92 18.67 \n", - "14727 8.22 18.48 \n", - "14728 8.42 27.43 \n", - "14729 8.57 15.05 \n", - "14730 8.37 15.00 \n", - "14731 8.12 14.95 \n", - "14732 8.12 16.40 \n", - "14733 8.06 16.32 \n", - "14734 8.06 17.02 \n", - "14735 8.25 16.68 \n", - "14736 8.19 15.55 \n", - "14737 7.94 18.40 \n", - "14738 8.00 18.17 \n", - "14739 8.06 16.90 \n", - "14740 8.51 14.02 \n", - "14741 8.58 14.07 \n", - "14742 8.38 17.37 \n", - "14743 8.39 15.57 \n", - "14744 8.82 20.05 \n", - "14745 9.12 18.70 \n", - "14746 10.64 11.93 \n", - "14747 11.43 13.20 \n", - "14748 13.08 54.03 \n", - "14749 15.83 52.77 \n", - "14750 21.47 52.18 \n", - "14752 33.30 20.63 \n", - "14753 38.09 20.67 \n", - "14754 33.36 20.10 \n", - "14755 35.32 23.40 \n", - "14756 35.35 20.37 \n", - "14757 36.73 20.28 \n", - "14758 8.24 20.93 \n", - "14759 8.71 20.82 \n", - "14760 9.14 19.42 \n", - "14761 8.17 27.75 \n", - "14762 8.23 16.37 \n", - "14763 7.76 16.32 \n", - "14764 7.87 16.27 \n", - "14765 8.10 16.17 \n", - "14766 7.92 16.02 \n", - "14767 8.34 12.67 \n", - "14768 8.34 12.60 \n", - "14769 8.34 16.65 \n", - "14770 8.40 12.43 \n", - "14771 8.53 12.43 \n", - "14772 8.59 12.43 \n", - "14773 8.46 14.03 \n", - "14774 8.53 14.15 \n", - "14775 8.33 14.32 \n", - "14776 8.40 18.05 \n", - "14777 8.67 24.60 \n", - "14778 8.74 24.60 \n", - "14779 8.81 24.58 \n", - "14780 8.88 24.57 \n", - "14781 8.81 24.53 \n", - "14782 8.96 24.52 \n", - "14783 9.11 59.87 \n", - "14784 8.89 22.62 \n", - "14785 9.11 21.72 \n", - "14786 9.56 20.28 \n", - "14787 9.61 22.23 \n", - "14788 9.78 23.68 \n", - "14789 10.68 30.10 \n", - "14790 10.06 26.08 \n", - "14791 11.22 26.10 \n", - "14792 12.54 26.10 \n", - "14793 17.48 24.72 \n", - "14794 19.04 24.38 \n", - "14795 58.93 54.15 \n", - "14796 19.67 25.82 \n", - "14797 38.50 25.83 \n", - "14798 29.75 25.83 \n", - "14799 19.96 25.87 \n", - "14800 20.01 25.87 \n", - "14801 20.11 24.78 \n", - "14802 20.15 20.08 \n", - "14803 20.18 20.02 \n", - "14804 20.22 19.93 \n", - "14805 20.29 27.53 \n", - "14806 20.35 27.47 \n", - "14807 20.38 26.88 \n", - "14808 20.44 26.13 \n", - "14809 20.49 25.97 \n", - "14810 23.11 25.45 \n", - "14811 23.16 22.22 \n", - "14812 26.79 22.15 \n", - "14813 26.83 22.07 \n", - "14814 26.62 51.52 \n", - "14815 26.65 53.13 \n", - "14816 26.72 53.10 \n", - "14817 26.75 53.08 \n", - "14818 26.78 53.08 \n", - "14819 26.80 53.07 \n", - "14820 26.82 53.07 \n", - "14821 31.33 53.07 \n", - "14822 50.74 51.95 \n", - "14823 59.50 50.43 \n", - "14824 167.68 435.77 \n", - "14825 167.53 432.33 \n", - "14826 167.39 431.12 \n", - "14827 167.32 432.23 \n", - "14828 167.16 434.72 \n", - "14829 167.06 436.30 " + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "461677 7cc0cb1871dfd558f11a2885c145d144 59dbf32fbb998fc9837ad6fe10146b64 \n", + "461678 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "461679 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", + "461680 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", + "461681 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "461677 41909 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "461678 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "461679 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "461680 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "461681 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "461677 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "461678 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "461679 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "461680 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "461681 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "461677 Northbound 7.60 94.00 NaN \n", + "461678 Northbound 7.60 315.00 26178.00 \n", + "461679 Northbound 7.60 -403.00 3602.00 \n", + "461680 Northbound 7.60 -1202.00 1001.00 \n", + "461681 Northbound 7.60 -560.00 8659.00 \n", + "\n", + " schd_headway \n", + "461677 NaN \n", + "461678 25957.00 \n", + "461679 4320.00 \n", + "461680 1800.00 \n", + "461681 8017.00 " ] }, - "execution_count": 82, + "execution_count": 97, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "bunching_by_stops2.loc[bunching_by_stops2.route_long_name == \"FILLMORE\"].drop(\n", - " columns=drop_for_preview\n", - ")" + "rt_stop_times5.loc[(rt_stop_times5.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", + " (rt_stop_times5.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", + " (rt_stop_times5.route_id== \"22\") &\n", + " (rt_stop_times5.direction_id == 1) &\n", + " (rt_stop_times5.stop_id == \"17769\")]" ] }, { "cell_type": "code", - "execution_count": 83, + "execution_count": null, "id": "6992900c-6f8e-48eb-a038-48c1068662a0", "metadata": {}, "outputs": [], "source": [ "check1 = (\n", - " bunching_by_stops2.groupby(\n", + " bunching_by_stops.groupby(\n", " [\"stop_sequence\", \"route_id\", \"schedule_gtfs_dataset_key\"]\n", " )\n", " .agg({\"route_primary_direction\": \"nunique\"})\n", @@ -5770,29 +7375,10 @@ }, { "cell_type": "code", - "execution_count": 84, + "execution_count": null, "id": "8827f4af-14f6-44a7-87d4-8c3b5ddf2b51", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "count 4076.00\n", - "mean 1.89\n", - "std 0.31\n", - "min 1.00\n", - "25% 2.00\n", - "50% 2.00\n", - "75% 2.00\n", - "max 2.00\n", - "Name: route_primary_direction, dtype: float64" - ] - }, - "execution_count": 84, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "check1.route_primary_direction.describe()" ] From af5f514f9a1c6dcfd595b56912d91b1a43be2d7c Mon Sep 17 00:00:00 2001 From: amandaha8 Date: Tue, 6 Aug 2024 18:48:14 +0000 Subject: [PATCH 3/6] discover why some freq routes are not included --- gtfs_digest/27_transit_bunching_seconds.ipynb | 2118 ++++++++++++----- 1 file changed, 1464 insertions(+), 654 deletions(-) diff --git a/gtfs_digest/27_transit_bunching_seconds.ipynb b/gtfs_digest/27_transit_bunching_seconds.ipynb index 336f8c646..2ab8ab95d 100644 --- a/gtfs_digest/27_transit_bunching_seconds.ipynb +++ b/gtfs_digest/27_transit_bunching_seconds.ipynb @@ -243,6 +243,27 @@ "]" ] }, + { + "cell_type": "code", + "execution_count": 14, + "id": "fc18e4be-f035-4d5b-a096-e134dd17fc47", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "93" + ] + }, + "execution_count": 14, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "high_frequency_routes2.route_id.nunique()" + ] + }, { "cell_type": "markdown", "id": "207670ea-105b-4b6a-be32-53bfcc79349b", @@ -253,7 +274,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 15, "id": "674f8ee6-3f6d-4f90-90ba-7ea9ee688b28", "metadata": {}, "outputs": [], @@ -263,7 +284,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 16, "id": "5333afa8-4849-4864-b253-b03a1093e84f", "metadata": {}, "outputs": [], @@ -273,7 +294,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 17, "id": "111e2c27-337d-4440-a1f6-10ec582a6f9e", "metadata": {}, "outputs": [], @@ -291,7 +312,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 18, "id": "e1aed68a-0ed2-4da4-904a-cb91681e7f38", "metadata": {}, "outputs": [], @@ -303,7 +324,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 19, "id": "04901f96-76d5-4d99-b3d1-f174ef989357", "metadata": {}, "outputs": [], @@ -318,7 +339,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 20, "id": "1195177f-0215-4b24-9e47-dccfb3ee542e", "metadata": {}, "outputs": [ @@ -401,7 +422,7 @@ "1 Northbound 16.67 " ] }, - "execution_count": 19, + "execution_count": 20, "metadata": {}, "output_type": "execute_result" } @@ -410,18 +431,39 @@ "trips_freq_routes.head(2)" ] }, + { + "cell_type": "code", + "execution_count": 21, + "id": "96f76885-c4ad-4637-95d8-482ede0b7783", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "20090" + ] + }, + "execution_count": 21, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "trips_freq_routes.trip_instance_key.nunique()" + ] + }, { "cell_type": "markdown", "id": "e3be8778-84ff-479f-a3b2-178e374da5f2", "metadata": {}, "source": [ - "### Get Stop Times\n", + "### `rt_stop_times2`: Get Stop Times of High Frequency Routes/Trips\n", "* What's the difference btwn `trip_id` and `trip_instance_key`?" ] }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 22, "id": "3f6727c6-205f-4cc8-8a68-42e8dec6e4b3", "metadata": {}, "outputs": [], @@ -433,7 +475,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 23, "id": "b9db22cf-e498-4e99-993c-b373231c8bd6", "metadata": {}, "outputs": [ @@ -443,7 +485,7 @@ "(2601262, 7)" ] }, - "execution_count": 21, + "execution_count": 23, "metadata": {}, "output_type": "execute_result" } @@ -454,7 +496,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 24, "id": "049a2833-f132-431a-8f44-92f31cd11d8a", "metadata": {}, "outputs": [], @@ -473,7 +515,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 25, "id": "a4ebc7fa-19b9-480b-8b39-d9ef20fd9037", "metadata": {}, "outputs": [ @@ -483,7 +525,7 @@ "1903905" ] }, - "execution_count": 23, + "execution_count": 25, "metadata": {}, "output_type": "execute_result" } @@ -494,7 +536,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 26, "id": "d1abbbd0-0cee-4f03-a4bb-497209a62498", "metadata": {}, "outputs": [ @@ -504,7 +546,7 @@ "(697357, 14)" ] }, - "execution_count": 24, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } @@ -513,18 +555,152 @@ "rt_stop_times2.shape" ] }, + { + "cell_type": "code", + "execution_count": 27, + "id": "e09d96f4-bb51-4ab8-89cb-eddefff4bd9a", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
0922552258261249.00efbbd5293be71f7a5de0cf82b59febe150617e0d3c1bbedd9803836728767a69619953730e10d20177f6b29f7d2de52645301f18f0e75eaae4dc791180f05782fa8825254Main St & Santa Monica Blvd/UCLA1.00Southbound16.08
1922552310962012.00efbbd5293be71f7a5de0cf82b59febe150617e0d3c1bbedd9803836728767a69628263730e10d20177f6b29f7d2de52645301f18f0e75eaae4dc791180f05782fa8825254Main St & Santa Monica Blvd/UCLA1.00Southbound16.08
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "0 922552 258 2 61249.00 \n", + "1 922552 310 9 62012.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "0 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", + "1 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "0 61995 3730 e10d20177f6b29f7d2de52645301f18f \n", + "1 62826 3730 e10d20177f6b29f7d2de52645301f18f \n", + "\n", + " feed_key route_long_name \\\n", + "0 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", + "1 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", + "\n", + " direction_id route_primary_direction frequency_in_minutes \n", + "0 1.00 Southbound 16.08 \n", + "1 1.00 Southbound 16.08 " + ] + }, + "execution_count": 27, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 28, + "id": "6464ea15-574a-4976-a41f-26440f7ca1ed", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(17213, 17213)" + ] + }, + "execution_count": 28, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.trip_id.nunique(), rt_stop_times2.trip_instance_key.nunique()" + ] + }, { "cell_type": "markdown", "id": "8845ee2a-5878-417f-94d1-de21a3c56261", "metadata": {}, "source": [ - "### Some scheduled arrival seconds span longer than a day: filter them out?\n", + "### `rt_stop_times3`: Some scheduled arrival seconds span longer than a day: filter them out\n", "* There are 86,400 seconds in a day" ] }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 29, "id": "269116cd-242f-4834-a2fa-08f4ae94f14d", "metadata": {}, "outputs": [ @@ -542,7 +718,7 @@ "Name: scheduled_arrival_sec, dtype: float64" ] }, - "execution_count": 25, + "execution_count": 29, "metadata": {}, "output_type": "execute_result" } @@ -553,7 +729,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 30, "id": "0749c6d5-e8e3-49a6-8877-2517a1ebe178", "metadata": {}, "outputs": [ @@ -563,7 +739,7 @@ "27472" ] }, - "execution_count": 26, + "execution_count": 30, "metadata": {}, "output_type": "execute_result" } @@ -574,7 +750,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 31, "id": "daae9784-aa88-4dd7-b2dd-56a0743aa1b7", "metadata": {}, "outputs": [], @@ -586,7 +762,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 32, "id": "ca2165ab-8553-4874-a774-de7f52ac2028", "metadata": {}, "outputs": [ @@ -596,7 +772,7 @@ "669746" ] }, - "execution_count": 28, + "execution_count": 32, "metadata": {}, "output_type": "execute_result" } @@ -607,7 +783,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 33, "id": "3fbcd8f2-d394-4d03-b183-edb28f3638b7", "metadata": {}, "outputs": [ @@ -625,7 +801,7 @@ "Name: scheduled_arrival_sec, dtype: float64" ] }, - "execution_count": 29, + "execution_count": 33, "metadata": {}, "output_type": "execute_result" } @@ -636,7 +812,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 34, "id": "69002d94-5d7c-42b5-a465-c710ec7d678f", "metadata": {}, "outputs": [ @@ -654,7 +830,7 @@ "Name: rt_arrival_sec, dtype: float64" ] }, - "execution_count": 30, + "execution_count": 34, "metadata": {}, "output_type": "execute_result" } @@ -668,12 +844,13 @@ "id": "b15440a8-298b-4943-bf59-bc79e9977c3a", "metadata": {}, "source": [ - "##### Help, which columns should I use to sort? Should I keep `feed_key` and `shape_array_key`?" + "### `rt_stop_times4`: Sort so stop sequence for the `operator-stop_id-route-id_direction_id` will be in order.\n", + "Help, which columns should I use to sort? Should I keep `feed_key` and `shape_array_key`?" ] }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 35, "id": "0ef36e93-79ed-4f86-b16a-9d28d90aea1a", "metadata": {}, "outputs": [], @@ -703,7 +880,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 36, "id": "dcb53dcc-95e1-41fc-961b-da222c6e4580", "metadata": {}, "outputs": [], @@ -727,7 +904,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 37, "id": "e6c251c4-a7e9-475e-8f58-9ce98f2016b8", "metadata": {}, "outputs": [ @@ -755,17 +932,38 @@ "rt_stop_times4 = check_delay(rt_stop_times4)" ] }, + { + "cell_type": "code", + "execution_count": 38, + "id": "67998e54-6716-4333-b6f0-822f4d714b79", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "23.983333333333334" + ] + }, + "execution_count": 38, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "1439/60" + ] + }, { "cell_type": "markdown", "id": "bc8f529b-afee-4d3c-993f-b8ff5dcdb8de", "metadata": {}, "source": [ - "#### Filter out values in `delay` that are more or less than one hour" + "#### `rt_stop_times5`: Filter out values in `delay` that ~1 hour zone" ] }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 39, "id": "bbd1cbc3-9762-44b8-a564-c33e57879d10", "metadata": {}, "outputs": [], @@ -778,7 +976,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 40, "id": "9c19be36-0e5b-428d-bc4f-da52821208f4", "metadata": {}, "outputs": [], @@ -789,7 +987,7 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 41, "id": "813c65e5-8ee6-4896-82d7-c3e6dec8a92f", "metadata": {}, "outputs": [ @@ -799,7 +997,7 @@ "1100" ] }, - "execution_count": 36, + "execution_count": 41, "metadata": {}, "output_type": "execute_result" } @@ -810,7 +1008,49 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 42, + "id": "5d44f2e7-c2ea-472b-9c9b-e53bb69e446c", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "1932616" + ] + }, + "execution_count": 42, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(rt_stop_times) - len(rt_stop_times5)" + ] + }, + { + "cell_type": "code", + "execution_count": 43, + "id": "4adcf7da-3155-4891-82cb-693e2dbad07d", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "28711" + ] + }, + "execution_count": 43, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(rt_stop_times2) - len(rt_stop_times5)" + ] + }, + { + "cell_type": "code", + "execution_count": 44, "id": "43c7f278-063c-4c94-b184-eabbc143df3b", "metadata": {}, "outputs": [ @@ -828,7 +1068,7 @@ "Name: delay, dtype: float64" ] }, - "execution_count": 37, + "execution_count": 44, "metadata": {}, "output_type": "execute_result" } @@ -848,7 +1088,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 45, "id": "b9171520-7358-4f22-9d9c-c5156e710f1b", "metadata": {}, "outputs": [], @@ -867,7 +1107,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 46, "id": "f5b62023-ab77-4634-a526-3d822bb7a63f", "metadata": {}, "outputs": [], @@ -887,7 +1127,7 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 47, "id": "6328c5fb-205e-4a78-a3d3-62fafa88a4cd", "metadata": {}, "outputs": [], @@ -899,7 +1139,7 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": 48, "id": "b7da74af-42e0-463f-852b-e22877574a7b", "metadata": {}, "outputs": [ @@ -1131,7 +1371,7 @@ "89 14.59 -105.00 NaN NaN " ] }, - "execution_count": 41, + "execution_count": 48, "metadata": {}, "output_type": "execute_result" } @@ -1141,52 +1381,67 @@ ] }, { - "cell_type": "code", - "execution_count": 42, - "id": "77bccaf9-112c-4eb7-a986-348de63889a6", + "cell_type": "markdown", + "id": "8a5f6f72-d463-4076-80ce-d22ab1f718b1", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "20.0" - ] - }, - "execution_count": 42, - "metadata": {}, - "output_type": "execute_result" - } - ], "source": [ - "1200/60" + "### Delete out rows that are `nan`??\n", + "* I am not sure if `nans` impact calculations of the mean scheduled headway and whatnot?\n", + "* These `nans` are becuase the first `operator-route-stop_id-stop_sequence` combo won't have anything to compare it to." ] }, { "cell_type": "code", - "execution_count": 43, - "id": "aff6e7d8-1ee3-4c75-9090-bfe43e9e4560", - "metadata": { - "scrolled": true, - "tags": [] - }, - "outputs": [], + "execution_count": 49, + "id": "cd2ec7a7-f0be-4575-9b55-d9f229a26ca1", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "RangeIndex: 668646 entries, 0 to 668645\n", + "Data columns (total 17 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 trip_id 668646 non-null object \n", + " 1 stop_id 668646 non-null object \n", + " 2 stop_sequence 668646 non-null int64 \n", + " 3 scheduled_arrival_sec 668646 non-null float64\n", + " 4 schedule_gtfs_dataset_key 668646 non-null object \n", + " 5 trip_instance_key 668646 non-null object \n", + " 6 rt_arrival_sec 668646 non-null int64 \n", + " 7 route_id 668646 non-null object \n", + " 8 shape_array_key 668646 non-null object \n", + " 9 feed_key 668646 non-null object \n", + " 10 route_long_name 668646 non-null object \n", + " 11 direction_id 668646 non-null float64\n", + " 12 route_primary_direction 668646 non-null object \n", + " 13 frequency_in_minutes 668646 non-null float64\n", + " 14 delay 668646 non-null float64\n", + " 15 actual_headway 647207 non-null float64\n", + " 16 schd_headway 647207 non-null float64\n", + "dtypes: float64(6), int64(2), object(9)\n", + "memory usage: 86.7+ MB\n" + ] + } + ], "source": [ - "# rt_stop_times5.head(200).drop(columns=drop_for_preview)" + "rt_stop_times5.info()" ] }, { "cell_type": "markdown", - "id": "8a5f6f72-d463-4076-80ce-d22ab1f718b1", + "id": "e16aa0ce-32dc-41ae-9c24-baacf95c2faf", "metadata": {}, "source": [ - "### Delete out rows that are `nan`??\n", - "* I am not sure if `nans` impact calculations of the mean scheduled headway and whatnot?\n", - "* These `nans` are becuase the first `operator-route-stop_id-stop_sequence` combo won't have anything to compare it to." + "### `rt_stop_times6`: Delete out the rows in which `actual_headway` and `schd_headway` are `nan`: this is basically teh first row of each grain" ] }, { "cell_type": "code", - "execution_count": 44, + "execution_count": 50, "id": "2c3a4e87-e6f5-46d3-bce8-ad998c9343d7", "metadata": {}, "outputs": [], @@ -1196,7 +1451,7 @@ }, { "cell_type": "code", - "execution_count": 45, + "execution_count": 51, "id": "588f17d2-5ffb-4bac-b2a1-d96ce2f6d9d9", "metadata": {}, "outputs": [], @@ -1208,23 +1463,23 @@ }, { "cell_type": "code", - "execution_count": 46, + "execution_count": 52, "id": "194fd116-fecf-4a68-a658-7bfc9fd351ce", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "(647207, 668646)" + "21439" ] }, - "execution_count": 46, + "execution_count": 52, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "len(rt_stop_times6),len(rt_stop_times5)" + "len(rt_stop_times5)-len(rt_stop_times6)" ] }, { @@ -1237,7 +1492,7 @@ }, { "cell_type": "code", - "execution_count": 47, + "execution_count": 53, "id": "a1a2713d-bb47-4762-9617-ad090dc2d964", "metadata": {}, "outputs": [], @@ -1252,7 +1507,7 @@ }, { "cell_type": "code", - "execution_count": 48, + "execution_count": 54, "id": "dcaadfa9-2e8e-4164-9ef1-a007ef53e522", "metadata": {}, "outputs": [ @@ -1293,7 +1548,7 @@ }, { "cell_type": "code", - "execution_count": 49, + "execution_count": 55, "id": "9c0f62d9-a794-4223-8b1a-ac14ae48e51f", "metadata": {}, "outputs": [], @@ -1307,7 +1562,7 @@ }, { "cell_type": "code", - "execution_count": 50, + "execution_count": 56, "id": "750f9b60-d0ab-43e3-8b0c-8cf0089b3f30", "metadata": {}, "outputs": [ @@ -1317,7 +1572,7 @@ "0" ] }, - "execution_count": 50, + "execution_count": 56, "metadata": {}, "output_type": "execute_result" } @@ -1326,48 +1581,6 @@ "len(rt_stop_times6) - len(m1)" ] }, - { - "cell_type": "code", - "execution_count": 51, - "id": "2f4e508d-db66-49ad-a03f-efe40dcffe62", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "Int64Index: 647207 entries, 0 to 647206\n", - "Data columns (total 18 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 trip_id 647207 non-null object \n", - " 1 stop_id 647207 non-null object \n", - " 2 stop_sequence 647207 non-null int64 \n", - " 3 scheduled_arrival_sec 647207 non-null float64\n", - " 4 schedule_gtfs_dataset_key 647207 non-null object \n", - " 5 trip_instance_key 647207 non-null object \n", - " 6 rt_arrival_sec 647207 non-null int64 \n", - " 7 route_id 647207 non-null object \n", - " 8 shape_array_key 647207 non-null object \n", - " 9 feed_key 647207 non-null object \n", - " 10 route_long_name 647207 non-null object \n", - " 11 direction_id 647207 non-null float64\n", - " 12 route_primary_direction 647207 non-null object \n", - " 13 frequency_in_minutes 647207 non-null float64\n", - " 14 delay 647207 non-null float64\n", - " 15 actual_headway 647207 non-null float64\n", - " 16 schd_headway 647207 non-null float64\n", - " 17 avg_schd_headway_sec 647207 non-null float64\n", - "dtypes: float64(7), int64(2), object(9)\n", - "memory usage: 93.8+ MB\n" - ] - } - ], - "source": [ - "m1.info()" - ] - }, { "cell_type": "markdown", "id": "77370f93-20e5-4498-8e4d-e7495fd52cfa", @@ -1378,7 +1591,7 @@ }, { "cell_type": "code", - "execution_count": 52, + "execution_count": 57, "id": "56e3767e-bfbc-47d0-8b21-4264fa3561a3", "metadata": {}, "outputs": [], @@ -1402,7 +1615,7 @@ }, { "cell_type": "code", - "execution_count": 53, + "execution_count": 58, "id": "0daab2ac-1a4c-49e2-8324-83cada3f66c8", "metadata": {}, "outputs": [ @@ -1435,7 +1648,7 @@ }, { "cell_type": "code", - "execution_count": 54, + "execution_count": 59, "id": "d0adea67-57ed-4c34-8ff6-bced21899ab0", "metadata": {}, "outputs": [ @@ -1473,15 +1686,15 @@ " \n", " \n", " \n", - " 1358\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 608992664173210532aa3e6cc573be2f\n", - " 13d1f6a199bb8055089a2f96cea449f0\n", - " 108-13172\n", + " 17361\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", + " e28e3de81657b399d7e71e23eb625240\n", + " 49\n", " 1.00\n", - " Westbound\n", - " 52\n", - " 14644\n", + " Northbound\n", + " 7\n", + " 15801\n", " NaN\n", " \n", " \n", @@ -1489,17 +1702,17 @@ "" ], "text/plain": [ - " schedule_gtfs_dataset_key feed_key \\\n", - "1358 0666caf3ec1ecc96b74f4477ee4bc939 608992664173210532aa3e6cc573be2f \n", + " schedule_gtfs_dataset_key feed_key \\\n", + "17361 7cc0cb1871dfd558f11a2885c145d144 7f69c2fdaa134642f14064a0b64d1495 \n", "\n", - " shape_array_key route_id direction_id \\\n", - "1358 13d1f6a199bb8055089a2f96cea449f0 108-13172 1.00 \n", + " shape_array_key route_id direction_id \\\n", + "17361 e28e3de81657b399d7e71e23eb625240 49 1.00 \n", "\n", - " route_primary_direction stop_sequence stop_id std_dev_headway \n", - "1358 Westbound 52 14644 NaN " + " route_primary_direction stop_sequence stop_id std_dev_headway \n", + "17361 Northbound 7 15801 NaN " ] }, - "execution_count": 54, + "execution_count": 59, "metadata": {}, "output_type": "execute_result" } @@ -1510,7 +1723,7 @@ }, { "cell_type": "code", - "execution_count": 55, + "execution_count": 60, "id": "317dfcc5-b35b-463f-aad2-6d9446fd236f", "metadata": {}, "outputs": [], @@ -1518,39 +1731,6 @@ "std_dev2 = std_dev.loc[~std_dev.std_dev_headway.isna()].reset_index(drop = True)" ] }, - { - "cell_type": "code", - "execution_count": 56, - "id": "703e900d-3a3d-4e62-abca-ff7b5dea01af", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "RangeIndex: 17781 entries, 0 to 17780\n", - "Data columns (total 9 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 schedule_gtfs_dataset_key 17781 non-null object \n", - " 1 feed_key 17781 non-null object \n", - " 2 shape_array_key 17781 non-null object \n", - " 3 route_id 17781 non-null object \n", - " 4 direction_id 17781 non-null float64\n", - " 5 route_primary_direction 17781 non-null object \n", - " 6 stop_sequence 17781 non-null int64 \n", - " 7 stop_id 17781 non-null object \n", - " 8 std_dev_headway 17781 non-null float64\n", - "dtypes: float64(2), int64(1), object(6)\n", - "memory usage: 1.2+ MB\n" - ] - } - ], - "source": [ - "std_dev2.info()" - ] - }, { "cell_type": "markdown", "id": "2a5b721a-41ef-4c82-a0bc-8c2b3f194549", @@ -1562,7 +1742,7 @@ }, { "cell_type": "code", - "execution_count": 57, + "execution_count": 61, "id": "654cb4b7-7043-4453-b1d2-85829c4e609a", "metadata": {}, "outputs": [ @@ -1653,7 +1833,7 @@ "161685 1800.00 1800.00 " ] }, - "execution_count": 57, + "execution_count": 61, "metadata": {}, "output_type": "execute_result" } @@ -1666,9 +1846,17 @@ " (m1.stop_id == \"15434\")]" ] }, + { + "cell_type": "markdown", + "id": "77b3bfc2-58b3-4052-9eb4-616d811ccfaf", + "metadata": {}, + "source": [ + "#### `scheduled_arrival_sec` is 86,220 but `rt_arrival_sec` is 303." + ] + }, { "cell_type": "code", - "execution_count": 58, + "execution_count": 62, "id": "97d704fb-6033-40d5-a972-d763b0c45507", "metadata": {}, "outputs": [ @@ -1814,7 +2002,7 @@ "479447 Southbound 13.92 " ] }, - "execution_count": 58, + "execution_count": 62, "metadata": {}, "output_type": "execute_result" } @@ -1829,7 +2017,7 @@ }, { "cell_type": "code", - "execution_count": 59, + "execution_count": 63, "id": "54544648-3f26-4ef1-934d-0859f14a82ce", "metadata": {}, "outputs": [ @@ -1953,7 +2141,7 @@ "462159 Southbound 13.92 " ] }, - "execution_count": 59, + "execution_count": 63, "metadata": {}, "output_type": "execute_result" } @@ -1968,7 +2156,7 @@ }, { "cell_type": "code", - "execution_count": 60, + "execution_count": 64, "id": "606ad2db-e50e-44d4-ac73-16701cadef16", "metadata": {}, "outputs": [ @@ -2096,7 +2284,7 @@ "168198 Southbound 13.92 -85917.00 " ] }, - "execution_count": 60, + "execution_count": 64, "metadata": {}, "output_type": "execute_result" } @@ -2111,7 +2299,7 @@ }, { "cell_type": "code", - "execution_count": 61, + "execution_count": 65, "id": "520e0c9e-5e53-4354-8587-2e55794432b7", "metadata": {}, "outputs": [ @@ -2226,7 +2414,7 @@ "168063 1800.00 " ] }, - "execution_count": 61, + "execution_count": 65, "metadata": {}, "output_type": "execute_result" } @@ -2241,7 +2429,7 @@ }, { "cell_type": "code", - "execution_count": 62, + "execution_count": 66, "id": "261ebbfe-03c2-47c8-8f44-66daa95e5ace", "metadata": {}, "outputs": [ @@ -2330,7 +2518,7 @@ "161685 1800.00 " ] }, - "execution_count": 62, + "execution_count": 66, "metadata": {}, "output_type": "execute_result" } @@ -2354,7 +2542,7 @@ }, { "cell_type": "code", - "execution_count": 63, + "execution_count": 67, "id": "75d0abfa-ead3-4c11-a34d-275920500052", "metadata": {}, "outputs": [ @@ -2445,7 +2633,7 @@ "179405 1800.00 1800.00 " ] }, - "execution_count": 63, + "execution_count": 67, "metadata": {}, "output_type": "execute_result" } @@ -2460,7 +2648,7 @@ }, { "cell_type": "code", - "execution_count": 64, + "execution_count": 68, "id": "e942226b-bb2a-4ab7-ae0f-055c8b7fc048", "metadata": {}, "outputs": [ @@ -2562,7 +2750,7 @@ "482097 Southbound 14.42 " ] }, - "execution_count": 64, + "execution_count": 68, "metadata": {}, "output_type": "execute_result" } @@ -2577,7 +2765,7 @@ }, { "cell_type": "code", - "execution_count": 65, + "execution_count": 69, "id": "b460d441-2d2d-42ec-b8af-a196561c2774", "metadata": {}, "outputs": [ @@ -2679,7 +2867,7 @@ "462564 Southbound 14.42 " ] }, - "execution_count": 65, + "execution_count": 69, "metadata": {}, "output_type": "execute_result" } @@ -2694,7 +2882,7 @@ }, { "cell_type": "code", - "execution_count": 66, + "execution_count": 70, "id": "33068379-3c4a-400c-baad-94487cad9d72", "metadata": {}, "outputs": [ @@ -2799,7 +2987,7 @@ "186849 Southbound 14.42 38.00 " ] }, - "execution_count": 66, + "execution_count": 70, "metadata": {}, "output_type": "execute_result" } @@ -2814,7 +3002,7 @@ }, { "cell_type": "code", - "execution_count": 67, + "execution_count": 71, "id": "0e84b0ae-c08b-43bb-9c4c-253c4cee3fa1", "metadata": {}, "outputs": [ @@ -2929,7 +3117,7 @@ "186709 1800.00 " ] }, - "execution_count": 67, + "execution_count": 71, "metadata": {}, "output_type": "execute_result" } @@ -2952,7 +3140,7 @@ }, { "cell_type": "code", - "execution_count": 68, + "execution_count": 72, "id": "44023236-a5ed-412c-bd08-3c68b6a92faf", "metadata": {}, "outputs": [], @@ -2974,7 +3162,7 @@ }, { "cell_type": "code", - "execution_count": 69, + "execution_count": 73, "id": "0dd50953-19b9-473c-b072-7d47b686dbf1", "metadata": {}, "outputs": [], @@ -2984,7 +3172,7 @@ }, { "cell_type": "code", - "execution_count": 70, + "execution_count": 74, "id": "ff8ed9e9-4575-4866-a38e-b8a554bf5dad", "metadata": {}, "outputs": [ @@ -3002,7 +3190,7 @@ "Name: bunching_coefficient, dtype: float64" ] }, - "execution_count": 70, + "execution_count": 74, "metadata": {}, "output_type": "execute_result" } @@ -3013,7 +3201,7 @@ }, { "cell_type": "code", - "execution_count": 71, + "execution_count": 75, "id": "8beaaddc-6bf0-4ff2-917e-5a855feabe2b", "metadata": {}, "outputs": [], @@ -3025,7 +3213,7 @@ }, { "cell_type": "code", - "execution_count": 72, + "execution_count": 76, "id": "4ea00728-6f29-4a58-9c4b-ced7c485c7f2", "metadata": {}, "outputs": [], @@ -3035,7 +3223,7 @@ }, { "cell_type": "code", - "execution_count": 90, + "execution_count": 77, "id": "b053889d-310e-4c22-b58d-e86fe6f4bbc5", "metadata": {}, "outputs": [], @@ -3043,19 +3231,27 @@ "m2[\"sched_headway_min\"] = m2.schd_headway / 60" ] }, + { + "cell_type": "markdown", + "id": "eb72e7ad-08b0-4918-9629-87d213404ce8", + "metadata": {}, + "source": [ + "### Retain only one row f or the grain" + ] + }, { "cell_type": "code", - "execution_count": 73, + "execution_count": 78, "id": "f91fe6e5-9a03-48ad-a1ec-dedb3c0c7a2e", "metadata": {}, "outputs": [], "source": [ - "bunching_by_stops = m2.drop_duplicates(subset=groupby_cols).reset_index(drop=True).drop(columns = [\"actual_headway\"])" + "bunching_by_stops = m2.drop_duplicates(subset=groupby_cols).reset_index(drop=True).drop(columns = [\"actual_headway\", \"actual_headway_min\", \"sched_headway_min\"])" ] }, { "cell_type": "code", - "execution_count": 74, + "execution_count": 79, "id": "9c20690d-2d15-4c8c-a137-8b889ce45849", "metadata": {}, "outputs": [ @@ -3065,7 +3261,7 @@ "627947" ] }, - "execution_count": 74, + "execution_count": 79, "metadata": {}, "output_type": "execute_result" } @@ -3076,7 +3272,7 @@ }, { "cell_type": "code", - "execution_count": 75, + "execution_count": 80, "id": "8d5f66bb-6e25-4548-afb9-7603ae794cf4", "metadata": {}, "outputs": [ @@ -3086,7 +3282,7 @@ "17781" ] }, - "execution_count": 75, + "execution_count": 80, "metadata": {}, "output_type": "execute_result" } @@ -3097,7 +3293,7 @@ }, { "cell_type": "code", - "execution_count": 76, + "execution_count": 81, "id": "67a7eb7c-1662-482a-8adc-28353e7ccacc", "metadata": {}, "outputs": [ @@ -3107,7 +3303,7 @@ "text": [ "\n", "RangeIndex: 17781 entries, 0 to 17780\n", - "Data columns (total 21 columns):\n", + "Data columns (total 20 columns):\n", " # Column Non-Null Count Dtype \n", "--- ------ -------------- ----- \n", " 0 trip_id 17781 non-null object \n", @@ -3130,9 +3326,8 @@ " 17 std_dev_headway 17781 non-null float64\n", " 18 bunching_coefficient 17781 non-null float64\n", " 19 avg_schd_headway_min 17781 non-null float64\n", - " 20 actual_headway_min 17781 non-null float64\n", - "dtypes: float64(10), int64(2), object(9)\n", - "memory usage: 2.8+ MB\n" + "dtypes: float64(9), int64(2), object(9)\n", + "memory usage: 2.7+ MB\n" ] } ], @@ -3150,156 +3345,718 @@ }, { "cell_type": "code", - "execution_count": 77, + "execution_count": 82, "id": "5e0595a1-13b6-4b2a-b633-907af8aa579d", "metadata": {}, "outputs": [], "source": [ - "def coefficient_frequency(row):\n", - " if row.bunching_coefficient <= 0.21:\n", - " return \"Service provided like clockwork\"\n", - " elif 0.21 < row.bunching_coefficient <= 0.3:\n", - " return \"Vehicles slightly off headway\"\n", - " elif 0.3 < row.bunching_coefficient <= 0.39:\n", - " return \"Vehicles often off headway\"\n", - " elif 0.39 < row.bunching_coefficient <= 0.52:\n", - " return \"Irregular headways, with some bunching\"\n", - " elif 0.52 < row.bunching_coefficient <= 0.74:\n", - " return \"Frequent bunching\"\n", - " else:\n", - " return \"Most vehicles bunched\"\n", - "\n", - "\n", - "bunching_by_stops[\"passenger_op_perspective\"] = bunching_by_stops.apply(\n", - " lambda x: coefficient_frequency(x), axis=1\n", - ")" + "def coefficient_frequency(row):\n", + " if row.bunching_coefficient <= 0.21:\n", + " return \"Service provided like clockwork\"\n", + " elif 0.21 < row.bunching_coefficient <= 0.3:\n", + " return \"Vehicles slightly off headway\"\n", + " elif 0.3 < row.bunching_coefficient <= 0.39:\n", + " return \"Vehicles often off headway\"\n", + " elif 0.39 < row.bunching_coefficient <= 0.52:\n", + " return \"Irregular headways, with some bunching\"\n", + " elif 0.52 < row.bunching_coefficient <= 0.74:\n", + " return \"Frequent bunching\"\n", + " else:\n", + " return \"Most vehicles bunched\"\n", + "\n", + "\n", + "bunching_by_stops[\"passenger_op_perspective\"] = bunching_by_stops.apply(\n", + " lambda x: coefficient_frequency(x), axis=1\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 109, + "id": "b9ece34e-5ad6-4137-93d4-68db20b9762b", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "Most vehicles bunched 0.35\n", + "Frequent bunching 0.25\n", + "Irregular headways, with some bunching 0.18\n", + "Vehicles often off headway 0.09\n", + "Service provided like clockwork 0.09\n", + "Vehicles slightly off headway 0.04\n", + "Name: passenger_op_perspective, dtype: float64" + ] + }, + "execution_count": 109, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "bunching_by_stops.passenger_op_perspective.value_counts()/len(bunching_by_stops)" + ] + }, + { + "cell_type": "markdown", + "id": "b81db961-1f00-421c-b785-4aa686e870f2", + "metadata": {}, + "source": [ + "### Missing Routes\n", + "* These routes and trips weren't found in the `stop_times` dataset." + ] + }, + { + "cell_type": "code", + "execution_count": 84, + "id": "d4df0c20-b3fb-4f9f-aecb-d925f2532fe4", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "{'Beige-N',\n", + " 'Beige-S',\n", + " 'Blue Line',\n", + " 'Lot D',\n", + " 'Red Line',\n", + " 'West Field Garage',\n", + " 'eastvalley',\n", + " 'mposa'}" + ] + }, + "execution_count": 84, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "high_freq_routes = set(high_frequency_routes2.route_id.unique().tolist())\n", + "remaining_routes = set(bunching_by_stops.route_id.unique().tolist())\n", + "high_freq_routes - remaining_routes" + ] + }, + { + "cell_type": "code", + "execution_count": 85, + "id": "34d0b206-5fe7-4a20-b9ff-5f76b22f02a6", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_iddirection_idroute_primary_directionfrequency_in_minutes
5972ff70dd1151d7532db40436f8228cd33West Field Garage0.00Eastbound10.00
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_id direction_id \\\n", + "597 2ff70dd1151d7532db40436f8228cd33 West Field Garage 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes \n", + "597 Eastbound 10.00 " + ] + }, + "execution_count": 85, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "high_frequency_routes2.loc[high_frequency_routes2.route_id == 'West Field Garage'].head()" + ] + }, + { + "cell_type": "markdown", + "id": "71192c42-6af6-4c74-9a00-f2a558eb8030", + "metadata": {}, + "source": [ + "#### Check out one route" + ] + }, + { + "cell_type": "code", + "execution_count": 86, + "id": "5508346c-442a-4f22-9bc3-1037cb1e727b", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", + "
" + ], + "text/plain": [ + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", + "Index: []" + ] + }, + "execution_count": 86, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.loc[rt_stop_times2.route_id == \"West Field Garage\"].head(1)" + ] + }, + { + "cell_type": "code", + "execution_count": 87, + "id": "7ec57b66-9600-4667-9fad-114c5d570cd1", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", + "
" + ], + "text/plain": [ + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", + "Index: []" + ] + }, + "execution_count": 87, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.loc[rt_stop_times2.route_id == 'eastvalley'].head(1)" + ] + }, + { + "cell_type": "code", + "execution_count": 88, + "id": "37422b12-4ef4-4e5e-8388-5ff91e25d04a", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_idtrip_instance_keyshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
1991531152914d10e2d0977b8b2fabb167922eastvalley77a45a5bbd6e7b87ef670d90e16fdbc3aebd18679bd2170ee61d7522bcfc11ab7900b8b29688af30a699822f84ae2753East Valley Shuttle1.00Eastbound16.05
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_id \\\n", + "19915 31152914d10e2d0977b8b2fabb167922 eastvalley \n", + "\n", + " trip_instance_key shape_array_key \\\n", + "19915 77a45a5bbd6e7b87ef670d90e16fdbc3 aebd18679bd2170ee61d7522bcfc11ab \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "19915 7900b8b29688af30a699822f84ae2753 East Valley Shuttle 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes \n", + "19915 Eastbound 16.05 " + ] + }, + "execution_count": 88, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "trips_freq_routes.loc[trips_freq_routes.route_id == 'eastvalley'].head(1)" + ] + }, + { + "cell_type": "code", + "execution_count": 89, + "id": "3e27a3c0-7573-4c1a-abf8-79364d9fd8c9", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", + "
" + ], + "text/plain": [ + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", + "Index: []" + ] + }, + "execution_count": 89, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.loc[(rt_stop_times2.trip_instance_key == \"77a45a5bbd6e7b87ef670d90e16fdbc3\")]" ] }, { "cell_type": "code", - "execution_count": 78, - "id": "b9ece34e-5ad6-4137-93d4-68db20b9762b", + "execution_count": 90, + "id": "5b0fae1c-828b-47e8-8188-4f58cdc901f9", "metadata": {}, "outputs": [ { "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_sec
\n", + "
" + ], "text/plain": [ - "Most vehicles bunched 6199\n", - "Frequent bunching 4494\n", - "Irregular headways, with some bunching 3251\n", - "Vehicles often off headway 1545\n", - "Service provided like clockwork 1535\n", - "Vehicles slightly off headway 757\n", - "Name: passenger_op_perspective, dtype: int64" + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec]\n", + "Index: []" ] }, - "execution_count": 78, + "execution_count": 90, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "bunching_by_stops.passenger_op_perspective.value_counts()" + "rt_stop_times.loc[(rt_stop_times.trip_instance_key == \"77a45a5bbd6e7b87ef670d90e16fdbc3\")]" ] }, { "cell_type": "markdown", - "id": "b81db961-1f00-421c-b785-4aa686e870f2", + "id": "4203f8de-1d1f-484f-82b8-d1d3908d3b79", "metadata": {}, "source": [ - "#### How are some routes missing??" + "#### Second Route" ] }, { "cell_type": "code", - "execution_count": 79, - "id": "d4df0c20-b3fb-4f9f-aecb-d925f2532fe4", + "execution_count": 91, + "id": "25c9d598-1334-4cbc-a628-48febf86eddf", "metadata": {}, "outputs": [ { "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_idtrip_instance_keyshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
23808a1405af8da1379acc062e346187ac98Beige-S92a2015d35b766955a64094643f8843593312729ad2928439c75cbbd97191b663e22f1090d0d12096ee943c621298225Coliseum to Oakland Airport1.00Southbound7.90
22748a1405af8da1379acc062e346187ac98Beige-Se2ec930bd93a37260f6807108530a40793312729ad2928439c75cbbd97191b663e22f1090d0d12096ee943c621298225Coliseum to Oakland Airport1.00Southbound7.90
\n", + "
" + ], "text/plain": [ - "85" + " schedule_gtfs_dataset_key route_id \\\n", + "2380 8a1405af8da1379acc062e346187ac98 Beige-S \n", + "2274 8a1405af8da1379acc062e346187ac98 Beige-S \n", + "\n", + " trip_instance_key shape_array_key \\\n", + "2380 92a2015d35b766955a64094643f88435 93312729ad2928439c75cbbd97191b66 \n", + "2274 e2ec930bd93a37260f6807108530a407 93312729ad2928439c75cbbd97191b66 \n", + "\n", + " feed_key route_long_name \\\n", + "2380 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", + "2274 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", + "\n", + " direction_id route_primary_direction frequency_in_minutes \n", + "2380 1.00 Southbound 7.90 \n", + "2274 1.00 Southbound 7.90 " ] }, - "execution_count": 79, + "execution_count": 91, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "bunching_by_stops.route_id.nunique()" + "trips_freq_routes.loc[trips_freq_routes.route_id =='Beige-S'].sample(2)" ] }, { "cell_type": "code", - "execution_count": 80, - "id": "a865cc4d-28be-4883-8227-464653cf1a26", + "execution_count": 92, + "id": "a8bbb8d6-f285-4c91-bb73-16dc89071f43", "metadata": {}, "outputs": [ { "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", + "
" + ], "text/plain": [ - "93" + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", + "Index: []" ] }, - "execution_count": 80, + "execution_count": 92, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "high_frequency_routes2.route_id.nunique()" - ] - }, - { - "cell_type": "code", - "execution_count": 81, - "id": "f0cd0242-5605-4fe8-ab72-21bdf8cd432b", - "metadata": {}, - "outputs": [], - "source": [ - "more_values = [\"scheduled_arrival_sec\",\"std_dev_headway\",\"avg_schd_headway_sec\",\"schd_headway\",\"rt_arrival_sec\"]" - ] - }, - { - "cell_type": "code", - "execution_count": 82, - "id": "899bd6e4-02be-43f4-931b-872072960cc6", - "metadata": {}, - "outputs": [], - "source": [ - "drop_for_preview = drop_for_preview + more_values" + "rt_stop_times2.loc[(rt_stop_times2.trip_instance_key == \"96e2844c6ce2bcc5ede547c32c220efb\")]" ] }, { "cell_type": "code", - "execution_count": 83, - "id": "d9e3ac8e-fb59-4597-8bc5-e09dfa4a7f53", + "execution_count": 93, + "id": "b37e2d7a-52ae-41e9-8474-9e193b67b2c8", "metadata": {}, "outputs": [ { "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", + "
" + ], "text/plain": [ - "['schedule_gtfs_dataset_key',\n", - " 'trip_instance_key',\n", - " 'shape_array_key',\n", - " 'feed_key',\n", - " 'trip_id',\n", - " 'scheduled_arrival_sec',\n", - " 'std_dev_headway',\n", - " 'avg_schd_headway_sec',\n", - " 'schd_headway',\n", - " 'rt_arrival_sec']" + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", + "Index: []" ] }, - "execution_count": 83, + "execution_count": 93, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "drop_for_preview" + "rt_stop_times2.loc[(rt_stop_times2.trip_instance_key == \"4f9e575f015b6bf05e69af9da50d9579\")]" ] }, { @@ -3312,7 +4069,27 @@ }, { "cell_type": "code", - "execution_count": 84, + "execution_count": 94, + "id": "f0cd0242-5605-4fe8-ab72-21bdf8cd432b", + "metadata": {}, + "outputs": [], + "source": [ + "more_values = [\"scheduled_arrival_sec\",\"std_dev_headway\",\"avg_schd_headway_sec\",\"schd_headway\",\"rt_arrival_sec\"]" + ] + }, + { + "cell_type": "code", + "execution_count": 95, + "id": "899bd6e4-02be-43f4-931b-872072960cc6", + "metadata": {}, + "outputs": [], + "source": [ + "drop_for_preview = drop_for_preview + more_values" + ] + }, + { + "cell_type": "code", + "execution_count": 96, "id": "480ca3cd-592d-4f2a-9984-015d6b598871", "metadata": {}, "outputs": [], @@ -3322,7 +4099,7 @@ }, { "cell_type": "code", - "execution_count": 85, + "execution_count": 97, "id": "6a05dfcc-f938-44ce-80e3-09c9279a1cb5", "metadata": {}, "outputs": [ @@ -3337,7 +4114,7 @@ "Name: passenger_op_perspective, dtype: int64" ] }, - "execution_count": 85, + "execution_count": 97, "metadata": {}, "output_type": "execute_result" } @@ -3348,7 +4125,7 @@ }, { "cell_type": "code", - "execution_count": 86, + "execution_count": 98, "id": "ce80809f-266d-44d5-9b9c-7dc1ac7459f2", "metadata": { "scrolled": true, @@ -3386,7 +4163,6 @@ " delay\n", " bunching_coefficient\n", " avg_schd_headway_min\n", - " actual_headway_min\n", " passenger_op_perspective\n", " \n", " \n", @@ -3403,7 +4179,6 @@ " 161.00\n", " 0.49\n", " 29.18\n", - " 39.20\n", " Irregular headways, with some bunching\n", " \n", " \n", @@ -3418,7 +4193,6 @@ " -53.00\n", " 0.73\n", " 22.60\n", - " 6.40\n", " Frequent bunching\n", " \n", " \n", @@ -3433,7 +4207,6 @@ " -98.00\n", " 0.99\n", " 22.60\n", - " 5.63\n", " Most vehicles bunched\n", " \n", " \n", @@ -3448,7 +4221,6 @@ " 115.00\n", " 0.82\n", " 24.17\n", - " 36.67\n", " Most vehicles bunched\n", " \n", " \n", @@ -3463,7 +4235,6 @@ " 43.00\n", " 0.73\n", " 24.17\n", - " 35.57\n", " Frequent bunching\n", " \n", " \n", @@ -3478,7 +4249,6 @@ " 21.00\n", " 0.68\n", " 24.15\n", - " 35.07\n", " Frequent bunching\n", " \n", " \n", @@ -3493,7 +4263,6 @@ " -20.00\n", " 0.67\n", " 24.12\n", - " 34.13\n", " Frequent bunching\n", " \n", " \n", @@ -3508,7 +4277,6 @@ " -58.00\n", " 0.66\n", " 24.09\n", - " 33.28\n", " Frequent bunching\n", " \n", " \n", @@ -3523,7 +4291,6 @@ " -113.00\n", " 0.74\n", " 24.05\n", - " 32.07\n", " Frequent bunching\n", " \n", " \n", @@ -3538,7 +4305,6 @@ " -84.00\n", " 0.67\n", " 24.02\n", - " 32.27\n", " Frequent bunching\n", " \n", " \n", @@ -3553,7 +4319,6 @@ " -32.00\n", " 0.70\n", " 23.95\n", - " 32.62\n", " Frequent bunching\n", " \n", " \n", @@ -3568,7 +4333,6 @@ " -108.00\n", " 0.62\n", " 23.89\n", - " 30.92\n", " Frequent bunching\n", " \n", " \n", @@ -3583,7 +4347,6 @@ " -147.00\n", " 0.56\n", " 23.83\n", - " 28.33\n", " Frequent bunching\n", " \n", " \n", @@ -3598,7 +4361,6 @@ " 165.00\n", " 0.66\n", " 23.79\n", - " 32.02\n", " Frequent bunching\n", " \n", " \n", @@ -3613,7 +4375,6 @@ " 109.00\n", " 0.65\n", " 23.77\n", - " 31.95\n", " Frequent bunching\n", " \n", " \n", @@ -3628,7 +4389,6 @@ " 24.00\n", " 0.65\n", " 23.73\n", - " 31.87\n", " Frequent bunching\n", " \n", " \n", @@ -3643,7 +4403,6 @@ " -51.00\n", " 0.64\n", " 23.70\n", - " 31.78\n", " Frequent bunching\n", " \n", " \n", @@ -3658,7 +4417,6 @@ " -139.00\n", " 0.63\n", " 23.67\n", - " 31.67\n", " Frequent bunching\n", " \n", " \n", @@ -3673,7 +4431,6 @@ " -214.00\n", " 0.59\n", " 23.62\n", - " 27.45\n", " Frequent bunching\n", " \n", " \n", @@ -3688,7 +4445,6 @@ " -261.00\n", " 0.60\n", " 23.59\n", - " 24.13\n", " Frequent bunching\n", " \n", " \n", @@ -3703,7 +4459,6 @@ " -119.00\n", " 0.62\n", " 23.53\n", - " 22.80\n", " Frequent bunching\n", " \n", " \n", @@ -3718,7 +4473,6 @@ " -172.00\n", " 0.60\n", " 23.50\n", - " 22.90\n", " Frequent bunching\n", " \n", " \n", @@ -3733,7 +4487,6 @@ " -118.00\n", " 0.63\n", " 23.50\n", - " 25.32\n", " Frequent bunching\n", " \n", " \n", @@ -3748,7 +4501,6 @@ " -157.00\n", " 0.63\n", " 23.50\n", - " 25.50\n", " Frequent bunching\n", " \n", " \n", @@ -3763,7 +4515,6 @@ " -229.00\n", " 0.58\n", " 23.50\n", - " 25.88\n", " Frequent bunching\n", " \n", " \n", @@ -3778,7 +4529,6 @@ " -203.00\n", " 1.17\n", " 29.12\n", - " 28.38\n", " Most vehicles bunched\n", " \n", " \n", @@ -3793,7 +4543,6 @@ " -281.00\n", " 1.15\n", " 29.02\n", - " 28.63\n", " Most vehicles bunched\n", " \n", " \n", @@ -3808,7 +4557,6 @@ " -154.00\n", " 1.17\n", " 28.85\n", - " 33.37\n", " Most vehicles bunched\n", " \n", " \n", @@ -3823,7 +4571,6 @@ " -449.00\n", " 0.85\n", " 38.33\n", - " 36.10\n", " Most vehicles bunched\n", " \n", " \n", @@ -3838,7 +4585,6 @@ " 184.00\n", " 0.91\n", " 11.12\n", - " 43.02\n", " Most vehicles bunched\n", " \n", " \n", @@ -3853,7 +4599,6 @@ " 1.00\n", " 1.13\n", " 47.45\n", - " 17.37\n", " Most vehicles bunched\n", " \n", " \n", @@ -3868,7 +4613,6 @@ " -75.00\n", " 1.17\n", " 52.72\n", - " 16.80\n", " Most vehicles bunched\n", " \n", " \n", @@ -3883,7 +4627,6 @@ " 193.00\n", " 0.63\n", " 68.00\n", - " 57.33\n", " Frequent bunching\n", " \n", " \n", @@ -3898,7 +4641,6 @@ " 300.00\n", " 0.93\n", " 40.80\n", - " 57.02\n", " Most vehicles bunched\n", " \n", " \n", @@ -3913,7 +4655,6 @@ " 792.00\n", " 1.04\n", " 11.17\n", - " 22.35\n", " Most vehicles bunched\n", " \n", " \n", @@ -3928,7 +4669,6 @@ " 766.00\n", " 1.08\n", " 9.02\n", - " 42.18\n", " Most vehicles bunched\n", " \n", " \n", @@ -3943,7 +4683,6 @@ " 212.00\n", " 1.00\n", " 8.15\n", - " 15.35\n", " Most vehicles bunched\n", " \n", " \n", @@ -3958,7 +4697,6 @@ " 177.00\n", " 0.88\n", " 8.95\n", - " 15.22\n", " Most vehicles bunched\n", " \n", " \n", @@ -3973,7 +4711,6 @@ " 161.00\n", " 0.92\n", " 8.15\n", - " 15.15\n", " Most vehicles bunched\n", " \n", " \n", @@ -3988,7 +4725,6 @@ " 131.00\n", " 1.07\n", " 7.91\n", - " 15.03\n", " Most vehicles bunched\n", " \n", " \n", @@ -4003,7 +4739,6 @@ " 103.00\n", " 0.97\n", " 7.97\n", - " 14.93\n", " Most vehicles bunched\n", " \n", " \n", @@ -4018,7 +4753,6 @@ " 62.00\n", " 1.05\n", " 8.03\n", - " 14.78\n", " Most vehicles bunched\n", " \n", " \n", @@ -4033,7 +4767,6 @@ " 28.00\n", " 0.96\n", " 7.97\n", - " 14.68\n", " Most vehicles bunched\n", " \n", " \n", @@ -4048,7 +4781,6 @@ " 449.00\n", " 0.97\n", " 7.86\n", - " 18.88\n", " Most vehicles bunched\n", " \n", " \n", @@ -4063,7 +4795,6 @@ " 388.00\n", " 0.93\n", " 7.92\n", - " 18.67\n", " Most vehicles bunched\n", " \n", " \n", @@ -4078,7 +4809,6 @@ " 322.00\n", " 0.88\n", " 8.22\n", - " 18.48\n", " Most vehicles bunched\n", " \n", " \n", @@ -4093,7 +4823,6 @@ " 268.00\n", " 0.85\n", " 8.42\n", - " 27.43\n", " Most vehicles bunched\n", " \n", " \n", @@ -4108,7 +4837,6 @@ " 230.00\n", " 0.88\n", " 8.57\n", - " 15.05\n", " Most vehicles bunched\n", " \n", " \n", @@ -4123,7 +4851,6 @@ " 180.00\n", " 0.83\n", " 8.37\n", - " 15.00\n", " Most vehicles bunched\n", " \n", " \n", @@ -4138,7 +4865,6 @@ " 137.00\n", " 0.88\n", " 8.12\n", - " 14.95\n", " Most vehicles bunched\n", " \n", " \n", @@ -4153,7 +4879,6 @@ " 176.00\n", " 0.82\n", " 8.12\n", - " 16.40\n", " Most vehicles bunched\n", " \n", " \n", @@ -4168,7 +4893,6 @@ " 203.00\n", " 0.89\n", " 8.06\n", - " 16.32\n", " Most vehicles bunched\n", " \n", " \n", @@ -4183,7 +4907,6 @@ " 225.00\n", " 0.86\n", " 8.06\n", - " 17.02\n", " Most vehicles bunched\n", " \n", " \n", @@ -4198,7 +4921,6 @@ " 177.00\n", " 0.89\n", " 8.25\n", - " 16.68\n", " Most vehicles bunched\n", " \n", " \n", @@ -4213,7 +4935,6 @@ " 149.00\n", " 0.94\n", " 8.19\n", - " 15.55\n", " Most vehicles bunched\n", " \n", " \n", @@ -4228,7 +4949,6 @@ " 364.00\n", " 1.00\n", " 7.94\n", - " 18.40\n", " Most vehicles bunched\n", " \n", " \n", @@ -4243,7 +4963,6 @@ " 333.00\n", " 0.97\n", " 8.00\n", - " 18.17\n", " Most vehicles bunched\n", " \n", " \n", @@ -4258,7 +4977,6 @@ " 275.00\n", " 0.99\n", " 8.06\n", - " 16.90\n", " Most vehicles bunched\n", " \n", " \n", @@ -4273,7 +4991,6 @@ " 212.00\n", " 0.99\n", " 8.51\n", - " 14.02\n", " Most vehicles bunched\n", " \n", " \n", @@ -4288,7 +5005,6 @@ " 168.00\n", " 0.90\n", " 8.58\n", - " 14.07\n", " Most vehicles bunched\n", " \n", " \n", @@ -4303,7 +5019,6 @@ " 299.00\n", " 0.90\n", " 8.38\n", - " 17.37\n", " Most vehicles bunched\n", " \n", " \n", @@ -4318,7 +5033,6 @@ " 249.00\n", " 0.94\n", " 8.39\n", - " 15.57\n", " Most vehicles bunched\n", " \n", " \n", @@ -4333,7 +5047,6 @@ " 464.00\n", " 0.93\n", " 8.82\n", - " 20.05\n", " Most vehicles bunched\n", " \n", " \n", @@ -4348,7 +5061,6 @@ " 365.00\n", " 0.95\n", " 9.12\n", - " 18.70\n", " Most vehicles bunched\n", " \n", " \n", @@ -4363,7 +5075,6 @@ " 360.00\n", " 1.05\n", " 10.64\n", - " 11.93\n", " Most vehicles bunched\n", " \n", " \n", @@ -4378,7 +5089,6 @@ " 319.00\n", " 0.89\n", " 11.43\n", - " 13.20\n", " Most vehicles bunched\n", " \n", " \n", @@ -4393,7 +5103,6 @@ " 537.00\n", " 0.93\n", " 13.08\n", - " 54.03\n", " Most vehicles bunched\n", " \n", " \n", @@ -4408,7 +5117,6 @@ " 468.00\n", " 0.95\n", " 15.83\n", - " 52.77\n", " Most vehicles bunched\n", " \n", " \n", @@ -4423,7 +5131,6 @@ " 361.00\n", " 0.88\n", " 21.47\n", - " 52.18\n", " Most vehicles bunched\n", " \n", " \n", @@ -4438,7 +5145,6 @@ " 75.00\n", " 0.97\n", " 33.30\n", - " 20.63\n", " Most vehicles bunched\n", " \n", " \n", @@ -4453,7 +5159,6 @@ " 66.00\n", " 0.91\n", " 38.09\n", - " 20.67\n", " Most vehicles bunched\n", " \n", " \n", @@ -4468,7 +5173,6 @@ " 42.00\n", " 0.96\n", " 33.36\n", - " 20.10\n", " Most vehicles bunched\n", " \n", " \n", @@ -4483,7 +5187,6 @@ " 235.00\n", " 0.98\n", " 35.32\n", - " 23.40\n", " Most vehicles bunched\n", " \n", " \n", @@ -4498,7 +5201,6 @@ " 209.00\n", " 1.00\n", " 35.35\n", - " 20.37\n", " Most vehicles bunched\n", " \n", " \n", @@ -4513,7 +5215,6 @@ " 147.00\n", " 1.23\n", " 36.73\n", - " 20.28\n", " Most vehicles bunched\n", " \n", " \n", @@ -4528,7 +5229,6 @@ " 36.00\n", " 1.57\n", " 8.24\n", - " 20.93\n", " Most vehicles bunched\n", " \n", " \n", @@ -4543,7 +5243,6 @@ " -36.00\n", " 1.27\n", " 8.71\n", - " 20.82\n", " Most vehicles bunched\n", " \n", " \n", @@ -4558,7 +5257,6 @@ " -99.00\n", " 1.23\n", " 9.14\n", - " 19.42\n", " Most vehicles bunched\n", " \n", " \n", @@ -4573,7 +5271,6 @@ " 375.00\n", " 1.18\n", " 8.17\n", - " 27.75\n", " Most vehicles bunched\n", " \n", " \n", @@ -4588,7 +5285,6 @@ " 297.00\n", " 0.93\n", " 8.23\n", - " 16.37\n", " Most vehicles bunched\n", " \n", " \n", @@ -4603,7 +5299,6 @@ " 244.00\n", " 1.07\n", " 7.76\n", - " 16.32\n", " Most vehicles bunched\n", " \n", " \n", @@ -4618,7 +5313,6 @@ " 188.00\n", " 1.00\n", " 7.87\n", - " 16.27\n", " Most vehicles bunched\n", " \n", " \n", @@ -4633,7 +5327,6 @@ " 85.00\n", " 1.03\n", " 8.10\n", - " 16.17\n", " Most vehicles bunched\n", " \n", " \n", @@ -4648,7 +5341,6 @@ " 28.00\n", " 1.18\n", " 7.92\n", - " 16.02\n", " Most vehicles bunched\n", " \n", " \n", @@ -4663,7 +5355,6 @@ " -67.00\n", " 1.19\n", " 8.34\n", - " 12.67\n", " Most vehicles bunched\n", " \n", " \n", @@ -4678,7 +5369,6 @@ " -142.00\n", " 1.14\n", " 8.34\n", - " 12.60\n", " Most vehicles bunched\n", " \n", " \n", @@ -4693,7 +5383,6 @@ " 56.00\n", " 1.06\n", " 8.34\n", - " 16.65\n", " Most vehicles bunched\n", " \n", " \n", @@ -4708,7 +5397,6 @@ " -45.00\n", " 1.11\n", " 8.40\n", - " 12.43\n", " Most vehicles bunched\n", " \n", " \n", @@ -4723,7 +5411,6 @@ " -87.00\n", " 1.15\n", " 8.53\n", - " 12.43\n", " Most vehicles bunched\n", " \n", " \n", @@ -4738,7 +5425,6 @@ " -169.00\n", " 1.10\n", " 8.59\n", - " 12.43\n", " Most vehicles bunched\n", " \n", " \n", @@ -4753,7 +5439,6 @@ " -104.00\n", " 1.14\n", " 8.46\n", - " 14.03\n", " Most vehicles bunched\n", " \n", " \n", @@ -4768,7 +5453,6 @@ " -125.00\n", " 1.15\n", " 8.53\n", - " 14.15\n", " Most vehicles bunched\n", " \n", " \n", @@ -4783,7 +5467,6 @@ " -157.00\n", " 1.28\n", " 8.33\n", - " 14.32\n", " Most vehicles bunched\n", " \n", " \n", @@ -4798,7 +5481,6 @@ " 267.00\n", " 1.20\n", " 8.40\n", - " 18.05\n", " Most vehicles bunched\n", " \n", " \n", @@ -4813,7 +5495,6 @@ " 617.00\n", " 1.06\n", " 8.67\n", - " 24.60\n", " Most vehicles bunched\n", " \n", " \n", @@ -4828,7 +5509,6 @@ " 595.00\n", " 1.08\n", " 8.74\n", - " 24.60\n", " Most vehicles bunched\n", " \n", " \n", @@ -4843,7 +5523,6 @@ " 541.00\n", " 1.03\n", " 8.81\n", - " 24.58\n", " Most vehicles bunched\n", " \n", " \n", @@ -4858,7 +5537,6 @@ " 498.00\n", " 1.13\n", " 8.88\n", - " 24.57\n", " Most vehicles bunched\n", " \n", " \n", @@ -4873,7 +5551,6 @@ " 437.00\n", " 1.03\n", " 8.81\n", - " 24.53\n", " Most vehicles bunched\n", " \n", " \n", @@ -4888,7 +5565,6 @@ " 388.00\n", " 0.99\n", " 8.96\n", - " 24.52\n", " Most vehicles bunched\n", " \n", " \n", @@ -4903,7 +5579,6 @@ " 396.00\n", " 1.08\n", " 9.11\n", - " 59.87\n", " Most vehicles bunched\n", " \n", " \n", @@ -4918,7 +5593,6 @@ " 305.00\n", " 0.93\n", " 8.89\n", - " 22.62\n", " Most vehicles bunched\n", " \n", " \n", @@ -4933,7 +5607,6 @@ " 252.00\n", " 0.93\n", " 9.11\n", - " 21.72\n", " Most vehicles bunched\n", " \n", " \n", @@ -4948,7 +5621,6 @@ " 222.00\n", " 0.92\n", " 9.56\n", - " 20.28\n", " Most vehicles bunched\n", " \n", " \n", @@ -4963,7 +5635,6 @@ " 256.00\n", " 0.90\n", " 9.61\n", - " 22.23\n", " Most vehicles bunched\n", " \n", " \n", @@ -4978,7 +5649,6 @@ " 305.00\n", " 0.93\n", " 9.78\n", - " 23.68\n", " Most vehicles bunched\n", " \n", " \n", @@ -4993,7 +5663,6 @@ " 356.00\n", " 0.92\n", " 10.68\n", - " 30.10\n", " Most vehicles bunched\n", " \n", " \n", @@ -5008,7 +5677,6 @@ " 387.00\n", " 0.92\n", " 10.06\n", - " 26.08\n", " Most vehicles bunched\n", " \n", " \n", @@ -5023,7 +5691,6 @@ " 362.00\n", " 0.89\n", " 11.22\n", - " 26.10\n", " Most vehicles bunched\n", " \n", " \n", @@ -5038,7 +5705,6 @@ " 319.00\n", " 0.80\n", " 12.54\n", - " 26.10\n", " Most vehicles bunched\n", " \n", " \n", @@ -5053,7 +5719,6 @@ " 281.00\n", " 0.95\n", " 17.48\n", - " 24.72\n", " Most vehicles bunched\n", " \n", " \n", @@ -5068,7 +5733,6 @@ " 323.00\n", " 0.95\n", " 19.04\n", - " 24.38\n", " Most vehicles bunched\n", " \n", " \n", @@ -5083,7 +5747,6 @@ " 139.00\n", " 0.78\n", " 58.93\n", - " 54.15\n", " Most vehicles bunched\n", " \n", " \n", @@ -5098,7 +5761,6 @@ " 512.00\n", " 1.08\n", " 19.67\n", - " 25.82\n", " Most vehicles bunched\n", " \n", " \n", @@ -5113,7 +5775,6 @@ " 434.00\n", " 0.84\n", " 38.50\n", - " 25.83\n", " Most vehicles bunched\n", " \n", " \n", @@ -5128,7 +5789,6 @@ " 386.00\n", " 0.67\n", " 29.75\n", - " 25.83\n", " Frequent bunching\n", " \n", " \n", @@ -5143,7 +5803,6 @@ " 280.00\n", " 0.88\n", " 19.96\n", - " 25.87\n", " Most vehicles bunched\n", " \n", " \n", @@ -5158,7 +5817,6 @@ " 235.00\n", " 0.88\n", " 20.01\n", - " 25.87\n", " Most vehicles bunched\n", " \n", " \n", @@ -5173,7 +5831,6 @@ " 149.00\n", " 0.88\n", " 20.11\n", - " 24.78\n", " Most vehicles bunched\n", " \n", " \n", @@ -5188,7 +5845,6 @@ " 96.00\n", " 0.87\n", " 20.15\n", - " 20.08\n", " Most vehicles bunched\n", " \n", " \n", @@ -5203,7 +5859,6 @@ " 48.00\n", " 0.86\n", " 20.18\n", - " 20.02\n", " Most vehicles bunched\n", " \n", " \n", @@ -5218,7 +5873,6 @@ " -23.00\n", " 0.86\n", " 20.22\n", - " 19.93\n", " Most vehicles bunched\n", " \n", " \n", @@ -5233,7 +5887,6 @@ " 385.00\n", " 0.83\n", " 20.29\n", - " 27.53\n", " Most vehicles bunched\n", " \n", " \n", @@ -5248,7 +5901,6 @@ " 342.00\n", " 0.82\n", " 20.35\n", - " 27.47\n", " Most vehicles bunched\n", " \n", " \n", @@ -5263,7 +5915,6 @@ " 320.00\n", " 0.80\n", " 20.38\n", - " 26.88\n", " Most vehicles bunched\n", " \n", " \n", @@ -5278,7 +5929,6 @@ " 266.00\n", " 0.79\n", " 20.44\n", - " 26.13\n", " Most vehicles bunched\n", " \n", " \n", @@ -5293,7 +5943,6 @@ " 224.00\n", " 0.78\n", " 20.49\n", - " 25.97\n", " Most vehicles bunched\n", " \n", " \n", @@ -5308,7 +5957,6 @@ " 164.00\n", " 0.83\n", " 23.11\n", - " 25.45\n", " Most vehicles bunched\n", " \n", " \n", @@ -5323,7 +5971,6 @@ " 116.00\n", " 0.82\n", " 23.16\n", - " 22.22\n", " Most vehicles bunched\n", " \n", " \n", @@ -5338,7 +5985,6 @@ " 67.00\n", " 0.79\n", " 26.79\n", - " 22.15\n", " Most vehicles bunched\n", " \n", " \n", @@ -5353,7 +5999,6 @@ " 35.00\n", " 1.21\n", " 26.83\n", - " 22.07\n", " Most vehicles bunched\n", " \n", " \n", @@ -5368,7 +6013,6 @@ " 731.00\n", " 0.80\n", " 26.62\n", - " 51.52\n", " Most vehicles bunched\n", " \n", " \n", @@ -5383,7 +6027,6 @@ " 939.00\n", " 0.78\n", " 26.65\n", - " 53.13\n", " Most vehicles bunched\n", " \n", " \n", @@ -5398,7 +6041,6 @@ " 857.00\n", " 0.80\n", " 26.72\n", - " 53.10\n", " Most vehicles bunched\n", " \n", " \n", @@ -5413,7 +6055,6 @@ " 819.00\n", " 0.82\n", " 26.75\n", - " 53.08\n", " Most vehicles bunched\n", " \n", " \n", @@ -5428,7 +6069,6 @@ " 782.00\n", " 0.84\n", " 26.78\n", - " 53.08\n", " Most vehicles bunched\n", " \n", " \n", @@ -5443,7 +6083,6 @@ " 758.00\n", " 0.84\n", " 26.80\n", - " 53.07\n", " Most vehicles bunched\n", " \n", " \n", @@ -5458,7 +6097,6 @@ " 732.00\n", " 0.84\n", " 26.82\n", - " 53.07\n", " Most vehicles bunched\n", " \n", " \n", @@ -5473,7 +6111,6 @@ " 689.00\n", " 0.75\n", " 31.33\n", - " 53.07\n", " Most vehicles bunched\n", " \n", " \n", @@ -5488,7 +6125,6 @@ " 634.00\n", " 0.28\n", " 50.74\n", - " 51.95\n", " Vehicles slightly off headway\n", " \n", " \n", @@ -5503,7 +6139,6 @@ " 558.00\n", " 0.15\n", " 59.50\n", - " 50.43\n", " Service provided like clockwork\n", " \n", " \n", @@ -5518,7 +6153,6 @@ " 125.00\n", " 1.12\n", " 167.68\n", - " 435.77\n", " Most vehicles bunched\n", " \n", " \n", @@ -5533,7 +6167,6 @@ " 69.00\n", " 1.11\n", " 167.53\n", - " 432.33\n", " Most vehicles bunched\n", " \n", " \n", @@ -5548,7 +6181,6 @@ " 147.00\n", " 1.11\n", " 167.39\n", - " 431.12\n", " Most vehicles bunched\n", " \n", " \n", @@ -5563,7 +6195,6 @@ " 184.00\n", " 1.11\n", " 167.32\n", - " 432.23\n", " Most vehicles bunched\n", " \n", " \n", @@ -5578,7 +6209,6 @@ " 266.00\n", " 1.12\n", " 167.16\n", - " 434.72\n", " Most vehicles bunched\n", " \n", " \n", @@ -5593,7 +6223,6 @@ " 315.00\n", " 1.13\n", " 167.06\n", - " 436.30\n", " Most vehicles bunched\n", " \n", " \n", @@ -5899,154 +6528,154 @@ "13583 Northbound 7.60 266.00 \n", "13584 Northbound 7.60 315.00 \n", "\n", - " bunching_coefficient avg_schd_headway_min actual_headway_min \\\n", - "13438 0.49 29.18 39.20 \n", - "13439 0.73 22.60 6.40 \n", - "13440 0.99 22.60 5.63 \n", - "13441 0.82 24.17 36.67 \n", - "13442 0.73 24.17 35.57 \n", - "13443 0.68 24.15 35.07 \n", - "13444 0.67 24.12 34.13 \n", - "13445 0.66 24.09 33.28 \n", - "13446 0.74 24.05 32.07 \n", - "13447 0.67 24.02 32.27 \n", - "13448 0.70 23.95 32.62 \n", - "13449 0.62 23.89 30.92 \n", - "13450 0.56 23.83 28.33 \n", - "13451 0.66 23.79 32.02 \n", - "13452 0.65 23.77 31.95 \n", - "13453 0.65 23.73 31.87 \n", - "13454 0.64 23.70 31.78 \n", - "13455 0.63 23.67 31.67 \n", - "13456 0.59 23.62 27.45 \n", - "13457 0.60 23.59 24.13 \n", - "13458 0.62 23.53 22.80 \n", - "13459 0.60 23.50 22.90 \n", - "13460 0.63 23.50 25.32 \n", - "13461 0.63 23.50 25.50 \n", - "13462 0.58 23.50 25.88 \n", - "13463 1.17 29.12 28.38 \n", - "13464 1.15 29.02 28.63 \n", - "13465 1.17 28.85 33.37 \n", - "13466 0.85 38.33 36.10 \n", - "13467 0.91 11.12 43.02 \n", - "13468 1.13 47.45 17.37 \n", - "13469 1.17 52.72 16.80 \n", - "13470 0.63 68.00 57.33 \n", - "13471 0.93 40.80 57.02 \n", - "13472 1.04 11.17 22.35 \n", - "13473 1.08 9.02 42.18 \n", - "13474 1.00 8.15 15.35 \n", - "13475 0.88 8.95 15.22 \n", - "13476 0.92 8.15 15.15 \n", - "13477 1.07 7.91 15.03 \n", - "13478 0.97 7.97 14.93 \n", - "13479 1.05 8.03 14.78 \n", - "13480 0.96 7.97 14.68 \n", - "13481 0.97 7.86 18.88 \n", - "13482 0.93 7.92 18.67 \n", - "13483 0.88 8.22 18.48 \n", - "13484 0.85 8.42 27.43 \n", - "13485 0.88 8.57 15.05 \n", - "13486 0.83 8.37 15.00 \n", - "13487 0.88 8.12 14.95 \n", - "13488 0.82 8.12 16.40 \n", - "13489 0.89 8.06 16.32 \n", - "13490 0.86 8.06 17.02 \n", - "13491 0.89 8.25 16.68 \n", - "13492 0.94 8.19 15.55 \n", - "13493 1.00 7.94 18.40 \n", - "13494 0.97 8.00 18.17 \n", - "13495 0.99 8.06 16.90 \n", - "13496 0.99 8.51 14.02 \n", - "13497 0.90 8.58 14.07 \n", - "13498 0.90 8.38 17.37 \n", - "13499 0.94 8.39 15.57 \n", - "13500 0.93 8.82 20.05 \n", - "13501 0.95 9.12 18.70 \n", - "13502 1.05 10.64 11.93 \n", - "13503 0.89 11.43 13.20 \n", - "13504 0.93 13.08 54.03 \n", - "13505 0.95 15.83 52.77 \n", - "13506 0.88 21.47 52.18 \n", - "13507 0.97 33.30 20.63 \n", - "13508 0.91 38.09 20.67 \n", - "13509 0.96 33.36 20.10 \n", - "13510 0.98 35.32 23.40 \n", - "13511 1.00 35.35 20.37 \n", - "13512 1.23 36.73 20.28 \n", - "13513 1.57 8.24 20.93 \n", - "13514 1.27 8.71 20.82 \n", - "13515 1.23 9.14 19.42 \n", - "13516 1.18 8.17 27.75 \n", - "13517 0.93 8.23 16.37 \n", - "13518 1.07 7.76 16.32 \n", - "13519 1.00 7.87 16.27 \n", - "13520 1.03 8.10 16.17 \n", - "13521 1.18 7.92 16.02 \n", - "13522 1.19 8.34 12.67 \n", - "13523 1.14 8.34 12.60 \n", - "13524 1.06 8.34 16.65 \n", - "13525 1.11 8.40 12.43 \n", - "13526 1.15 8.53 12.43 \n", - "13527 1.10 8.59 12.43 \n", - "13528 1.14 8.46 14.03 \n", - "13529 1.15 8.53 14.15 \n", - "13530 1.28 8.33 14.32 \n", - "13531 1.20 8.40 18.05 \n", - "13532 1.06 8.67 24.60 \n", - "13533 1.08 8.74 24.60 \n", - "13534 1.03 8.81 24.58 \n", - "13535 1.13 8.88 24.57 \n", - "13536 1.03 8.81 24.53 \n", - "13537 0.99 8.96 24.52 \n", - "13538 1.08 9.11 59.87 \n", - "13539 0.93 8.89 22.62 \n", - "13540 0.93 9.11 21.72 \n", - "13541 0.92 9.56 20.28 \n", - "13542 0.90 9.61 22.23 \n", - "13543 0.93 9.78 23.68 \n", - "13544 0.92 10.68 30.10 \n", - "13545 0.92 10.06 26.08 \n", - "13546 0.89 11.22 26.10 \n", - "13547 0.80 12.54 26.10 \n", - "13548 0.95 17.48 24.72 \n", - "13549 0.95 19.04 24.38 \n", - "13550 0.78 58.93 54.15 \n", - "13551 1.08 19.67 25.82 \n", - "13552 0.84 38.50 25.83 \n", - "13553 0.67 29.75 25.83 \n", - "13554 0.88 19.96 25.87 \n", - "13555 0.88 20.01 25.87 \n", - "13556 0.88 20.11 24.78 \n", - "13557 0.87 20.15 20.08 \n", - "13558 0.86 20.18 20.02 \n", - "13559 0.86 20.22 19.93 \n", - "13560 0.83 20.29 27.53 \n", - "13561 0.82 20.35 27.47 \n", - "13562 0.80 20.38 26.88 \n", - "13563 0.79 20.44 26.13 \n", - "13564 0.78 20.49 25.97 \n", - "13565 0.83 23.11 25.45 \n", - "13566 0.82 23.16 22.22 \n", - "13567 0.79 26.79 22.15 \n", - "13568 1.21 26.83 22.07 \n", - "13569 0.80 26.62 51.52 \n", - "13570 0.78 26.65 53.13 \n", - "13571 0.80 26.72 53.10 \n", - "13572 0.82 26.75 53.08 \n", - "13573 0.84 26.78 53.08 \n", - "13574 0.84 26.80 53.07 \n", - "13575 0.84 26.82 53.07 \n", - "13576 0.75 31.33 53.07 \n", - "13577 0.28 50.74 51.95 \n", - "13578 0.15 59.50 50.43 \n", - "13579 1.12 167.68 435.77 \n", - "13580 1.11 167.53 432.33 \n", - "13581 1.11 167.39 431.12 \n", - "13582 1.11 167.32 432.23 \n", - "13583 1.12 167.16 434.72 \n", - "13584 1.13 167.06 436.30 \n", + " bunching_coefficient avg_schd_headway_min \\\n", + "13438 0.49 29.18 \n", + "13439 0.73 22.60 \n", + "13440 0.99 22.60 \n", + "13441 0.82 24.17 \n", + "13442 0.73 24.17 \n", + "13443 0.68 24.15 \n", + "13444 0.67 24.12 \n", + "13445 0.66 24.09 \n", + "13446 0.74 24.05 \n", + "13447 0.67 24.02 \n", + "13448 0.70 23.95 \n", + "13449 0.62 23.89 \n", + "13450 0.56 23.83 \n", + "13451 0.66 23.79 \n", + "13452 0.65 23.77 \n", + "13453 0.65 23.73 \n", + "13454 0.64 23.70 \n", + "13455 0.63 23.67 \n", + "13456 0.59 23.62 \n", + "13457 0.60 23.59 \n", + "13458 0.62 23.53 \n", + "13459 0.60 23.50 \n", + "13460 0.63 23.50 \n", + "13461 0.63 23.50 \n", + "13462 0.58 23.50 \n", + "13463 1.17 29.12 \n", + "13464 1.15 29.02 \n", + "13465 1.17 28.85 \n", + "13466 0.85 38.33 \n", + "13467 0.91 11.12 \n", + "13468 1.13 47.45 \n", + "13469 1.17 52.72 \n", + "13470 0.63 68.00 \n", + "13471 0.93 40.80 \n", + "13472 1.04 11.17 \n", + "13473 1.08 9.02 \n", + "13474 1.00 8.15 \n", + "13475 0.88 8.95 \n", + "13476 0.92 8.15 \n", + "13477 1.07 7.91 \n", + "13478 0.97 7.97 \n", + "13479 1.05 8.03 \n", + "13480 0.96 7.97 \n", + "13481 0.97 7.86 \n", + "13482 0.93 7.92 \n", + "13483 0.88 8.22 \n", + "13484 0.85 8.42 \n", + "13485 0.88 8.57 \n", + "13486 0.83 8.37 \n", + "13487 0.88 8.12 \n", + "13488 0.82 8.12 \n", + "13489 0.89 8.06 \n", + "13490 0.86 8.06 \n", + "13491 0.89 8.25 \n", + "13492 0.94 8.19 \n", + "13493 1.00 7.94 \n", + "13494 0.97 8.00 \n", + "13495 0.99 8.06 \n", + "13496 0.99 8.51 \n", + "13497 0.90 8.58 \n", + "13498 0.90 8.38 \n", + "13499 0.94 8.39 \n", + "13500 0.93 8.82 \n", + "13501 0.95 9.12 \n", + "13502 1.05 10.64 \n", + "13503 0.89 11.43 \n", + "13504 0.93 13.08 \n", + "13505 0.95 15.83 \n", + "13506 0.88 21.47 \n", + "13507 0.97 33.30 \n", + "13508 0.91 38.09 \n", + "13509 0.96 33.36 \n", + "13510 0.98 35.32 \n", + "13511 1.00 35.35 \n", + "13512 1.23 36.73 \n", + "13513 1.57 8.24 \n", + "13514 1.27 8.71 \n", + "13515 1.23 9.14 \n", + "13516 1.18 8.17 \n", + "13517 0.93 8.23 \n", + "13518 1.07 7.76 \n", + "13519 1.00 7.87 \n", + "13520 1.03 8.10 \n", + "13521 1.18 7.92 \n", + "13522 1.19 8.34 \n", + "13523 1.14 8.34 \n", + "13524 1.06 8.34 \n", + "13525 1.11 8.40 \n", + "13526 1.15 8.53 \n", + "13527 1.10 8.59 \n", + "13528 1.14 8.46 \n", + "13529 1.15 8.53 \n", + "13530 1.28 8.33 \n", + "13531 1.20 8.40 \n", + "13532 1.06 8.67 \n", + "13533 1.08 8.74 \n", + "13534 1.03 8.81 \n", + "13535 1.13 8.88 \n", + "13536 1.03 8.81 \n", + "13537 0.99 8.96 \n", + "13538 1.08 9.11 \n", + "13539 0.93 8.89 \n", + "13540 0.93 9.11 \n", + "13541 0.92 9.56 \n", + "13542 0.90 9.61 \n", + "13543 0.93 9.78 \n", + "13544 0.92 10.68 \n", + "13545 0.92 10.06 \n", + "13546 0.89 11.22 \n", + "13547 0.80 12.54 \n", + "13548 0.95 17.48 \n", + "13549 0.95 19.04 \n", + "13550 0.78 58.93 \n", + "13551 1.08 19.67 \n", + "13552 0.84 38.50 \n", + "13553 0.67 29.75 \n", + "13554 0.88 19.96 \n", + "13555 0.88 20.01 \n", + "13556 0.88 20.11 \n", + "13557 0.87 20.15 \n", + "13558 0.86 20.18 \n", + "13559 0.86 20.22 \n", + "13560 0.83 20.29 \n", + "13561 0.82 20.35 \n", + "13562 0.80 20.38 \n", + "13563 0.79 20.44 \n", + "13564 0.78 20.49 \n", + "13565 0.83 23.11 \n", + "13566 0.82 23.16 \n", + "13567 0.79 26.79 \n", + "13568 1.21 26.83 \n", + "13569 0.80 26.62 \n", + "13570 0.78 26.65 \n", + "13571 0.80 26.72 \n", + "13572 0.82 26.75 \n", + "13573 0.84 26.78 \n", + "13574 0.84 26.80 \n", + "13575 0.84 26.82 \n", + "13576 0.75 31.33 \n", + "13577 0.28 50.74 \n", + "13578 0.15 59.50 \n", + "13579 1.12 167.68 \n", + "13580 1.11 167.53 \n", + "13581 1.11 167.39 \n", + "13582 1.11 167.32 \n", + "13583 1.12 167.16 \n", + "13584 1.13 167.06 \n", "\n", " passenger_op_perspective \n", "13438 Irregular headways, with some bunching \n", @@ -6198,7 +6827,7 @@ "13584 Most vehicles bunched " ] }, - "execution_count": 86, + "execution_count": 98, "metadata": {}, "output_type": "execute_result" } @@ -6209,7 +6838,7 @@ }, { "cell_type": "code", - "execution_count": 87, + "execution_count": 99, "id": "8ed6b4d9-e421-452a-80e6-d1b81cadec7b", "metadata": {}, "outputs": [ @@ -6254,7 +6883,6 @@ " std_dev_headway\n", " bunching_coefficient\n", " avg_schd_headway_min\n", - " actual_headway_min\n", " passenger_op_perspective\n", " \n", " \n", @@ -6281,7 +6909,6 @@ " 11333.78\n", " 1.13\n", " 167.06\n", - " 436.30\n", " Most vehicles bunched\n", " \n", " \n", @@ -6307,11 +6934,11 @@ " avg_schd_headway_sec std_dev_headway bunching_coefficient \\\n", "13584 10023.50 11333.78 1.13 \n", "\n", - " avg_schd_headway_min actual_headway_min passenger_op_perspective \n", - "13584 167.06 436.30 Most vehicles bunched " + " avg_schd_headway_min passenger_op_perspective \n", + "13584 167.06 Most vehicles bunched " ] }, - "execution_count": 87, + "execution_count": 99, "metadata": {}, "output_type": "execute_result" } @@ -6325,33 +6952,13 @@ "id": "fb80489d-124b-4331-9b31-f6950c882bde", "metadata": {}, "source": [ - "#### What do you do with scheduled headways that are pretty extreme compared to the other rows?" - ] - }, - { - "cell_type": "code", - "execution_count": 92, - "id": "fe3ede7c-d7b2-43bd-affb-71a0e8140a0d", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "432.6166666666667" - ] - }, - "execution_count": 92, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "25957.00/60" + "#### What do you do with scheduled headways that are pretty extreme compared to the other rows?\n", + "* One headway is scheduled for 7 hours?" ] }, { "cell_type": "code", - "execution_count": 94, + "execution_count": 101, "id": "dc7dfad6-3972-4a84-8524-fec4f7beb9bf", "metadata": {}, "outputs": [ @@ -6361,7 +6968,7 @@ "7.266666666666667" ] }, - "execution_count": 94, + "execution_count": 101, "metadata": {}, "output_type": "execute_result" } @@ -6372,7 +6979,7 @@ }, { "cell_type": "code", - "execution_count": 91, + "execution_count": 102, "id": "6f817056-5594-45d1-9bfa-fdd1343fbea7", "metadata": {}, "outputs": [ @@ -6581,7 +7188,7 @@ "443920 133.62 " ] }, - "execution_count": 91, + "execution_count": 102, "metadata": {}, "output_type": "execute_result" } @@ -6596,7 +7203,7 @@ }, { "cell_type": "code", - "execution_count": 93, + "execution_count": 103, "id": "5139303d-7405-46c8-b789-5a1926a04f00", "metadata": {}, "outputs": [ @@ -6764,7 +7371,7 @@ "689073 Northbound 7.60 " ] }, - "execution_count": 93, + "execution_count": 103, "metadata": {}, "output_type": "execute_result" } @@ -6779,7 +7386,7 @@ }, { "cell_type": "code", - "execution_count": 95, + "execution_count": 104, "id": "439550dd-7c0b-42df-9696-df40111a54c4", "metadata": {}, "outputs": [ @@ -6947,7 +7554,7 @@ "661663 Northbound 7.60 " ] }, - "execution_count": 95, + "execution_count": 104, "metadata": {}, "output_type": "execute_result" } @@ -6962,7 +7569,7 @@ }, { "cell_type": "code", - "execution_count": 96, + "execution_count": 105, "id": "46168b64-d96c-4cfa-854a-54c18d4c9ad9", "metadata": {}, "outputs": [ @@ -7136,7 +7743,7 @@ "462159 Northbound 7.60 -560.00 " ] }, - "execution_count": 96, + "execution_count": 105, "metadata": {}, "output_type": "execute_result" } @@ -7151,7 +7758,28 @@ }, { "cell_type": "code", - "execution_count": 97, + "execution_count": 106, + "id": "29965fba-547b-4176-9844-f3bd8f56e612", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "11.615277777777777" + ] + }, + "execution_count": 106, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "41815/60/60" + ] + }, + { + "cell_type": "code", + "execution_count": 107, "id": "659d98b2-ba85-4633-9f03-267eddc4ab49", "metadata": {}, "outputs": [ @@ -7344,7 +7972,7 @@ "461681 8017.00 " ] }, - "execution_count": 97, + "execution_count": 107, "metadata": {}, "output_type": "execute_result" } @@ -7359,28 +7987,210 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "6992900c-6f8e-48eb-a038-48c1068662a0", - "metadata": {}, - "outputs": [], - "source": [ - "check1 = (\n", - " bunching_by_stops.groupby(\n", - " [\"stop_sequence\", \"route_id\", \"schedule_gtfs_dataset_key\"]\n", - " )\n", - " .agg({\"route_primary_direction\": \"nunique\"})\n", - " .reset_index()\n", - ")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "8827f4af-14f6-44a7-87d4-8c3b5ddf2b51", + "execution_count": 108, + "id": "3342cb5c-55d0-4f15-bb1e-7e96925d4bbe", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headway
46167711490074_M3117769741815.007cc0cb1871dfd558f11a2885c145d14459dbf32fbb998fc9837ad6fe10146b644190922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6094.00NaNNaN
46167811490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60315.0026178.0025957.00
46167911490090_M3117769772092.007cc0cb1871dfd558f11a2885c145d1446aaf49dfccb82109a1f77471fee6e43a7168922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-403.003602.004320.00
46168011490091_M3117769773892.007cc0cb1871dfd558f11a2885c145d144e8ff0c3ae23fd4ba4ab3d251d0c110697269022fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-1202.001001.001800.00
46168111490099_M3117769781909.007cc0cb1871dfd558f11a2885c145d1442c824de8cf7a1b5338f76d2501e6ebd58134922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-560.008659.008017.00
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "461677 11490074_M31 17769 7 41815.00 \n", + "461678 11490047_M31 17769 7 67772.00 \n", + "461679 11490090_M31 17769 7 72092.00 \n", + "461680 11490091_M31 17769 7 73892.00 \n", + "461681 11490099_M31 17769 7 81909.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "461677 7cc0cb1871dfd558f11a2885c145d144 59dbf32fbb998fc9837ad6fe10146b64 \n", + "461678 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "461679 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", + "461680 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", + "461681 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "461677 41909 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "461678 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "461679 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "461680 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "461681 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "461677 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "461678 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "461679 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "461680 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "461681 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "461677 Northbound 7.60 94.00 NaN \n", + "461678 Northbound 7.60 315.00 26178.00 \n", + "461679 Northbound 7.60 -403.00 3602.00 \n", + "461680 Northbound 7.60 -1202.00 1001.00 \n", + "461681 Northbound 7.60 -560.00 8659.00 \n", + "\n", + " schd_headway \n", + "461677 NaN \n", + "461678 25957.00 \n", + "461679 4320.00 \n", + "461680 1800.00 \n", + "461681 8017.00 " + ] + }, + "execution_count": 108, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ - "check1.route_primary_direction.describe()" + "rt_stop_times5.loc[(rt_stop_times5.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", + " (rt_stop_times5.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", + " (rt_stop_times5.route_id== \"22\") &\n", + " (rt_stop_times5.direction_id == 1) &\n", + " (rt_stop_times5.stop_id == \"17769\")]" ] } ], From 1399c5d4347ec9a99e8b7ed7c1060c3b84e2ffe3 Mon Sep 17 00:00:00 2001 From: amandaha8 Date: Wed, 7 Aug 2024 23:24:46 +0000 Subject: [PATCH 4/6] tried transit matters method --- gtfs_digest/27_transit_bunching_seconds.ipynb | 8953 +++++++++++++++-- gtfs_digest/_bunching.md | 1 + 2 files changed, 8118 insertions(+), 836 deletions(-) diff --git a/gtfs_digest/27_transit_bunching_seconds.ipynb b/gtfs_digest/27_transit_bunching_seconds.ipynb index 2ab8ab95d..a5d33cb32 100644 --- a/gtfs_digest/27_transit_bunching_seconds.ipynb +++ b/gtfs_digest/27_transit_bunching_seconds.ipynb @@ -950,7 +950,7 @@ } ], "source": [ - "1439/60" + "1439 / 60" ] }, { @@ -1377,7 +1377,9 @@ } ], "source": [ - "rt_stop_times5.loc[rt_stop_times5.actual_headway.isna()].head(10).drop(columns=drop_for_preview)" + "rt_stop_times5.loc[rt_stop_times5.actual_headway.isna()].head(10).drop(\n", + " columns=drop_for_preview\n", + ")" ] }, { @@ -1479,7 +1481,7 @@ } ], "source": [ - "len(rt_stop_times5)-len(rt_stop_times6)" + "len(rt_stop_times5) - len(rt_stop_times6)" ] }, { @@ -1487,7 +1489,7 @@ "id": "9b940ef3-76e6-40a0-bea5-91391827ad99", "metadata": {}, "source": [ - "### Find the mean scheduled headway for the `operator-route-direction_id-stop_sequence-stop_id-` grain" + "###Find the mean scheduled headway for the `operator-route-direction_id-stop_sequence-stop_id-` grain" ] }, { @@ -1586,7 +1588,7 @@ "id": "77370f93-20e5-4498-8e4d-e7495fd52cfa", "metadata": {}, "source": [ - "### Find standard deviation: how far the actual headway is from the mean scheduled headway for the same grain above.\n" + "#### Find standard deviation: how far the actual headway is from the mean scheduled headway for the same grain above.\n" ] }, { @@ -1609,7 +1611,7 @@ "id": "4e5365b0-a652-4331-954d-03de8e08416c", "metadata": {}, "source": [ - "#### Why are so many missing? Case 1\n", + "##### Why are so many missing? Case 1\n", "Why are some Groupby and transform: When using groupby and transform, if a group has only one element, the standard deviation is NaN (Not a Number). This is because standard deviation requires at least two data points to calculate." ] }, @@ -1686,15 +1688,15 @@ " \n", " \n", " \n", - " 17361\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " e28e3de81657b399d7e71e23eb625240\n", - " 49\n", + " 1349\n", + " 0666caf3ec1ecc96b74f4477ee4bc939\n", + " 608992664173210532aa3e6cc573be2f\n", + " 13d1f6a199bb8055089a2f96cea449f0\n", + " 108-13172\n", " 1.00\n", - " Northbound\n", - " 7\n", - " 15801\n", + " Westbound\n", + " 43\n", + " 16283\n", " NaN\n", " \n", " \n", @@ -1702,14 +1704,14 @@ "" ], "text/plain": [ - " schedule_gtfs_dataset_key feed_key \\\n", - "17361 7cc0cb1871dfd558f11a2885c145d144 7f69c2fdaa134642f14064a0b64d1495 \n", + " schedule_gtfs_dataset_key feed_key \\\n", + "1349 0666caf3ec1ecc96b74f4477ee4bc939 608992664173210532aa3e6cc573be2f \n", "\n", - " shape_array_key route_id direction_id \\\n", - "17361 e28e3de81657b399d7e71e23eb625240 49 1.00 \n", + " shape_array_key route_id direction_id \\\n", + "1349 13d1f6a199bb8055089a2f96cea449f0 108-13172 1.00 \n", "\n", - " route_primary_direction stop_sequence stop_id std_dev_headway \n", - "17361 Northbound 7 15801 NaN " + " route_primary_direction stop_sequence stop_id std_dev_headway \n", + "1349 Westbound 43 16283 NaN " ] }, "execution_count": 59, @@ -1728,7 +1730,7 @@ "metadata": {}, "outputs": [], "source": [ - "std_dev2 = std_dev.loc[~std_dev.std_dev_headway.isna()].reset_index(drop = True)" + "std_dev2 = std_dev.loc[~std_dev.std_dev_headway.isna()].reset_index(drop=True)" ] }, { @@ -1736,7 +1738,7 @@ "id": "2a5b721a-41ef-4c82-a0bc-8c2b3f194549", "metadata": {}, "source": [ - "#### Investigate missing rows\n", + "##### Investigate missing rows\n", "* This one seems to have some very unrealistic time stamps, like the time between scheduled versus actual arrival times are more than an hour." ] }, @@ -1839,11 +1841,13 @@ } ], "source": [ - "m1.loc[(m1.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (m1.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\") & \n", - " (m1.route_id== \"217-13172\") &\n", - " (m1.direction_id == 1) &\n", - " (m1.stop_id == \"15434\")]" + "m1.loc[\n", + " (m1.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (m1.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\")\n", + " & (m1.route_id == \"217-13172\")\n", + " & (m1.direction_id == 1)\n", + " & (m1.stop_id == \"15434\")\n", + "]" ] }, { @@ -2008,11 +2012,13 @@ } ], "source": [ - "rt_stop_times2.loc[(rt_stop_times2.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (rt_stop_times2.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\") & \n", - " (rt_stop_times2.route_id== \"217-13172\") &\n", - " (rt_stop_times2.direction_id == 1) &\n", - " (rt_stop_times2.stop_id == \"15434\")]" + "rt_stop_times2.loc[\n", + " (rt_stop_times2.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (rt_stop_times2.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\")\n", + " & (rt_stop_times2.route_id == \"217-13172\")\n", + " & (rt_stop_times2.direction_id == 1)\n", + " & (rt_stop_times2.stop_id == \"15434\")\n", + "]" ] }, { @@ -2147,11 +2153,13 @@ } ], "source": [ - "rt_stop_times3.loc[(rt_stop_times3.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (rt_stop_times3.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\") & \n", - " (rt_stop_times3.route_id== \"217-13172\") &\n", - " (rt_stop_times3.direction_id == 1) &\n", - " (rt_stop_times3.stop_id == \"15434\")]" + "rt_stop_times3.loc[\n", + " (rt_stop_times3.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (rt_stop_times3.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\")\n", + " & (rt_stop_times3.route_id == \"217-13172\")\n", + " & (rt_stop_times3.direction_id == 1)\n", + " & (rt_stop_times3.stop_id == \"15434\")\n", + "]" ] }, { @@ -2290,11 +2298,13 @@ } ], "source": [ - "rt_stop_times4.loc[(rt_stop_times4.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (rt_stop_times4.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\") & \n", - " (rt_stop_times4.route_id== \"217-13172\") &\n", - " (rt_stop_times4.direction_id == 1) &\n", - " (rt_stop_times4.stop_id == \"15434\")]" + "rt_stop_times4.loc[\n", + " (rt_stop_times4.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (rt_stop_times4.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\")\n", + " & (rt_stop_times4.route_id == \"217-13172\")\n", + " & (rt_stop_times4.direction_id == 1)\n", + " & (rt_stop_times4.stop_id == \"15434\")\n", + "]" ] }, { @@ -2420,11 +2430,13 @@ } ], "source": [ - "rt_stop_times5.loc[(rt_stop_times5.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (rt_stop_times5.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\") & \n", - " (rt_stop_times5.route_id== \"217-13172\") &\n", - " (rt_stop_times5.direction_id == 1) &\n", - " (rt_stop_times5.stop_id == \"15434\")]" + "rt_stop_times5.loc[\n", + " (rt_stop_times5.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (rt_stop_times5.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\")\n", + " & (rt_stop_times5.route_id == \"217-13172\")\n", + " & (rt_stop_times5.direction_id == 1)\n", + " & (rt_stop_times5.stop_id == \"15434\")\n", + "]" ] }, { @@ -2524,11 +2536,13 @@ } ], "source": [ - "rt_stop_times6.loc[(rt_stop_times6.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (rt_stop_times6.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\") & \n", - " (rt_stop_times6.route_id== \"217-13172\") &\n", - " (rt_stop_times6.direction_id == 1) &\n", - " (rt_stop_times6.stop_id == \"15434\")]" + "rt_stop_times6.loc[\n", + " (rt_stop_times6.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (rt_stop_times6.shape_array_key == \"0688a14c97a2ebfe90f5674c1262d741\")\n", + " & (rt_stop_times6.route_id == \"217-13172\")\n", + " & (rt_stop_times6.direction_id == 1)\n", + " & (rt_stop_times6.stop_id == \"15434\")\n", + "]" ] }, { @@ -2639,11 +2653,13 @@ } ], "source": [ - "m1.loc[(m1.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (m1.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\") & \n", - " (m1.route_id== \"234-13172\") &\n", - " (m1.direction_id == 1) &\n", - " (m1.stop_id == \"15383\")]" + "m1.loc[\n", + " (m1.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (m1.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\")\n", + " & (m1.route_id == \"234-13172\")\n", + " & (m1.direction_id == 1)\n", + " & (m1.stop_id == \"15383\")\n", + "]" ] }, { @@ -2756,11 +2772,13 @@ } ], "source": [ - "rt_stop_times2.loc[(rt_stop_times2.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (rt_stop_times2.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\") & \n", - " (rt_stop_times2.route_id== \"234-13172\") &\n", - " (rt_stop_times2.direction_id == 1) &\n", - " (rt_stop_times2.stop_id == \"15383\")]" + "rt_stop_times2.loc[\n", + " (rt_stop_times2.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (rt_stop_times2.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\")\n", + " & (rt_stop_times2.route_id == \"234-13172\")\n", + " & (rt_stop_times2.direction_id == 1)\n", + " & (rt_stop_times2.stop_id == \"15383\")\n", + "]" ] }, { @@ -2873,11 +2891,13 @@ } ], "source": [ - "rt_stop_times3.loc[(rt_stop_times3.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (rt_stop_times3.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\") & \n", - " (rt_stop_times3.route_id== \"234-13172\") &\n", - " (rt_stop_times3.direction_id == 1) &\n", - " (rt_stop_times3.stop_id == \"15383\")]" + "rt_stop_times3.loc[\n", + " (rt_stop_times3.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (rt_stop_times3.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\")\n", + " & (rt_stop_times3.route_id == \"234-13172\")\n", + " & (rt_stop_times3.direction_id == 1)\n", + " & (rt_stop_times3.stop_id == \"15383\")\n", + "]" ] }, { @@ -2993,11 +3013,13 @@ } ], "source": [ - "rt_stop_times4.loc[(rt_stop_times4.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (rt_stop_times4.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\") & \n", - " (rt_stop_times4.route_id== \"234-13172\") &\n", - " (rt_stop_times4.direction_id == 1) &\n", - " (rt_stop_times4.stop_id == \"15383\")]" + "rt_stop_times4.loc[\n", + " (rt_stop_times4.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (rt_stop_times4.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\")\n", + " & (rt_stop_times4.route_id == \"234-13172\")\n", + " & (rt_stop_times4.direction_id == 1)\n", + " & (rt_stop_times4.stop_id == \"15383\")\n", + "]" ] }, { @@ -3123,11 +3145,13 @@ } ], "source": [ - "rt_stop_times5.loc[(rt_stop_times5.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\") &\n", - " (rt_stop_times5.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\") & \n", - " (rt_stop_times5.route_id== \"234-13172\") &\n", - " (rt_stop_times5.direction_id == 1) &\n", - " (rt_stop_times5.stop_id == \"15383\")]" + "rt_stop_times5.loc[\n", + " (rt_stop_times5.schedule_gtfs_dataset_key == \"0666caf3ec1ecc96b74f4477ee4bc939\")\n", + " & (rt_stop_times5.shape_array_key == \"6f33c9cd019664d5085f94294aeacfd3\")\n", + " & (rt_stop_times5.route_id == \"234-13172\")\n", + " & (rt_stop_times5.direction_id == 1)\n", + " & (rt_stop_times5.stop_id == \"15383\")\n", + "]" ] }, { @@ -3206,9 +3230,7 @@ "metadata": {}, "outputs": [], "source": [ - "m2[\"avg_schd_headway_min\"] = (\n", - " m2.avg_schd_headway_sec / 60\n", - ")" + "m2[\"avg_schd_headway_min\"] = m2.avg_schd_headway_sec / 60" ] }, { @@ -3246,7 +3268,11 @@ "metadata": {}, "outputs": [], "source": [ - "bunching_by_stops = m2.drop_duplicates(subset=groupby_cols).reset_index(drop=True).drop(columns = [\"actual_headway\", \"actual_headway_min\", \"sched_headway_min\"])" + "bunching_by_stops = (\n", + " m2.drop_duplicates(subset=groupby_cols)\n", + " .reset_index(drop=True)\n", + " .drop(columns=[\"actual_headway\", \"actual_headway_min\", \"sched_headway_min\"])\n", + ")" ] }, { @@ -3372,7 +3398,7 @@ }, { "cell_type": "code", - "execution_count": 109, + "execution_count": 83, "id": "b9ece34e-5ad6-4137-93d4-68db20b9762b", "metadata": {}, "outputs": [ @@ -3388,13 +3414,13 @@ "Name: passenger_op_perspective, dtype: float64" ] }, - "execution_count": 109, + "execution_count": 83, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "bunching_by_stops.passenger_op_perspective.value_counts()/len(bunching_by_stops)" + "bunching_by_stops.passenger_op_perspective.value_counts() / len(bunching_by_stops)" ] }, { @@ -3497,7 +3523,9 @@ } ], "source": [ - "high_frequency_routes2.loc[high_frequency_routes2.route_id == 'West Field Garage'].head()" + "high_frequency_routes2.loc[\n", + " high_frequency_routes2.route_id == \"West Field Garage\"\n", + "].head()" ] }, { @@ -3631,7 +3659,7 @@ } ], "source": [ - "rt_stop_times2.loc[rt_stop_times2.route_id == 'eastvalley'].head(1)" + "rt_stop_times2.loc[rt_stop_times2.route_id == \"eastvalley\"].head(1)" ] }, { @@ -3709,7 +3737,7 @@ } ], "source": [ - "trips_freq_routes.loc[trips_freq_routes.route_id == 'eastvalley'].head(1)" + "trips_freq_routes.loc[trips_freq_routes.route_id == \"eastvalley\"].head(1)" ] }, { @@ -3772,7 +3800,9 @@ } ], "source": [ - "rt_stop_times2.loc[(rt_stop_times2.trip_instance_key == \"77a45a5bbd6e7b87ef670d90e16fdbc3\")]" + "rt_stop_times2.loc[\n", + " (rt_stop_times2.trip_instance_key == \"77a45a5bbd6e7b87ef670d90e16fdbc3\")\n", + "]" ] }, { @@ -3828,7 +3858,9 @@ } ], "source": [ - "rt_stop_times.loc[(rt_stop_times.trip_instance_key == \"77a45a5bbd6e7b87ef670d90e16fdbc3\")]" + "rt_stop_times.loc[\n", + " (rt_stop_times.trip_instance_key == \"77a45a5bbd6e7b87ef670d90e16fdbc3\")\n", + "]" ] }, { @@ -3879,10 +3911,10 @@ " \n", " \n", " \n", - " 2380\n", + " 2390\n", " 8a1405af8da1379acc062e346187ac98\n", " Beige-S\n", - " 92a2015d35b766955a64094643f88435\n", + " fcfb52a1d6d40797a52539554c71f63e\n", " 93312729ad2928439c75cbbd97191b66\n", " 3e22f1090d0d12096ee943c621298225\n", " Coliseum to Oakland Airport\n", @@ -3891,10 +3923,10 @@ " 7.90\n", " \n", " \n", - " 2274\n", + " 2322\n", " 8a1405af8da1379acc062e346187ac98\n", " Beige-S\n", - " e2ec930bd93a37260f6807108530a407\n", + " 2fb4b4d008ce4dff34b4d553119d1847\n", " 93312729ad2928439c75cbbd97191b66\n", " 3e22f1090d0d12096ee943c621298225\n", " Coliseum to Oakland Airport\n", @@ -3908,20 +3940,20 @@ ], "text/plain": [ " schedule_gtfs_dataset_key route_id \\\n", - "2380 8a1405af8da1379acc062e346187ac98 Beige-S \n", - "2274 8a1405af8da1379acc062e346187ac98 Beige-S \n", + "2390 8a1405af8da1379acc062e346187ac98 Beige-S \n", + "2322 8a1405af8da1379acc062e346187ac98 Beige-S \n", "\n", " trip_instance_key shape_array_key \\\n", - "2380 92a2015d35b766955a64094643f88435 93312729ad2928439c75cbbd97191b66 \n", - "2274 e2ec930bd93a37260f6807108530a407 93312729ad2928439c75cbbd97191b66 \n", + "2390 fcfb52a1d6d40797a52539554c71f63e 93312729ad2928439c75cbbd97191b66 \n", + "2322 2fb4b4d008ce4dff34b4d553119d1847 93312729ad2928439c75cbbd97191b66 \n", "\n", " feed_key route_long_name \\\n", - "2380 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", - "2274 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", + "2390 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", + "2322 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", "\n", " direction_id route_primary_direction frequency_in_minutes \n", - "2380 1.00 Southbound 7.90 \n", - "2274 1.00 Southbound 7.90 " + "2390 1.00 Southbound 7.90 \n", + "2322 1.00 Southbound 7.90 " ] }, "execution_count": 91, @@ -3930,7 +3962,7 @@ } ], "source": [ - "trips_freq_routes.loc[trips_freq_routes.route_id =='Beige-S'].sample(2)" + "trips_freq_routes.loc[trips_freq_routes.route_id == \"Beige-S\"].sample(2)" ] }, { @@ -3993,7 +4025,9 @@ } ], "source": [ - "rt_stop_times2.loc[(rt_stop_times2.trip_instance_key == \"96e2844c6ce2bcc5ede547c32c220efb\")]" + "rt_stop_times2.loc[\n", + " (rt_stop_times2.trip_instance_key == \"96e2844c6ce2bcc5ede547c32c220efb\")\n", + "]" ] }, { @@ -4056,7 +4090,9 @@ } ], "source": [ - "rt_stop_times2.loc[(rt_stop_times2.trip_instance_key == \"4f9e575f015b6bf05e69af9da50d9579\")]" + "rt_stop_times2.loc[\n", + " (rt_stop_times2.trip_instance_key == \"4f9e575f015b6bf05e69af9da50d9579\")\n", + "]" ] }, { @@ -4074,7 +4110,13 @@ "metadata": {}, "outputs": [], "source": [ - "more_values = [\"scheduled_arrival_sec\",\"std_dev_headway\",\"avg_schd_headway_sec\",\"schd_headway\",\"rt_arrival_sec\"]" + "more_values = [\n", + " \"scheduled_arrival_sec\",\n", + " \"std_dev_headway\",\n", + " \"avg_schd_headway_sec\",\n", + " \"schd_headway\",\n", + " \"rt_arrival_sec\",\n", + "]" ] }, { @@ -4153,14 +4195,24 @@ " \n", " \n", " \n", + " trip_id\n", " stop_id\n", " stop_sequence\n", + " scheduled_arrival_sec\n", + " schedule_gtfs_dataset_key\n", + " trip_instance_key\n", + " rt_arrival_sec\n", " route_id\n", + " shape_array_key\n", + " feed_key\n", " route_long_name\n", " direction_id\n", " route_primary_direction\n", " frequency_in_minutes\n", " delay\n", + " schd_headway\n", + " avg_schd_headway_sec\n", + " std_dev_headway\n", " bunching_coefficient\n", " avg_schd_headway_min\n", " passenger_op_perspective\n", @@ -4169,2726 +4221,3510 @@ " \n", " \n", " 13438\n", + " 11489815_M31\n", " 14630\n", " 2\n", + " 68903.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 186fd89b59a49ddc1e84cb4b89c066d8\n", + " 69064\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 161.00\n", + " 2280.00\n", + " 1750.80\n", + " 859.58\n", " 0.49\n", " 29.18\n", " Irregular headways, with some bunching\n", " \n", " \n", " 13439\n", + " 11489815_M31\n", " 14609\n", " 7\n", + " 69120.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 186fd89b59a49ddc1e84cb4b89c066d8\n", + " 69067\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -53.00\n", + " 360.00\n", + " 1356.00\n", + " 987.75\n", " 0.73\n", " 22.60\n", " Frequent bunching\n", " \n", " \n", " 13440\n", + " 11489815_M31\n", " 14627\n", " 8\n", + " 69175.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 186fd89b59a49ddc1e84cb4b89c066d8\n", + " 69077\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -98.00\n", + " 360.00\n", + " 1356.00\n", + " 1338.73\n", " 0.99\n", " 22.60\n", " Most vehicles bunched\n", " \n", " \n", " 13441\n", + " 11489975_M31\n", " 16754\n", " 9\n", + " 68926.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69041\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 115.00\n", + " 1920.00\n", + " 1450.00\n", + " 1193.62\n", " 0.82\n", " 24.17\n", " Most vehicles bunched\n", " \n", " \n", " 13442\n", + " 11489975_M31\n", " 16491\n", " 10\n", + " 69000.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69043\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 43.00\n", + " 1920.00\n", + " 1450.00\n", + " 1055.87\n", " 0.73\n", " 24.17\n", " Frequent bunching\n", " \n", " \n", " 13443\n", + " 11489975_M31\n", " 16488\n", " 11\n", + " 69023.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69044\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 21.00\n", + " 1917.00\n", + " 1449.00\n", + " 984.31\n", " 0.68\n", " 24.15\n", " Frequent bunching\n", " \n", " \n", " 13444\n", + " 11489975_M31\n", " 16493\n", " 12\n", + " 69066.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69046\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -20.00\n", + " 1912.00\n", + " 1447.33\n", + " 969.72\n", " 0.67\n", " 24.12\n", " Frequent bunching\n", " \n", " \n", " 13445\n", + " 11489975_M31\n", " 13086\n", " 13\n", + " 69106.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69048\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -58.00\n", + " 1907.00\n", + " 1445.50\n", + " 960.66\n", " 0.66\n", " 24.09\n", " Frequent bunching\n", " \n", " \n", " 13446\n", + " 11489975_M31\n", " 14605\n", " 14\n", + " 69164.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69051\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -113.00\n", + " 1900.00\n", + " 1443.17\n", + " 1062.23\n", " 0.74\n", " 24.05\n", " Frequent bunching\n", " \n", " \n", " 13447\n", + " 11489975_M31\n", " 14624\n", " 15\n", + " 69217.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69133\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -84.00\n", + " 1893.00\n", + " 1441.00\n", + " 967.76\n", " 0.67\n", " 24.02\n", " Frequent bunching\n", " \n", " \n", " 13448\n", + " 11489975_M31\n", " 14637\n", " 16\n", + " 69308.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69276\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -32.00\n", + " 1881.00\n", + " 1437.17\n", + " 1001.17\n", " 0.70\n", " 23.95\n", " Frequent bunching\n", " \n", " \n", " 13449\n", + " 11489975_M31\n", " 14636\n", " 17\n", + " 69391.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69283\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -108.00\n", + " 1871.00\n", + " 1433.67\n", + " 886.53\n", " 0.62\n", " 23.89\n", " Frequent bunching\n", " \n", " \n", " 13450\n", + " 11489975_M31\n", " 14641\n", " 18\n", + " 69480.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69333\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -147.00\n", + " 1860.00\n", + " 1430.00\n", + " 803.93\n", " 0.56\n", " 23.83\n", " Frequent bunching\n", " \n", " \n", " 13451\n", + " 11489975_M31\n", " 14615\n", " 19\n", + " 69587.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69752\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 165.00\n", + " 1860.00\n", + " 1427.50\n", + " 941.18\n", " 0.66\n", " 23.79\n", " Frequent bunching\n", " \n", " \n", " 13452\n", + " 11489975_M31\n", " 14634\n", " 20\n", + " 69644.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69753\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 109.00\n", + " 1860.00\n", + " 1426.00\n", + " 932.35\n", " 0.65\n", " 23.77\n", " Frequent bunching\n", " \n", " \n", " 13453\n", + " 11489975_M31\n", " 14612\n", " 21\n", + " 69732.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69756\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 24.00\n", + " 1860.00\n", + " 1424.00\n", + " 930.60\n", " 0.65\n", " 23.73\n", " Frequent bunching\n", " \n", " \n", " 13454\n", + " 11489975_M31\n", " 14642\n", " 22\n", + " 69809.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69758\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -51.00\n", + " 1860.00\n", + " 1422.17\n", + " 917.04\n", " 0.64\n", " 23.70\n", " Frequent bunching\n", " \n", " \n", " 13455\n", + " 11489975_M31\n", " 14629\n", " 23\n", + " 69900.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69761\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -139.00\n", + " 1860.00\n", + " 1420.00\n", + " 890.35\n", " 0.63\n", " 23.67\n", " Frequent bunching\n", " \n", " \n", " 13456\n", + " 11489975_M31\n", " 14617\n", " 24\n", + " 69978.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69764\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -214.00\n", + " 1860.00\n", + " 1417.33\n", + " 842.14\n", " 0.59\n", " 23.62\n", " Frequent bunching\n", " \n", " \n", " 13457\n", + " 11489975_M31\n", " 14622\n", " 25\n", + " 70044.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69783\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -261.00\n", + " 1860.00\n", + " 1415.17\n", + " 853.78\n", " 0.60\n", " 23.59\n", " Frequent bunching\n", " \n", " \n", " 13458\n", + " 11489975_M31\n", " 14632\n", " 26\n", + " 70140.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 70021\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -119.00\n", + " 1860.00\n", + " 1412.00\n", + " 877.26\n", " 0.62\n", " 23.53\n", " Frequent bunching\n", " \n", " \n", " 13459\n", + " 11489975_M31\n", " 14618\n", " 27\n", + " 70200.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 70028\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -172.00\n", + " 1860.00\n", + " 1410.00\n", + " 847.24\n", " 0.60\n", " 23.50\n", " Frequent bunching\n", " \n", " \n", " 13460\n", + " 11489975_M31\n", " 15018\n", " 28\n", + " 70293.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 70175\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -118.00\n", + " 1860.00\n", + " 1410.00\n", + " 894.36\n", " 0.63\n", " 23.50\n", " Frequent bunching\n", " \n", " \n", " 13461\n", + " 11489975_M31\n", " 14005\n", " 29\n", + " 70344.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 70187\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -157.00\n", + " 1860.00\n", + " 1410.00\n", + " 889.16\n", " 0.63\n", " 23.50\n", " Frequent bunching\n", " \n", " \n", " 13462\n", + " 11489975_M31\n", " 18059\n", " 30\n", + " 70440.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 70211\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -229.00\n", + " 1860.00\n", + " 1410.00\n", + " 816.53\n", " 0.58\n", " 23.50\n", " Frequent bunching\n", " \n", " \n", " 13463\n", + " 11489975_M31\n", " 13984\n", " 31\n", + " 70566.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 70363\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -203.00\n", + " 1860.00\n", + " 1747.25\n", + " 2038.94\n", " 1.17\n", " 29.12\n", " Most vehicles bunched\n", " \n", " \n", " 13464\n", + " 11489975_M31\n", " 13285\n", " 32\n", + " 70661.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 70380\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -281.00\n", + " 1860.00\n", + " 1741.25\n", + " 2009.71\n", " 1.15\n", " 29.02\n", " Most vehicles bunched\n", " \n", " \n", " 13465\n", + " 11489975_M31\n", " 13301\n", " 33\n", + " 70820.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 70666\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -154.00\n", + " 1860.00\n", + " 1731.25\n", + " 2018.87\n", " 1.17\n", " 28.85\n", " Most vehicles bunched\n", " \n", " \n", " 13466\n", + " 11489815_M31\n", " 13293\n", " 34\n", + " 71280.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 186fd89b59a49ddc1e84cb4b89c066d8\n", + " 70831\n", " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -449.00\n", + " 2220.00\n", + " 2300.00\n", + " 1964.53\n", " 0.85\n", " 38.33\n", " Most vehicles bunched\n", " \n", " \n", " 13467\n", + " 11489877_M31\n", " 14630\n", " 2\n", + " 22577.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d1d3596406ffd26b7b4d935686b0e457\n", + " 22761\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 184.00\n", + " 2460.00\n", + " 667.41\n", + " 607.17\n", " 0.91\n", " 11.12\n", " Most vehicles bunched\n", " \n", " \n", " 13468\n", + " 11489884_M31\n", " 14607\n", " 3\n", + " 27884.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 24c071114425eaa11a3e2c6233439773\n", + " 27885\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 1.00\n", + " 1080.00\n", + " 2847.00\n", + " 3207.45\n", " 1.13\n", " 47.45\n", " Most vehicles bunched\n", " \n", " \n", " 13469\n", + " 11489884_M31\n", " 14625\n", " 4\n", + " 27912.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 24c071114425eaa11a3e2c6233439773\n", + " 27837\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " -75.00\n", + " 1080.00\n", + " 3163.33\n", + " 3716.39\n", " 1.17\n", " 52.72\n", " Most vehicles bunched\n", " \n", " \n", " 13470\n", + " 11489897_M31\n", " 14606\n", " 5\n", + " 32300.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d34e8a8b26b0d004cf1838558d2d1295\n", + " 32493\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 193.00\n", + " 3240.00\n", + " 4080.00\n", + " 2585.23\n", " 0.63\n", " 68.00\n", " Frequent bunching\n", " \n", " \n", " 13471\n", + " 11489897_M31\n", " 14610\n", " 6\n", + " 32339.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d34e8a8b26b0d004cf1838558d2d1295\n", + " 32639\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 300.00\n", + " 3240.00\n", + " 2448.00\n", + " 2267.96\n", " 0.93\n", " 40.80\n", " Most vehicles bunched\n", " \n", " \n", " 13472\n", + " 11489876_M31\n", " 14609\n", " 7\n", + " 22020.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 22812\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 792.00\n", + " 840.00\n", + " 670.11\n", + " 697.52\n", " 1.04\n", " 11.17\n", " Most vehicles bunched\n", " \n", " \n", " 13473\n", + " 11489876_M31\n", " 14627\n", " 8\n", + " 22047.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 22813\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 766.00\n", + " 1740.00\n", + " 541.11\n", + " 585.82\n", " 1.08\n", " 9.02\n", " Most vehicles bunched\n", " \n", " \n", " 13474\n", + " 11489875_M31\n", " 16754\n", " 9\n", + " 21263.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 3cda70b9af1e8e0dcc9d9df5d738016e\n", + " 21475\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 212.00\n", + " 900.00\n", + " 488.81\n", + " 490.90\n", " 1.00\n", " 8.15\n", " Most vehicles bunched\n", " \n", " \n", " 13475\n", + " 11489875_M31\n", " 16491\n", " 10\n", + " 21300.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 3cda70b9af1e8e0dcc9d9df5d738016e\n", + " 21477\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 177.00\n", + " 900.00\n", + " 537.05\n", + " 473.99\n", " 0.88\n", " 8.95\n", " Most vehicles bunched\n", " \n", " \n", " 13476\n", + " 11489875_M31\n", " 16488\n", " 11\n", + " 21317.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 3cda70b9af1e8e0dcc9d9df5d738016e\n", + " 21478\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 161.00\n", + " 900.00\n", + " 488.96\n", + " 447.40\n", " 0.92\n", " 8.15\n", " Most vehicles bunched\n", " \n", " \n", " 13477\n", + " 11489875_M31\n", " 16493\n", " 12\n", + " 21349.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 3cda70b9af1e8e0dcc9d9df5d738016e\n", + " 21480\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 131.00\n", + " 900.00\n", + " 474.78\n", + " 510.22\n", " 1.07\n", " 7.91\n", " Most vehicles bunched\n", " \n", " \n", " 13478\n", + " 11489875_M31\n", " 13086\n", " 13\n", + " 21379.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 3cda70b9af1e8e0dcc9d9df5d738016e\n", + " 21482\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 103.00\n", + " 900.00\n", + " 478.25\n", + " 465.59\n", " 0.97\n", " 7.97\n", " Most vehicles bunched\n", " \n", " \n", " 13479\n", + " 11489875_M31\n", " 14605\n", " 14\n", + " 21423.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 3cda70b9af1e8e0dcc9d9df5d738016e\n", + " 21485\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 62.00\n", + " 900.00\n", + " 481.76\n", + " 506.55\n", " 1.05\n", " 8.03\n", " Most vehicles bunched\n", " \n", " \n", " 13480\n", + " 11489875_M31\n", " 14624\n", " 15\n", + " 21462.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 3cda70b9af1e8e0dcc9d9df5d738016e\n", + " 21490\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 28.00\n", + " 900.00\n", + " 478.25\n", + " 460.54\n", " 0.96\n", " 7.97\n", " Most vehicles bunched\n", " \n", " \n", " 13481\n", + " 11489876_M31\n", " 14637\n", " 16\n", + " 22371.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 22820\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 449.00\n", + " 840.00\n", + " 471.68\n", + " 456.52\n", " 0.97\n", " 7.86\n", " Most vehicles bunched\n", " \n", " \n", " 13482\n", + " 11489876_M31\n", " 14636\n", " 17\n", + " 22433.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 22821\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 388.00\n", + " 840.00\n", + " 475.15\n", + " 440.51\n", " 0.93\n", " 7.92\n", " Most vehicles bunched\n", " \n", " \n", " 13483\n", + " 11489876_M31\n", " 14641\n", " 18\n", + " 22500.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 22822\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 322.00\n", + " 840.00\n", + " 493.28\n", + " 433.74\n", " 0.88\n", " 8.22\n", " Most vehicles bunched\n", " \n", " \n", " 13484\n", + " 11489877_M31\n", " 14615\n", " 19\n", + " 23296.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d1d3596406ffd26b7b4d935686b0e457\n", + " 23564\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 268.00\n", + " 1575.00\n", + " 505.09\n", + " 429.18\n", " 0.85\n", " 8.42\n", " Most vehicles bunched\n", " \n", " \n", " 13485\n", + " 11489876_M31\n", " 14634\n", " 20\n", + " 22593.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 22823\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 230.00\n", + " 840.00\n", + " 514.25\n", + " 454.35\n", " 0.88\n", " 8.57\n", " Most vehicles bunched\n", " \n", " \n", " 13486\n", + " 11489876_M31\n", " 14612\n", " 21\n", + " 22644.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 22824\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 180.00\n", + " 840.00\n", + " 502.30\n", + " 418.43\n", " 0.83\n", " 8.37\n", " Most vehicles bunched\n", " \n", " \n", " 13487\n", + " 11489876_M31\n", " 14642\n", " 22\n", + " 22688.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 22825\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 137.00\n", + " 840.00\n", + " 487.13\n", + " 428.07\n", " 0.88\n", " 8.12\n", " Most vehicles bunched\n", " \n", " \n", " 13488\n", + " 11489876_M31\n", " 14629\n", " 23\n", + " 22740.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 22916\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 176.00\n", + " 840.00\n", + " 487.33\n", + " 398.89\n", " 0.82\n", " 8.12\n", " Most vehicles bunched\n", " \n", " \n", " 13489\n", + " 11489876_M31\n", " 14617\n", " 24\n", + " 22786.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 22989\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 203.00\n", + " 840.00\n", + " 483.76\n", + " 428.27\n", " 0.89\n", " 8.06\n", " Most vehicles bunched\n", " \n", " \n", " 13490\n", + " 11489876_M31\n", " 14622\n", " 25\n", + " 22826.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23051\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 225.00\n", + " 840.00\n", + " 483.86\n", + " 415.21\n", " 0.86\n", " 8.06\n", " Most vehicles bunched\n", " \n", " \n", " 13491\n", + " 11489876_M31\n", " 14632\n", " 26\n", + " 22884.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23061\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 177.00\n", + " 840.00\n", + " 495.26\n", + " 441.33\n", " 0.89\n", " 8.25\n", " Most vehicles bunched\n", " \n", " \n", " 13492\n", + " 11489876_M31\n", " 14618\n", " 27\n", + " 22920.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23069\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 149.00\n", + " 840.00\n", + " 491.54\n", + " 461.85\n", " 0.94\n", " 8.19\n", " Most vehicles bunched\n", " \n", " \n", " 13493\n", + " 11489876_M31\n", " 15018\n", " 28\n", + " 22990.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23354\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 364.00\n", + " 840.00\n", + " 476.69\n", + " 477.07\n", " 1.00\n", " 7.94\n", " Most vehicles bunched\n", " \n", " \n", " 13494\n", + " 11489876_M31\n", " 14005\n", " 29\n", + " 23028.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23361\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 333.00\n", + " 840.00\n", + " 480.18\n", + " 465.28\n", " 0.97\n", " 8.00\n", " Most vehicles bunched\n", " \n", " \n", " 13495\n", + " 11489876_M31\n", " 18059\n", " 30\n", + " 23100.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23375\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 275.00\n", + " 840.00\n", + " 483.64\n", + " 480.04\n", " 0.99\n", " 8.06\n", " Most vehicles bunched\n", " \n", " \n", " 13496\n", + " 11489876_M31\n", " 13984\n", " 31\n", + " 23179.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23391\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 212.00\n", + " 840.00\n", + " 510.72\n", + " 504.53\n", " 0.99\n", " 8.51\n", " Most vehicles bunched\n", " \n", " \n", " 13497\n", + " 11489876_M31\n", " 13285\n", " 32\n", + " 23238.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23406\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 168.00\n", + " 840.00\n", + " 514.84\n", + " 463.11\n", " 0.90\n", " 8.58\n", " Most vehicles bunched\n", " \n", " \n", " 13498\n", + " 11489876_M31\n", " 13301\n", " 33\n", + " 23337.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23636\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 299.00\n", + " 840.00\n", + " 502.68\n", + " 451.79\n", " 0.90\n", " 8.38\n", " Most vehicles bunched\n", " \n", " \n", " 13499\n", + " 11489876_M31\n", " 13293\n", " 34\n", + " 23400.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23649\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 249.00\n", + " 840.00\n", + " 503.52\n", + " 471.39\n", " 0.94\n", " 8.39\n", " Most vehicles bunched\n", " \n", " \n", " 13500\n", + " 11489876_M31\n", " 13299\n", " 35\n", + " 23474.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23938\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 464.00\n", + " 840.00\n", + " 528.91\n", + " 491.23\n", " 0.93\n", " 8.82\n", " Most vehicles bunched\n", " \n", " \n", " 13501\n", + " 11489876_M31\n", " 13282\n", " 36\n", + " 23580.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d69b2d5fc7574b90199314cddf8e673b\n", + " 23945\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 365.00\n", + " 840.00\n", + " 547.30\n", + " 522.61\n", " 0.95\n", " 9.12\n", " Most vehicles bunched\n", " \n", " \n", " 13502\n", + " 11489878_M31\n", " 13296\n", " 37\n", + " 25200.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 4d0664d8becb5754441c8f6866d162af\n", + " 25560\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 360.00\n", + " 720.00\n", + " 638.12\n", + " 670.02\n", " 1.05\n", " 10.64\n", " Most vehicles bunched\n", " \n", " \n", " 13503\n", + " 11489878_M31\n", " 17761\n", " 38\n", + " 25320.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 4d0664d8becb5754441c8f6866d162af\n", + " 25639\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 319.00\n", + " 720.00\n", + " 685.95\n", + " 609.84\n", " 0.89\n", " 11.43\n", " Most vehicles bunched\n", " \n", " \n", " 13504\n", + " 11489881_M31\n", " 17762\n", " 39\n", + " 27554.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 1f4162ccf2a270a5fd579a6e40abc4f2\n", + " 28091\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 537.00\n", + " 2880.00\n", + " 784.65\n", + " 726.81\n", " 0.93\n", " 13.08\n", " Most vehicles bunched\n", " \n", " \n", " 13505\n", + " 11489881_M31\n", " 17763\n", " 40\n", + " 27627.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 1f4162ccf2a270a5fd579a6e40abc4f2\n", + " 28095\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 468.00\n", + " 2880.00\n", + " 949.60\n", + " 901.10\n", " 0.95\n", " 15.83\n", " Most vehicles bunched\n", " \n", " \n", " 13506\n", + " 11489881_M31\n", " 17866\n", " 41\n", + " 27741.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 1f4162ccf2a270a5fd579a6e40abc4f2\n", + " 28102\n", " 22\n", + " 2fe09ae2c449928945abe662a855ffb2\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 361.00\n", + " 2880.00\n", + " 1288.17\n", + " 1136.06\n", " 0.88\n", " 21.47\n", " Most vehicles bunched\n", " \n", " \n", " 13507\n", + " 11489845_M31\n", " 17761\n", " 2\n", + " 18610.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " dd2db06e83875c5e9eb93212fc4761be\n", + " 18685\n", " 22\n", + " 62b7db9e9a7562bbfe649736b913f9c8\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 75.00\n", + " 1200.00\n", + " 1998.00\n", + " 1930.33\n", " 0.97\n", " 33.30\n", " Most vehicles bunched\n", " \n", " \n", " 13508\n", + " 11489845_M31\n", " 17762\n", " 3\n", + " 18655.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " dd2db06e83875c5e9eb93212fc4761be\n", + " 18721\n", " 22\n", + " 62b7db9e9a7562bbfe649736b913f9c8\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 66.00\n", + " 1200.00\n", + " 2285.57\n", + " 2086.17\n", " 0.91\n", " 38.09\n", " Most vehicles bunched\n", " \n", " \n", " 13509\n", + " 11489845_M31\n", " 17763\n", " 4\n", + " 18699.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " dd2db06e83875c5e9eb93212fc4761be\n", + " 18741\n", " 22\n", + " 62b7db9e9a7562bbfe649736b913f9c8\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 42.00\n", + " 1200.00\n", + " 2001.62\n", + " 1915.69\n", " 0.96\n", " 33.36\n", " Most vehicles bunched\n", " \n", " \n", " 13510\n", + " 11489846_M31\n", " 17866\n", " 5\n", + " 19967.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 90f2da63ad252223ee16676fe9c7b766\n", + " 20202\n", " 22\n", + " 62b7db9e9a7562bbfe649736b913f9c8\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 235.00\n", + " 1200.00\n", + " 2119.43\n", + " 2074.16\n", " 0.98\n", " 35.32\n", " Most vehicles bunched\n", " \n", " \n", " 13511\n", + " 11489846_M31\n", " 17764\n", " 6\n", + " 19994.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 90f2da63ad252223ee16676fe9c7b766\n", + " 20203\n", " 22\n", + " 62b7db9e9a7562bbfe649736b913f9c8\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 209.00\n", + " 1200.00\n", + " 2120.71\n", + " 2127.13\n", " 1.00\n", " 35.35\n", " Most vehicles bunched\n", " \n", " \n", " 13512\n", + " 11489846_M31\n", " 17321\n", " 7\n", + " 20060.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 90f2da63ad252223ee16676fe9c7b766\n", + " 20207\n", " 22\n", + " 62b7db9e9a7562bbfe649736b913f9c8\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 0.00\n", " Southbound\n", " 7.61\n", " 147.00\n", + " 1200.00\n", + " 2203.50\n", + " 2721.05\n", " 1.23\n", " 36.73\n", " Most vehicles bunched\n", " \n", " \n", " 13513\n", + " 11490050_M31\n", " 17766\n", " 2\n", + " 19297.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19333\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 36.00\n", + " 1200.00\n", + " 494.23\n", + " 774.16\n", " 1.57\n", " 8.24\n", " Most vehicles bunched\n", " \n", " \n", " 13514\n", + " 11490050_M31\n", " 17324\n", " 3\n", + " 19376.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19340\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -36.00\n", + " 1200.00\n", + " 522.41\n", + " 662.84\n", " 1.27\n", " 8.71\n", " Most vehicles bunched\n", " \n", " \n", " 13515\n", + " 11490050_M31\n", " 17767\n", " 4\n", + " 19457.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19358\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -99.00\n", + " 1200.00\n", + " 548.52\n", + " 673.53\n", " 1.23\n", " 9.14\n", " Most vehicles bunched\n", " \n", " \n", " 13516\n", + " 11490050_M31\n", " 17865\n", " 5\n", + " 19494.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19869\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 375.00\n", + " 1200.00\n", + " 490.09\n", + " 579.19\n", " 1.18\n", " 8.17\n", " Most vehicles bunched\n", " \n", " \n", " 13517\n", + " 11490050_M31\n", " 17768\n", " 6\n", + " 19577.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19874\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 297.00\n", + " 1200.00\n", + " 493.54\n", + " 458.91\n", " 0.93\n", " 8.23\n", " Most vehicles bunched\n", " \n", " \n", " 13518\n", + " 11490050_M31\n", " 17769\n", " 7\n", + " 19633.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19877\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 244.00\n", + " 1200.00\n", + " 465.61\n", + " 497.40\n", " 1.07\n", " 7.76\n", " Most vehicles bunched\n", " \n", " \n", " 13519\n", + " 11490050_M31\n", " 17770\n", " 8\n", + " 19692.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19880\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 188.00\n", + " 1200.00\n", + " 472.11\n", + " 474.28\n", " 1.00\n", " 7.87\n", " Most vehicles bunched\n", " \n", " \n", " 13520\n", + " 11490050_M31\n", " 13295\n", " 9\n", + " 19800.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19885\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 85.00\n", + " 1200.00\n", + " 485.74\n", + " 501.37\n", " 1.03\n", " 8.10\n", " Most vehicles bunched\n", " \n", " \n", " 13521\n", + " 11490050_M31\n", " 13281\n", " 10\n", + " 19860.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19888\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 28.00\n", + " 1200.00\n", + " 475.25\n", + " 562.81\n", " 1.18\n", " 7.92\n", " Most vehicles bunched\n", " \n", " \n", " 13522\n", + " 11490050_M31\n", " 17289\n", " 11\n", + " 19961.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19894\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -67.00\n", + " 1200.00\n", + " 500.45\n", + " 595.67\n", " 1.19\n", " 8.34\n", " Most vehicles bunched\n", " \n", " \n", " 13523\n", + " 11490050_M31\n", " 13291\n", " 12\n", + " 20040.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 19898\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -142.00\n", + " 1200.00\n", + " 500.45\n", + " 571.38\n", " 1.14\n", " 8.34\n", " Most vehicles bunched\n", " \n", " \n", " 13524\n", + " 11490050_M31\n", " 13300\n", " 13\n", + " 20090.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 20146\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 56.00\n", + " 1200.00\n", + " 500.38\n", + " 529.74\n", " 1.06\n", " 8.34\n", " Most vehicles bunched\n", " \n", " \n", " 13525\n", + " 11490050_M31\n", " 13284\n", " 14\n", + " 20202.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 20157\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -45.00\n", + " 1200.00\n", + " 504.02\n", + " 559.89\n", " 1.11\n", " 8.40\n", " Most vehicles bunched\n", " \n", " \n", " 13526\n", + " 11490050_M31\n", " 13283\n", " 15\n", + " 20249.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 20162\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -87.00\n", + " 1200.00\n", + " 511.77\n", + " 589.86\n", " 1.15\n", " 8.53\n", " Most vehicles bunched\n", " \n", " \n", " 13527\n", + " 11490050_M31\n", " 17073\n", " 16\n", + " 20340.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 20171\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -169.00\n", + " 1200.00\n", + " 515.62\n", + " 569.04\n", " 1.10\n", " 8.59\n", " Most vehicles bunched\n", " \n", " \n", " 13528\n", + " 11490050_M31\n", " 17074\n", " 17\n", + " 20377.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 20273\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -104.00\n", + " 1200.00\n", + " 507.69\n", + " 578.80\n", " 1.14\n", " 8.46\n", " Most vehicles bunched\n", " \n", " \n", " 13529\n", + " 11490050_M31\n", " 15017\n", " 18\n", + " 20410.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 20285\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -125.00\n", + " 1200.00\n", + " 511.63\n", + " 588.33\n", " 1.15\n", " 8.53\n", " Most vehicles bunched\n", " \n", " \n", " 13530\n", + " 11490050_M31\n", " 14620\n", " 19\n", + " 20460.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 20303\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -157.00\n", + " 1200.00\n", + " 500.00\n", + " 637.63\n", " 1.28\n", " 8.33\n", " Most vehicles bunched\n", " \n", " \n", " 13531\n", + " 11490050_M31\n", " 14631\n", " 20\n", + " 20516.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 20783\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 267.00\n", + " 1200.00\n", + " 503.96\n", + " 602.80\n", " 1.20\n", " 8.40\n", " Most vehicles bunched\n", " \n", " \n", " 13532\n", + " 11490050_M31\n", " 14621\n", " 21\n", + " 20562.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 21179\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 617.00\n", + " 1200.00\n", + " 519.96\n", + " 553.41\n", " 1.06\n", " 8.67\n", " Most vehicles bunched\n", " \n", " \n", " 13533\n", + " 11490050_M31\n", " 14616\n", " 22\n", + " 20585.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 21180\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 595.00\n", + " 1200.00\n", + " 524.14\n", + " 565.72\n", " 1.08\n", " 8.74\n", " Most vehicles bunched\n", " \n", " \n", " 13534\n", + " 11490050_M31\n", " 14628\n", " 23\n", + " 20640.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 21181\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 541.00\n", + " 1200.00\n", + " 528.48\n", + " 541.85\n", " 1.03\n", " 8.81\n", " Most vehicles bunched\n", " \n", " \n", " 13535\n", + " 11490050_M31\n", " 14613\n", " 24\n", + " 20684.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 21182\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 498.00\n", + " 1200.00\n", + " 532.83\n", + " 599.57\n", " 1.13\n", " 8.88\n", " Most vehicles bunched\n", " \n", " \n", " 13536\n", + " 11490050_M31\n", " 14611\n", " 25\n", + " 20746.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 21183\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 437.00\n", + " 1200.00\n", + " 528.70\n", + " 542.01\n", " 1.03\n", " 8.81\n", " Most vehicles bunched\n", " \n", " \n", " 13537\n", + " 11490050_M31\n", " 14633\n", " 26\n", + " 20796.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 21184\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 388.00\n", + " 1200.00\n", + " 537.39\n", + " 531.92\n", " 0.99\n", " 8.96\n", " Most vehicles bunched\n", " \n", " \n", " 13538\n", + " 11490110_M31\n", " 14614\n", " 27\n", + " 23007.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 435bb30228592bdf9ea0c1bdd583f198\n", + " 23403\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 396.00\n", + " 3360.00\n", + " 546.38\n", + " 587.42\n", " 1.08\n", " 9.11\n", " Most vehicles bunched\n", " \n", " \n", " 13539\n", + " 11490050_M31\n", " 14640\n", " 28\n", + " 20880.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 21185\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 305.00\n", + " 1200.00\n", + " 533.23\n", + " 498.35\n", " 0.93\n", " 8.89\n", " Most vehicles bunched\n", " \n", " \n", " 13540\n", + " 11490050_M31\n", " 14635\n", " 29\n", + " 20935.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " fd986222506afb5c4eb5af6ce1c7da6d\n", + " 21187\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 252.00\n", + " 1200.00\n", + " 546.37\n", + " 507.60\n", " 0.93\n", " 9.11\n", " Most vehicles bunched\n", " \n", " \n", " 13541\n", + " 11490051_M31\n", " 14638\n", " 30\n", + " 22183.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 55df941578c8f1d7745695cbbe4b2e12\n", + " 22405\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 222.00\n", + " 1200.00\n", + " 573.66\n", + " 526.24\n", " 0.92\n", " 9.56\n", " Most vehicles bunched\n", " \n", " \n", " 13542\n", + " 11490051_M31\n", " 14623\n", " 31\n", + " 22267.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 55df941578c8f1d7745695cbbe4b2e12\n", + " 22523\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 256.00\n", + " 1200.00\n", + " 576.48\n", + " 517.80\n", " 0.90\n", " 9.61\n", " Most vehicles bunched\n", " \n", " \n", " 13543\n", + " 11490051_M31\n", " 14604\n", " 32\n", + " 22306.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 55df941578c8f1d7745695cbbe4b2e12\n", + " 22611\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 305.00\n", + " 1200.00\n", + " 587.00\n", + " 547.59\n", " 0.93\n", " 9.78\n", " Most vehicles bunched\n", " \n", " \n", " 13544\n", + " 11490111_M31\n", " 13085\n", " 33\n", + " 24144.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " e2a8f36aec8f1cabf4ca727bf73a08ab\n", + " 24500\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 356.00\n", + " 1800.00\n", + " 640.57\n", + " 587.36\n", " 0.92\n", " 10.68\n", " Most vehicles bunched\n", " \n", " \n", " 13545\n", + " 11490051_M31\n", " 16492\n", " 34\n", + " 22369.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 55df941578c8f1d7745695cbbe4b2e12\n", + " 22756\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 387.00\n", + " 1200.00\n", + " 603.51\n", + " 556.83\n", " 0.92\n", " 10.06\n", " Most vehicles bunched\n", " \n", " \n", " 13546\n", + " 11490051_M31\n", " 16487\n", " 35\n", + " 22396.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 55df941578c8f1d7745695cbbe4b2e12\n", + " 22758\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 362.00\n", + " 1200.00\n", + " 673.34\n", + " 596.40\n", " 0.89\n", " 11.22\n", " Most vehicles bunched\n", " \n", " \n", " 13547\n", + " 11490051_M31\n", " 16490\n", " 36\n", + " 22440.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 55df941578c8f1d7745695cbbe4b2e12\n", + " 22759\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 319.00\n", + " 1200.00\n", + " 752.47\n", + " 602.34\n", " 0.80\n", " 12.54\n", " Most vehicles bunched\n", " \n", " \n", " 13548\n", + " 11490051_M31\n", " 14643\n", " 37\n", + " 22482.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 55df941578c8f1d7745695cbbe4b2e12\n", + " 22763\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 281.00\n", + " 1200.00\n", + " 1048.52\n", + " 996.68\n", " 0.95\n", " 17.48\n", " Most vehicles bunched\n", " \n", " \n", " 13549\n", + " 11490051_M31\n", " 14626\n", " 38\n", + " 22541.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 55df941578c8f1d7745695cbbe4b2e12\n", + " 22864\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 323.00\n", + " 1200.00\n", + " 1142.14\n", + " 1083.96\n", " 0.95\n", " 19.04\n", " Most vehicles bunched\n", " \n", " \n", " 13550\n", + " 11490113_M31\n", " 14608\n", " 39\n", + " 25996.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 32ce76603438e958f31799f4df8244da\n", + " 26135\n", " 22\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 139.00\n", + " 3420.00\n", + " 3536.00\n", + " 2775.64\n", " 0.78\n", " 58.93\n", " Most vehicles bunched\n", " \n", " \n", " 13551\n", + " 11490036_M31\n", " 17289\n", " 2\n", + " 19297.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 19809\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 512.00\n", + " 1380.00\n", + " 1180.44\n", + " 1271.49\n", " 1.08\n", " 19.67\n", " Most vehicles bunched\n", " \n", " \n", " 13552\n", + " 11490036_M31\n", " 13291\n", " 3\n", + " 19380.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 19814\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 434.00\n", + " 1380.00\n", + " 2310.00\n", + " 1951.50\n", " 0.84\n", " 38.50\n", " Most vehicles bunched\n", " \n", " \n", " 13553\n", + " 11490036_M31\n", " 13300\n", " 4\n", + " 19430.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 19816\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 386.00\n", + " 1390.00\n", + " 1785.00\n", + " 1202.44\n", " 0.67\n", " 29.75\n", " Frequent bunching\n", " \n", " \n", " 13554\n", + " 11490036_M31\n", " 13284\n", " 5\n", + " 19542.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 19822\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 280.00\n", + " 1413.00\n", + " 1197.56\n", + " 1059.36\n", " 0.88\n", " 19.96\n", " Most vehicles bunched\n", " \n", " \n", " 13555\n", + " 11490036_M31\n", " 13283\n", " 6\n", + " 19589.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 19824\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 235.00\n", + " 1422.00\n", + " 1200.56\n", + " 1059.23\n", " 0.88\n", " 20.01\n", " Most vehicles bunched\n", " \n", " \n", " 13556\n", + " 11490036_M31\n", " 17073\n", " 7\n", + " 19680.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 19829\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 149.00\n", + " 1440.00\n", + " 1206.67\n", + " 1062.96\n", " 0.88\n", " 20.11\n", " Most vehicles bunched\n", " \n", " \n", " 13557\n", + " 11490036_M31\n", " 17074\n", " 8\n", + " 19736.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 19832\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 96.00\n", + " 1440.00\n", + " 1208.78\n", + " 1057.16\n", " 0.87\n", " 20.15\n", " Most vehicles bunched\n", " \n", " \n", " 13558\n", + " 11490036_M31\n", " 15017\n", " 9\n", + " 19786.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 19834\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 48.00\n", + " 1440.00\n", + " 1210.56\n", + " 1046.98\n", " 0.86\n", " 20.18\n", " Most vehicles bunched\n", " \n", " \n", " 13559\n", + " 11490036_M31\n", " 14620\n", " 10\n", + " 19860.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 19837\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " -23.00\n", + " 1440.00\n", + " 1213.33\n", + " 1039.30\n", " 0.86\n", " 20.22\n", " Most vehicles bunched\n", " \n", " \n", " 13560\n", + " 11490036_M31\n", " 14631\n", " 11\n", + " 19916.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 20301\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 385.00\n", + " 1440.00\n", + " 1217.56\n", + " 1006.33\n", " 0.83\n", " 20.29\n", " Most vehicles bunched\n", " \n", " \n", " 13561\n", + " 11490036_M31\n", " 14621\n", " 12\n", + " 19962.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 20304\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 342.00\n", + " 1440.00\n", + " 1221.00\n", + " 1000.55\n", " 0.82\n", " 20.35\n", " Most vehicles bunched\n", " \n", " \n", " 13562\n", + " 11490036_M31\n", " 14616\n", " 13\n", + " 19985.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 20305\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 320.00\n", + " 1440.00\n", + " 1222.67\n", + " 977.23\n", " 0.80\n", " 20.38\n", " Most vehicles bunched\n", " \n", " \n", " 13563\n", + " 11490036_M31\n", " 14628\n", " 14\n", + " 20040.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 20306\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 266.00\n", + " 1440.00\n", + " 1226.67\n", + " 971.52\n", " 0.79\n", " 20.44\n", " Most vehicles bunched\n", " \n", " \n", " 13564\n", + " 11490036_M31\n", " 14613\n", " 15\n", + " 20084.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 20308\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 224.00\n", + " 1440.00\n", + " 1229.11\n", + " 962.78\n", " 0.78\n", " 20.49\n", " Most vehicles bunched\n", " \n", " \n", " 13565\n", + " 11490036_M31\n", " 14611\n", " 16\n", + " 20146.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 20310\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 164.00\n", + " 1440.00\n", + " 1386.75\n", + " 1154.44\n", " 0.83\n", " 23.11\n", " Most vehicles bunched\n", " \n", " \n", " 13566\n", + " 11490036_M31\n", " 14633\n", " 17\n", + " 20196.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 20312\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 116.00\n", + " 1440.00\n", + " 1389.75\n", + " 1133.43\n", " 0.82\n", " 23.16\n", " Most vehicles bunched\n", " \n", " \n", " 13567\n", + " 11490036_M31\n", " 14614\n", " 18\n", + " 20247.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 20314\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 67.00\n", + " 1440.00\n", + " 1607.33\n", + " 1269.40\n", " 0.79\n", " 26.79\n", " Most vehicles bunched\n", " \n", " \n", " 13568\n", + " 11490036_M31\n", " 14640\n", " 19\n", + " 20280.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 97bef7e452e70e0b39dd8267d149e38c\n", + " 20315\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 35.00\n", + " 1440.00\n", + " 1610.00\n", + " 1944.43\n", " 1.21\n", " 26.83\n", " Most vehicles bunched\n", " \n", " \n", " 13569\n", + " 11490037_M31\n", " 14635\n", " 20\n", + " 21535.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 75b0173aee7e0dd42b99b29252f3b1ec\n", + " 22266\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 731.00\n", + " 2649.00\n", + " 1597.00\n", + " 1277.63\n", " 0.80\n", " 26.62\n", " Most vehicles bunched\n", " \n", " \n", " 13570\n", + " 11490037_M31\n", " 14638\n", " 21\n", + " 21583.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 75b0173aee7e0dd42b99b29252f3b1ec\n", + " 22522\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 939.00\n", + " 2657.00\n", + " 1599.14\n", + " 1254.37\n", " 0.78\n", " 26.65\n", " Most vehicles bunched\n", " \n", " \n", " 13571\n", + " 11490037_M31\n", " 14623\n", " 22\n", + " 21667.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 75b0173aee7e0dd42b99b29252f3b1ec\n", + " 22524\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 857.00\n", + " 2671.00\n", + " 1603.29\n", + " 1282.64\n", " 0.80\n", " 26.72\n", " Most vehicles bunched\n", " \n", " \n", " 13572\n", + " 11490037_M31\n", " 14604\n", " 23\n", + " 21706.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 75b0173aee7e0dd42b99b29252f3b1ec\n", + " 22525\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 819.00\n", + " 2677.00\n", + " 1605.00\n", + " 1314.58\n", " 0.82\n", " 26.75\n", " Most vehicles bunched\n", " \n", " \n", " 13573\n", + " 11490037_M31\n", " 13085\n", " 24\n", + " 21744.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 75b0173aee7e0dd42b99b29252f3b1ec\n", + " 22526\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 782.00\n", + " 2684.00\n", + " 1606.86\n", + " 1345.90\n", " 0.84\n", " 26.78\n", " Most vehicles bunched\n", " \n", " \n", " 13574\n", + " 11490037_M31\n", " 16492\n", " 25\n", + " 21769.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 75b0173aee7e0dd42b99b29252f3b1ec\n", + " 22527\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 758.00\n", + " 2688.00\n", + " 1608.14\n", + " 1345.93\n", " 0.84\n", " 26.80\n", " Most vehicles bunched\n", " \n", " \n", " 13575\n", + " 11490037_M31\n", " 16487\n", " 26\n", + " 21796.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 75b0173aee7e0dd42b99b29252f3b1ec\n", + " 22528\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 732.00\n", + " 2693.00\n", + " 1609.43\n", + " 1346.13\n", " 0.84\n", " 26.82\n", " Most vehicles bunched\n", " \n", " \n", " 13576\n", + " 11490037_M31\n", " 16490\n", " 27\n", + " 21840.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 75b0173aee7e0dd42b99b29252f3b1ec\n", + " 22529\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 689.00\n", + " 2700.00\n", + " 1880.00\n", + " 1414.44\n", " 0.75\n", " 31.33\n", " Most vehicles bunched\n", " \n", " \n", " 13577\n", + " 11490037_M31\n", " 14643\n", " 28\n", + " 21896.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 75b0173aee7e0dd42b99b29252f3b1ec\n", + " 22530\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 634.00\n", + " 2700.00\n", + " 3044.67\n", + " 858.81\n", " 0.28\n", " 50.74\n", " Vehicles slightly off headway\n", " \n", " \n", " 13578\n", + " 11490037_M31\n", " 14626\n", " 29\n", + " 21974.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 75b0173aee7e0dd42b99b29252f3b1ec\n", + " 22532\n", " 22\n", + " 498b9a001056ce2b83bdc7e8ca01473f\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 558.00\n", + " 2700.00\n", + " 3570.00\n", + " 547.30\n", " 0.15\n", " 59.50\n", " Service provided like clockwork\n", " \n", " \n", " 13579\n", + " 11490047_M31\n", " 17766\n", " 2\n", + " 67473.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 51672d1ed74ce3e66e4bfc273e6e9931\n", + " 67598\n", " 22\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 125.00\n", + " 26032.00\n", + " 10060.75\n", + " 11234.06\n", " 1.12\n", " 167.68\n", " Most vehicles bunched\n", " \n", " \n", " 13580\n", + " 11490047_M31\n", " 17324\n", " 3\n", + " 67543.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 51672d1ed74ce3e66e4bfc273e6e9931\n", + " 67612\n", " 22\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 69.00\n", + " 26014.00\n", + " 10052.00\n", + " 11137.09\n", " 1.11\n", " 167.53\n", " Most vehicles bunched\n", " \n", " \n", " 13581\n", + " 11490047_M31\n", " 17767\n", " 4\n", + " 67615.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 51672d1ed74ce3e66e4bfc273e6e9931\n", + " 67762\n", " 22\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 147.00\n", + " 25997.00\n", + " 10043.25\n", + " 11127.56\n", " 1.11\n", " 167.39\n", " Most vehicles bunched\n", " \n", " \n", " 13582\n", + " 11490047_M31\n", " 17865\n", " 5\n", + " 67648.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 51672d1ed74ce3e66e4bfc273e6e9931\n", + " 67832\n", " 22\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 184.00\n", + " 25988.00\n", + " 10039.00\n", + " 11171.84\n", " 1.11\n", " 167.32\n", " Most vehicles bunched\n", " \n", " \n", " 13583\n", + " 11490047_M31\n", " 17768\n", " 6\n", + " 67722.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " 51672d1ed74ce3e66e4bfc273e6e9931\n", + " 67988\n", " 22\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", " 1.00\n", " Northbound\n", " 7.60\n", " 266.00\n", + " 25969.00\n", + " 10029.50\n", + " 11270.50\n", " 1.12\n", " 167.16\n", " Most vehicles bunched\n", " \n", " \n", " 13584\n", - " 17769\n", - " 7\n", - " 22\n", - " FILLMORE\n", - " 1.00\n", - " Northbound\n", - " 7.60\n", - " 315.00\n", - " 1.13\n", - " 167.06\n", - " Most vehicles bunched\n", - " \n", - " \n", - "\n", - "" - ], - "text/plain": [ - " stop_id stop_sequence route_id route_long_name direction_id \\\n", - "13438 14630 2 22 FILLMORE 0.00 \n", - "13439 14609 7 22 FILLMORE 0.00 \n", - "13440 14627 8 22 FILLMORE 0.00 \n", - "13441 16754 9 22 FILLMORE 0.00 \n", - "13442 16491 10 22 FILLMORE 0.00 \n", - "13443 16488 11 22 FILLMORE 0.00 \n", - "13444 16493 12 22 FILLMORE 0.00 \n", - "13445 13086 13 22 FILLMORE 0.00 \n", - "13446 14605 14 22 FILLMORE 0.00 \n", - "13447 14624 15 22 FILLMORE 0.00 \n", - "13448 14637 16 22 FILLMORE 0.00 \n", - "13449 14636 17 22 FILLMORE 0.00 \n", - "13450 14641 18 22 FILLMORE 0.00 \n", - "13451 14615 19 22 FILLMORE 0.00 \n", - "13452 14634 20 22 FILLMORE 0.00 \n", - "13453 14612 21 22 FILLMORE 0.00 \n", - "13454 14642 22 22 FILLMORE 0.00 \n", - "13455 14629 23 22 FILLMORE 0.00 \n", - "13456 14617 24 22 FILLMORE 0.00 \n", - "13457 14622 25 22 FILLMORE 0.00 \n", - "13458 14632 26 22 FILLMORE 0.00 \n", - "13459 14618 27 22 FILLMORE 0.00 \n", - "13460 15018 28 22 FILLMORE 0.00 \n", - "13461 14005 29 22 FILLMORE 0.00 \n", - "13462 18059 30 22 FILLMORE 0.00 \n", - "13463 13984 31 22 FILLMORE 0.00 \n", - "13464 13285 32 22 FILLMORE 0.00 \n", - "13465 13301 33 22 FILLMORE 0.00 \n", - "13466 13293 34 22 FILLMORE 0.00 \n", - "13467 14630 2 22 FILLMORE 0.00 \n", - "13468 14607 3 22 FILLMORE 0.00 \n", - "13469 14625 4 22 FILLMORE 0.00 \n", - "13470 14606 5 22 FILLMORE 0.00 \n", - "13471 14610 6 22 FILLMORE 0.00 \n", - "13472 14609 7 22 FILLMORE 0.00 \n", - "13473 14627 8 22 FILLMORE 0.00 \n", - "13474 16754 9 22 FILLMORE 0.00 \n", - "13475 16491 10 22 FILLMORE 0.00 \n", - "13476 16488 11 22 FILLMORE 0.00 \n", - "13477 16493 12 22 FILLMORE 0.00 \n", - "13478 13086 13 22 FILLMORE 0.00 \n", - "13479 14605 14 22 FILLMORE 0.00 \n", - "13480 14624 15 22 FILLMORE 0.00 \n", - "13481 14637 16 22 FILLMORE 0.00 \n", - "13482 14636 17 22 FILLMORE 0.00 \n", - "13483 14641 18 22 FILLMORE 0.00 \n", - "13484 14615 19 22 FILLMORE 0.00 \n", - "13485 14634 20 22 FILLMORE 0.00 \n", - "13486 14612 21 22 FILLMORE 0.00 \n", - "13487 14642 22 22 FILLMORE 0.00 \n", - "13488 14629 23 22 FILLMORE 0.00 \n", - "13489 14617 24 22 FILLMORE 0.00 \n", - "13490 14622 25 22 FILLMORE 0.00 \n", - "13491 14632 26 22 FILLMORE 0.00 \n", - "13492 14618 27 22 FILLMORE 0.00 \n", - "13493 15018 28 22 FILLMORE 0.00 \n", - "13494 14005 29 22 FILLMORE 0.00 \n", - "13495 18059 30 22 FILLMORE 0.00 \n", - "13496 13984 31 22 FILLMORE 0.00 \n", - "13497 13285 32 22 FILLMORE 0.00 \n", - "13498 13301 33 22 FILLMORE 0.00 \n", - "13499 13293 34 22 FILLMORE 0.00 \n", - "13500 13299 35 22 FILLMORE 0.00 \n", - "13501 13282 36 22 FILLMORE 0.00 \n", - "13502 13296 37 22 FILLMORE 0.00 \n", - "13503 17761 38 22 FILLMORE 0.00 \n", - "13504 17762 39 22 FILLMORE 0.00 \n", - "13505 17763 40 22 FILLMORE 0.00 \n", - "13506 17866 41 22 FILLMORE 0.00 \n", - "13507 17761 2 22 FILLMORE 0.00 \n", - "13508 17762 3 22 FILLMORE 0.00 \n", - "13509 17763 4 22 FILLMORE 0.00 \n", - "13510 17866 5 22 FILLMORE 0.00 \n", - "13511 17764 6 22 FILLMORE 0.00 \n", - "13512 17321 7 22 FILLMORE 0.00 \n", - "13513 17766 2 22 FILLMORE 1.00 \n", - "13514 17324 3 22 FILLMORE 1.00 \n", - "13515 17767 4 22 FILLMORE 1.00 \n", - "13516 17865 5 22 FILLMORE 1.00 \n", - "13517 17768 6 22 FILLMORE 1.00 \n", - "13518 17769 7 22 FILLMORE 1.00 \n", - "13519 17770 8 22 FILLMORE 1.00 \n", - "13520 13295 9 22 FILLMORE 1.00 \n", - "13521 13281 10 22 FILLMORE 1.00 \n", - "13522 17289 11 22 FILLMORE 1.00 \n", - "13523 13291 12 22 FILLMORE 1.00 \n", - "13524 13300 13 22 FILLMORE 1.00 \n", - "13525 13284 14 22 FILLMORE 1.00 \n", - "13526 13283 15 22 FILLMORE 1.00 \n", - "13527 17073 16 22 FILLMORE 1.00 \n", - "13528 17074 17 22 FILLMORE 1.00 \n", - "13529 15017 18 22 FILLMORE 1.00 \n", - "13530 14620 19 22 FILLMORE 1.00 \n", - "13531 14631 20 22 FILLMORE 1.00 \n", - "13532 14621 21 22 FILLMORE 1.00 \n", - "13533 14616 22 22 FILLMORE 1.00 \n", - "13534 14628 23 22 FILLMORE 1.00 \n", - "13535 14613 24 22 FILLMORE 1.00 \n", - "13536 14611 25 22 FILLMORE 1.00 \n", - "13537 14633 26 22 FILLMORE 1.00 \n", - "13538 14614 27 22 FILLMORE 1.00 \n", - "13539 14640 28 22 FILLMORE 1.00 \n", - "13540 14635 29 22 FILLMORE 1.00 \n", - "13541 14638 30 22 FILLMORE 1.00 \n", - "13542 14623 31 22 FILLMORE 1.00 \n", - "13543 14604 32 22 FILLMORE 1.00 \n", - "13544 13085 33 22 FILLMORE 1.00 \n", - "13545 16492 34 22 FILLMORE 1.00 \n", - "13546 16487 35 22 FILLMORE 1.00 \n", - "13547 16490 36 22 FILLMORE 1.00 \n", - "13548 14643 37 22 FILLMORE 1.00 \n", - "13549 14626 38 22 FILLMORE 1.00 \n", - "13550 14608 39 22 FILLMORE 1.00 \n", - "13551 17289 2 22 FILLMORE 1.00 \n", - "13552 13291 3 22 FILLMORE 1.00 \n", - "13553 13300 4 22 FILLMORE 1.00 \n", - "13554 13284 5 22 FILLMORE 1.00 \n", - "13555 13283 6 22 FILLMORE 1.00 \n", - "13556 17073 7 22 FILLMORE 1.00 \n", - "13557 17074 8 22 FILLMORE 1.00 \n", - "13558 15017 9 22 FILLMORE 1.00 \n", - "13559 14620 10 22 FILLMORE 1.00 \n", - "13560 14631 11 22 FILLMORE 1.00 \n", - "13561 14621 12 22 FILLMORE 1.00 \n", - "13562 14616 13 22 FILLMORE 1.00 \n", - "13563 14628 14 22 FILLMORE 1.00 \n", - "13564 14613 15 22 FILLMORE 1.00 \n", - "13565 14611 16 22 FILLMORE 1.00 \n", - "13566 14633 17 22 FILLMORE 1.00 \n", - "13567 14614 18 22 FILLMORE 1.00 \n", - "13568 14640 19 22 FILLMORE 1.00 \n", - "13569 14635 20 22 FILLMORE 1.00 \n", - "13570 14638 21 22 FILLMORE 1.00 \n", - "13571 14623 22 22 FILLMORE 1.00 \n", - "13572 14604 23 22 FILLMORE 1.00 \n", - "13573 13085 24 22 FILLMORE 1.00 \n", - "13574 16492 25 22 FILLMORE 1.00 \n", - "13575 16487 26 22 FILLMORE 1.00 \n", - "13576 16490 27 22 FILLMORE 1.00 \n", - "13577 14643 28 22 FILLMORE 1.00 \n", - "13578 14626 29 22 FILLMORE 1.00 \n", - "13579 17766 2 22 FILLMORE 1.00 \n", - "13580 17324 3 22 FILLMORE 1.00 \n", - "13581 17767 4 22 FILLMORE 1.00 \n", - "13582 17865 5 22 FILLMORE 1.00 \n", - "13583 17768 6 22 FILLMORE 1.00 \n", - "13584 17769 7 22 FILLMORE 1.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay \\\n", - "13438 Southbound 7.61 161.00 \n", - "13439 Southbound 7.61 -53.00 \n", - "13440 Southbound 7.61 -98.00 \n", - "13441 Southbound 7.61 115.00 \n", - "13442 Southbound 7.61 43.00 \n", - "13443 Southbound 7.61 21.00 \n", - "13444 Southbound 7.61 -20.00 \n", - "13445 Southbound 7.61 -58.00 \n", - "13446 Southbound 7.61 -113.00 \n", - "13447 Southbound 7.61 -84.00 \n", - "13448 Southbound 7.61 -32.00 \n", - "13449 Southbound 7.61 -108.00 \n", - "13450 Southbound 7.61 -147.00 \n", - "13451 Southbound 7.61 165.00 \n", - "13452 Southbound 7.61 109.00 \n", - "13453 Southbound 7.61 24.00 \n", - "13454 Southbound 7.61 -51.00 \n", - "13455 Southbound 7.61 -139.00 \n", - "13456 Southbound 7.61 -214.00 \n", - "13457 Southbound 7.61 -261.00 \n", - "13458 Southbound 7.61 -119.00 \n", - "13459 Southbound 7.61 -172.00 \n", - "13460 Southbound 7.61 -118.00 \n", - "13461 Southbound 7.61 -157.00 \n", - "13462 Southbound 7.61 -229.00 \n", - "13463 Southbound 7.61 -203.00 \n", - "13464 Southbound 7.61 -281.00 \n", - "13465 Southbound 7.61 -154.00 \n", - "13466 Southbound 7.61 -449.00 \n", - "13467 Southbound 7.61 184.00 \n", - "13468 Southbound 7.61 1.00 \n", - "13469 Southbound 7.61 -75.00 \n", - "13470 Southbound 7.61 193.00 \n", - "13471 Southbound 7.61 300.00 \n", - "13472 Southbound 7.61 792.00 \n", - "13473 Southbound 7.61 766.00 \n", - "13474 Southbound 7.61 212.00 \n", - "13475 Southbound 7.61 177.00 \n", - "13476 Southbound 7.61 161.00 \n", - "13477 Southbound 7.61 131.00 \n", - "13478 Southbound 7.61 103.00 \n", - "13479 Southbound 7.61 62.00 \n", - "13480 Southbound 7.61 28.00 \n", - "13481 Southbound 7.61 449.00 \n", - "13482 Southbound 7.61 388.00 \n", - "13483 Southbound 7.61 322.00 \n", - "13484 Southbound 7.61 268.00 \n", - "13485 Southbound 7.61 230.00 \n", - "13486 Southbound 7.61 180.00 \n", - "13487 Southbound 7.61 137.00 \n", - "13488 Southbound 7.61 176.00 \n", - "13489 Southbound 7.61 203.00 \n", - "13490 Southbound 7.61 225.00 \n", - "13491 Southbound 7.61 177.00 \n", - "13492 Southbound 7.61 149.00 \n", - "13493 Southbound 7.61 364.00 \n", - "13494 Southbound 7.61 333.00 \n", - "13495 Southbound 7.61 275.00 \n", - "13496 Southbound 7.61 212.00 \n", - "13497 Southbound 7.61 168.00 \n", - "13498 Southbound 7.61 299.00 \n", - "13499 Southbound 7.61 249.00 \n", - "13500 Southbound 7.61 464.00 \n", - "13501 Southbound 7.61 365.00 \n", - "13502 Southbound 7.61 360.00 \n", - "13503 Southbound 7.61 319.00 \n", - "13504 Southbound 7.61 537.00 \n", - "13505 Southbound 7.61 468.00 \n", - "13506 Southbound 7.61 361.00 \n", - "13507 Southbound 7.61 75.00 \n", - "13508 Southbound 7.61 66.00 \n", - "13509 Southbound 7.61 42.00 \n", - "13510 Southbound 7.61 235.00 \n", - "13511 Southbound 7.61 209.00 \n", - "13512 Southbound 7.61 147.00 \n", - "13513 Northbound 7.60 36.00 \n", - "13514 Northbound 7.60 -36.00 \n", - "13515 Northbound 7.60 -99.00 \n", - "13516 Northbound 7.60 375.00 \n", - "13517 Northbound 7.60 297.00 \n", - "13518 Northbound 7.60 244.00 \n", - "13519 Northbound 7.60 188.00 \n", - "13520 Northbound 7.60 85.00 \n", - "13521 Northbound 7.60 28.00 \n", - "13522 Northbound 7.60 -67.00 \n", - "13523 Northbound 7.60 -142.00 \n", - "13524 Northbound 7.60 56.00 \n", - "13525 Northbound 7.60 -45.00 \n", - "13526 Northbound 7.60 -87.00 \n", - "13527 Northbound 7.60 -169.00 \n", - "13528 Northbound 7.60 -104.00 \n", - "13529 Northbound 7.60 -125.00 \n", - "13530 Northbound 7.60 -157.00 \n", - "13531 Northbound 7.60 267.00 \n", - "13532 Northbound 7.60 617.00 \n", - "13533 Northbound 7.60 595.00 \n", - "13534 Northbound 7.60 541.00 \n", - "13535 Northbound 7.60 498.00 \n", - "13536 Northbound 7.60 437.00 \n", - "13537 Northbound 7.60 388.00 \n", - "13538 Northbound 7.60 396.00 \n", - "13539 Northbound 7.60 305.00 \n", - "13540 Northbound 7.60 252.00 \n", - "13541 Northbound 7.60 222.00 \n", - "13542 Northbound 7.60 256.00 \n", - "13543 Northbound 7.60 305.00 \n", - "13544 Northbound 7.60 356.00 \n", - "13545 Northbound 7.60 387.00 \n", - "13546 Northbound 7.60 362.00 \n", - "13547 Northbound 7.60 319.00 \n", - "13548 Northbound 7.60 281.00 \n", - "13549 Northbound 7.60 323.00 \n", - "13550 Northbound 7.60 139.00 \n", - "13551 Northbound 7.60 512.00 \n", - "13552 Northbound 7.60 434.00 \n", - "13553 Northbound 7.60 386.00 \n", - "13554 Northbound 7.60 280.00 \n", - "13555 Northbound 7.60 235.00 \n", - "13556 Northbound 7.60 149.00 \n", - "13557 Northbound 7.60 96.00 \n", - "13558 Northbound 7.60 48.00 \n", - "13559 Northbound 7.60 -23.00 \n", - "13560 Northbound 7.60 385.00 \n", - "13561 Northbound 7.60 342.00 \n", - "13562 Northbound 7.60 320.00 \n", - "13563 Northbound 7.60 266.00 \n", - "13564 Northbound 7.60 224.00 \n", - "13565 Northbound 7.60 164.00 \n", - "13566 Northbound 7.60 116.00 \n", - "13567 Northbound 7.60 67.00 \n", - "13568 Northbound 7.60 35.00 \n", - "13569 Northbound 7.60 731.00 \n", - "13570 Northbound 7.60 939.00 \n", - "13571 Northbound 7.60 857.00 \n", - "13572 Northbound 7.60 819.00 \n", - "13573 Northbound 7.60 782.00 \n", - "13574 Northbound 7.60 758.00 \n", - "13575 Northbound 7.60 732.00 \n", - "13576 Northbound 7.60 689.00 \n", - "13577 Northbound 7.60 634.00 \n", - "13578 Northbound 7.60 558.00 \n", - "13579 Northbound 7.60 125.00 \n", - "13580 Northbound 7.60 69.00 \n", - "13581 Northbound 7.60 147.00 \n", - "13582 Northbound 7.60 184.00 \n", - "13583 Northbound 7.60 266.00 \n", - "13584 Northbound 7.60 315.00 \n", - "\n", - " bunching_coefficient avg_schd_headway_min \\\n", - "13438 0.49 29.18 \n", - "13439 0.73 22.60 \n", - "13440 0.99 22.60 \n", - "13441 0.82 24.17 \n", - "13442 0.73 24.17 \n", - "13443 0.68 24.15 \n", - "13444 0.67 24.12 \n", - "13445 0.66 24.09 \n", - "13446 0.74 24.05 \n", - "13447 0.67 24.02 \n", - "13448 0.70 23.95 \n", - "13449 0.62 23.89 \n", - "13450 0.56 23.83 \n", - "13451 0.66 23.79 \n", - "13452 0.65 23.77 \n", - "13453 0.65 23.73 \n", - "13454 0.64 23.70 \n", - "13455 0.63 23.67 \n", - "13456 0.59 23.62 \n", - "13457 0.60 23.59 \n", - "13458 0.62 23.53 \n", - "13459 0.60 23.50 \n", - "13460 0.63 23.50 \n", - "13461 0.63 23.50 \n", - "13462 0.58 23.50 \n", - "13463 1.17 29.12 \n", - "13464 1.15 29.02 \n", - "13465 1.17 28.85 \n", - "13466 0.85 38.33 \n", - "13467 0.91 11.12 \n", - "13468 1.13 47.45 \n", - "13469 1.17 52.72 \n", - "13470 0.63 68.00 \n", - "13471 0.93 40.80 \n", - "13472 1.04 11.17 \n", - "13473 1.08 9.02 \n", - "13474 1.00 8.15 \n", - "13475 0.88 8.95 \n", - "13476 0.92 8.15 \n", - "13477 1.07 7.91 \n", - "13478 0.97 7.97 \n", - "13479 1.05 8.03 \n", - "13480 0.96 7.97 \n", - "13481 0.97 7.86 \n", - "13482 0.93 7.92 \n", - "13483 0.88 8.22 \n", - "13484 0.85 8.42 \n", - "13485 0.88 8.57 \n", - "13486 0.83 8.37 \n", - "13487 0.88 8.12 \n", - "13488 0.82 8.12 \n", - "13489 0.89 8.06 \n", - "13490 0.86 8.06 \n", - "13491 0.89 8.25 \n", - "13492 0.94 8.19 \n", - "13493 1.00 7.94 \n", - "13494 0.97 8.00 \n", - "13495 0.99 8.06 \n", - "13496 0.99 8.51 \n", - "13497 0.90 8.58 \n", - "13498 0.90 8.38 \n", - "13499 0.94 8.39 \n", - "13500 0.93 8.82 \n", - "13501 0.95 9.12 \n", - "13502 1.05 10.64 \n", - "13503 0.89 11.43 \n", - "13504 0.93 13.08 \n", - "13505 0.95 15.83 \n", - "13506 0.88 21.47 \n", - "13507 0.97 33.30 \n", - "13508 0.91 38.09 \n", - "13509 0.96 33.36 \n", - "13510 0.98 35.32 \n", - "13511 1.00 35.35 \n", - "13512 1.23 36.73 \n", - "13513 1.57 8.24 \n", - "13514 1.27 8.71 \n", - "13515 1.23 9.14 \n", - "13516 1.18 8.17 \n", - "13517 0.93 8.23 \n", - "13518 1.07 7.76 \n", - "13519 1.00 7.87 \n", - "13520 1.03 8.10 \n", - "13521 1.18 7.92 \n", - "13522 1.19 8.34 \n", - "13523 1.14 8.34 \n", - "13524 1.06 8.34 \n", - "13525 1.11 8.40 \n", - "13526 1.15 8.53 \n", - "13527 1.10 8.59 \n", - "13528 1.14 8.46 \n", - "13529 1.15 8.53 \n", - "13530 1.28 8.33 \n", - "13531 1.20 8.40 \n", - "13532 1.06 8.67 \n", - "13533 1.08 8.74 \n", - "13534 1.03 8.81 \n", - "13535 1.13 8.88 \n", - "13536 1.03 8.81 \n", - "13537 0.99 8.96 \n", - "13538 1.08 9.11 \n", - "13539 0.93 8.89 \n", - "13540 0.93 9.11 \n", - "13541 0.92 9.56 \n", - "13542 0.90 9.61 \n", - "13543 0.93 9.78 \n", - "13544 0.92 10.68 \n", - "13545 0.92 10.06 \n", - "13546 0.89 11.22 \n", - "13547 0.80 12.54 \n", - "13548 0.95 17.48 \n", - "13549 0.95 19.04 \n", - "13550 0.78 58.93 \n", - "13551 1.08 19.67 \n", - "13552 0.84 38.50 \n", - "13553 0.67 29.75 \n", - "13554 0.88 19.96 \n", - "13555 0.88 20.01 \n", - "13556 0.88 20.11 \n", - "13557 0.87 20.15 \n", - "13558 0.86 20.18 \n", - "13559 0.86 20.22 \n", - "13560 0.83 20.29 \n", - "13561 0.82 20.35 \n", - "13562 0.80 20.38 \n", - "13563 0.79 20.44 \n", - "13564 0.78 20.49 \n", - "13565 0.83 23.11 \n", - "13566 0.82 23.16 \n", - "13567 0.79 26.79 \n", - "13568 1.21 26.83 \n", - "13569 0.80 26.62 \n", - "13570 0.78 26.65 \n", - "13571 0.80 26.72 \n", - "13572 0.82 26.75 \n", - "13573 0.84 26.78 \n", - "13574 0.84 26.80 \n", - "13575 0.84 26.82 \n", - "13576 0.75 31.33 \n", - "13577 0.28 50.74 \n", - "13578 0.15 59.50 \n", - "13579 1.12 167.68 \n", - "13580 1.11 167.53 \n", - "13581 1.11 167.39 \n", - "13582 1.11 167.32 \n", - "13583 1.12 167.16 \n", - "13584 1.13 167.06 \n", - "\n", - " passenger_op_perspective \n", - "13438 Irregular headways, with some bunching \n", - "13439 Frequent bunching \n", - "13440 Most vehicles bunched \n", - "13441 Most vehicles bunched \n", - "13442 Frequent bunching \n", - "13443 Frequent bunching \n", - "13444 Frequent bunching \n", - "13445 Frequent bunching \n", - "13446 Frequent bunching \n", - "13447 Frequent bunching \n", - "13448 Frequent bunching \n", - "13449 Frequent bunching \n", - "13450 Frequent bunching \n", - "13451 Frequent bunching \n", - "13452 Frequent bunching \n", - "13453 Frequent bunching \n", - "13454 Frequent bunching \n", - "13455 Frequent bunching \n", - "13456 Frequent bunching \n", - "13457 Frequent bunching \n", - "13458 Frequent bunching \n", - "13459 Frequent bunching \n", - "13460 Frequent bunching \n", - "13461 Frequent bunching \n", - "13462 Frequent bunching \n", - "13463 Most vehicles bunched \n", - "13464 Most vehicles bunched \n", - "13465 Most vehicles bunched \n", - "13466 Most vehicles bunched \n", - "13467 Most vehicles bunched \n", - "13468 Most vehicles bunched \n", - "13469 Most vehicles bunched \n", - "13470 Frequent bunching \n", - "13471 Most vehicles bunched \n", - "13472 Most vehicles bunched \n", - "13473 Most vehicles bunched \n", - "13474 Most vehicles bunched \n", - "13475 Most vehicles bunched \n", - "13476 Most vehicles bunched \n", - "13477 Most vehicles bunched \n", - "13478 Most vehicles bunched \n", - "13479 Most vehicles bunched \n", - "13480 Most vehicles bunched \n", - "13481 Most vehicles bunched \n", - "13482 Most vehicles bunched \n", - "13483 Most vehicles bunched \n", - "13484 Most vehicles bunched \n", - "13485 Most vehicles bunched \n", - "13486 Most vehicles bunched \n", - "13487 Most vehicles bunched \n", - "13488 Most vehicles bunched \n", - "13489 Most vehicles bunched \n", - "13490 Most vehicles bunched \n", - "13491 Most vehicles bunched \n", - "13492 Most vehicles bunched \n", - "13493 Most vehicles bunched \n", - "13494 Most vehicles bunched \n", - "13495 Most vehicles bunched \n", - "13496 Most vehicles bunched \n", - "13497 Most vehicles bunched \n", - "13498 Most vehicles bunched \n", - "13499 Most vehicles bunched \n", - "13500 Most vehicles bunched \n", - "13501 Most vehicles bunched \n", - "13502 Most vehicles bunched \n", - "13503 Most vehicles bunched \n", - "13504 Most vehicles bunched \n", - "13505 Most vehicles bunched \n", - "13506 Most vehicles bunched \n", - "13507 Most vehicles bunched \n", - "13508 Most vehicles bunched \n", - "13509 Most vehicles bunched \n", - "13510 Most vehicles bunched \n", - "13511 Most vehicles bunched \n", - "13512 Most vehicles bunched \n", - "13513 Most vehicles bunched \n", - "13514 Most vehicles bunched \n", - "13515 Most vehicles bunched \n", - "13516 Most vehicles bunched \n", - "13517 Most vehicles bunched \n", - "13518 Most vehicles bunched \n", - "13519 Most vehicles bunched \n", - "13520 Most vehicles bunched \n", - "13521 Most vehicles bunched \n", - "13522 Most vehicles bunched \n", - "13523 Most vehicles bunched \n", - "13524 Most vehicles bunched \n", - "13525 Most vehicles bunched \n", - "13526 Most vehicles bunched \n", - "13527 Most vehicles bunched \n", - "13528 Most vehicles bunched \n", - "13529 Most vehicles bunched \n", - "13530 Most vehicles bunched \n", - "13531 Most vehicles bunched \n", - "13532 Most vehicles bunched \n", - "13533 Most vehicles bunched \n", - "13534 Most vehicles bunched \n", - "13535 Most vehicles bunched \n", - "13536 Most vehicles bunched \n", - "13537 Most vehicles bunched \n", - "13538 Most vehicles bunched \n", - "13539 Most vehicles bunched \n", - "13540 Most vehicles bunched \n", - "13541 Most vehicles bunched \n", - "13542 Most vehicles bunched \n", - "13543 Most vehicles bunched \n", - "13544 Most vehicles bunched \n", - "13545 Most vehicles bunched \n", - "13546 Most vehicles bunched \n", - "13547 Most vehicles bunched \n", - "13548 Most vehicles bunched \n", - "13549 Most vehicles bunched \n", - "13550 Most vehicles bunched \n", - "13551 Most vehicles bunched \n", - "13552 Most vehicles bunched \n", - "13553 Frequent bunching \n", - "13554 Most vehicles bunched \n", - "13555 Most vehicles bunched \n", - "13556 Most vehicles bunched \n", - "13557 Most vehicles bunched \n", - "13558 Most vehicles bunched \n", - "13559 Most vehicles bunched \n", - "13560 Most vehicles bunched \n", - "13561 Most vehicles bunched \n", - "13562 Most vehicles bunched \n", - "13563 Most vehicles bunched \n", - "13564 Most vehicles bunched \n", - "13565 Most vehicles bunched \n", - "13566 Most vehicles bunched \n", - "13567 Most vehicles bunched \n", - "13568 Most vehicles bunched \n", - "13569 Most vehicles bunched \n", - "13570 Most vehicles bunched \n", - "13571 Most vehicles bunched \n", - "13572 Most vehicles bunched \n", - "13573 Most vehicles bunched \n", - "13574 Most vehicles bunched \n", - "13575 Most vehicles bunched \n", - "13576 Most vehicles bunched \n", - "13577 Vehicles slightly off headway \n", - "13578 Service provided like clockwork \n", - "13579 Most vehicles bunched \n", - "13580 Most vehicles bunched \n", - "13581 Most vehicles bunched \n", - "13582 Most vehicles bunched \n", - "13583 Most vehicles bunched \n", - "13584 Most vehicles bunched " - ] - }, - "execution_count": 98, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "fillmore.drop(columns = drop_for_preview)" - ] - }, - { - "cell_type": "code", - "execution_count": 99, - "id": "8ed6b4d9-e421-452a-80e6-d1b81cadec7b", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", " \n", " \n", " \n", @@ -6917,34 +7753,1056 @@ ], "text/plain": [ " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "13438 11489815_M31 14630 2 68903.00 \n", + "13439 11489815_M31 14609 7 69120.00 \n", + "13440 11489815_M31 14627 8 69175.00 \n", + "13441 11489975_M31 16754 9 68926.00 \n", + "13442 11489975_M31 16491 10 69000.00 \n", + "13443 11489975_M31 16488 11 69023.00 \n", + "13444 11489975_M31 16493 12 69066.00 \n", + "13445 11489975_M31 13086 13 69106.00 \n", + "13446 11489975_M31 14605 14 69164.00 \n", + "13447 11489975_M31 14624 15 69217.00 \n", + "13448 11489975_M31 14637 16 69308.00 \n", + "13449 11489975_M31 14636 17 69391.00 \n", + "13450 11489975_M31 14641 18 69480.00 \n", + "13451 11489975_M31 14615 19 69587.00 \n", + "13452 11489975_M31 14634 20 69644.00 \n", + "13453 11489975_M31 14612 21 69732.00 \n", + "13454 11489975_M31 14642 22 69809.00 \n", + "13455 11489975_M31 14629 23 69900.00 \n", + "13456 11489975_M31 14617 24 69978.00 \n", + "13457 11489975_M31 14622 25 70044.00 \n", + "13458 11489975_M31 14632 26 70140.00 \n", + "13459 11489975_M31 14618 27 70200.00 \n", + "13460 11489975_M31 15018 28 70293.00 \n", + "13461 11489975_M31 14005 29 70344.00 \n", + "13462 11489975_M31 18059 30 70440.00 \n", + "13463 11489975_M31 13984 31 70566.00 \n", + "13464 11489975_M31 13285 32 70661.00 \n", + "13465 11489975_M31 13301 33 70820.00 \n", + "13466 11489815_M31 13293 34 71280.00 \n", + "13467 11489877_M31 14630 2 22577.00 \n", + "13468 11489884_M31 14607 3 27884.00 \n", + "13469 11489884_M31 14625 4 27912.00 \n", + "13470 11489897_M31 14606 5 32300.00 \n", + "13471 11489897_M31 14610 6 32339.00 \n", + "13472 11489876_M31 14609 7 22020.00 \n", + "13473 11489876_M31 14627 8 22047.00 \n", + "13474 11489875_M31 16754 9 21263.00 \n", + "13475 11489875_M31 16491 10 21300.00 \n", + "13476 11489875_M31 16488 11 21317.00 \n", + "13477 11489875_M31 16493 12 21349.00 \n", + "13478 11489875_M31 13086 13 21379.00 \n", + "13479 11489875_M31 14605 14 21423.00 \n", + "13480 11489875_M31 14624 15 21462.00 \n", + "13481 11489876_M31 14637 16 22371.00 \n", + "13482 11489876_M31 14636 17 22433.00 \n", + "13483 11489876_M31 14641 18 22500.00 \n", + "13484 11489877_M31 14615 19 23296.00 \n", + "13485 11489876_M31 14634 20 22593.00 \n", + "13486 11489876_M31 14612 21 22644.00 \n", + "13487 11489876_M31 14642 22 22688.00 \n", + "13488 11489876_M31 14629 23 22740.00 \n", + "13489 11489876_M31 14617 24 22786.00 \n", + "13490 11489876_M31 14622 25 22826.00 \n", + "13491 11489876_M31 14632 26 22884.00 \n", + "13492 11489876_M31 14618 27 22920.00 \n", + "13493 11489876_M31 15018 28 22990.00 \n", + "13494 11489876_M31 14005 29 23028.00 \n", + "13495 11489876_M31 18059 30 23100.00 \n", + "13496 11489876_M31 13984 31 23179.00 \n", + "13497 11489876_M31 13285 32 23238.00 \n", + "13498 11489876_M31 13301 33 23337.00 \n", + "13499 11489876_M31 13293 34 23400.00 \n", + "13500 11489876_M31 13299 35 23474.00 \n", + "13501 11489876_M31 13282 36 23580.00 \n", + "13502 11489878_M31 13296 37 25200.00 \n", + "13503 11489878_M31 17761 38 25320.00 \n", + "13504 11489881_M31 17762 39 27554.00 \n", + "13505 11489881_M31 17763 40 27627.00 \n", + "13506 11489881_M31 17866 41 27741.00 \n", + "13507 11489845_M31 17761 2 18610.00 \n", + "13508 11489845_M31 17762 3 18655.00 \n", + "13509 11489845_M31 17763 4 18699.00 \n", + "13510 11489846_M31 17866 5 19967.00 \n", + "13511 11489846_M31 17764 6 19994.00 \n", + "13512 11489846_M31 17321 7 20060.00 \n", + "13513 11490050_M31 17766 2 19297.00 \n", + "13514 11490050_M31 17324 3 19376.00 \n", + "13515 11490050_M31 17767 4 19457.00 \n", + "13516 11490050_M31 17865 5 19494.00 \n", + "13517 11490050_M31 17768 6 19577.00 \n", + "13518 11490050_M31 17769 7 19633.00 \n", + "13519 11490050_M31 17770 8 19692.00 \n", + "13520 11490050_M31 13295 9 19800.00 \n", + "13521 11490050_M31 13281 10 19860.00 \n", + "13522 11490050_M31 17289 11 19961.00 \n", + "13523 11490050_M31 13291 12 20040.00 \n", + "13524 11490050_M31 13300 13 20090.00 \n", + "13525 11490050_M31 13284 14 20202.00 \n", + "13526 11490050_M31 13283 15 20249.00 \n", + "13527 11490050_M31 17073 16 20340.00 \n", + "13528 11490050_M31 17074 17 20377.00 \n", + "13529 11490050_M31 15017 18 20410.00 \n", + "13530 11490050_M31 14620 19 20460.00 \n", + "13531 11490050_M31 14631 20 20516.00 \n", + "13532 11490050_M31 14621 21 20562.00 \n", + "13533 11490050_M31 14616 22 20585.00 \n", + "13534 11490050_M31 14628 23 20640.00 \n", + "13535 11490050_M31 14613 24 20684.00 \n", + "13536 11490050_M31 14611 25 20746.00 \n", + "13537 11490050_M31 14633 26 20796.00 \n", + "13538 11490110_M31 14614 27 23007.00 \n", + "13539 11490050_M31 14640 28 20880.00 \n", + "13540 11490050_M31 14635 29 20935.00 \n", + "13541 11490051_M31 14638 30 22183.00 \n", + "13542 11490051_M31 14623 31 22267.00 \n", + "13543 11490051_M31 14604 32 22306.00 \n", + "13544 11490111_M31 13085 33 24144.00 \n", + "13545 11490051_M31 16492 34 22369.00 \n", + "13546 11490051_M31 16487 35 22396.00 \n", + "13547 11490051_M31 16490 36 22440.00 \n", + "13548 11490051_M31 14643 37 22482.00 \n", + "13549 11490051_M31 14626 38 22541.00 \n", + "13550 11490113_M31 14608 39 25996.00 \n", + "13551 11490036_M31 17289 2 19297.00 \n", + "13552 11490036_M31 13291 3 19380.00 \n", + "13553 11490036_M31 13300 4 19430.00 \n", + "13554 11490036_M31 13284 5 19542.00 \n", + "13555 11490036_M31 13283 6 19589.00 \n", + "13556 11490036_M31 17073 7 19680.00 \n", + "13557 11490036_M31 17074 8 19736.00 \n", + "13558 11490036_M31 15017 9 19786.00 \n", + "13559 11490036_M31 14620 10 19860.00 \n", + "13560 11490036_M31 14631 11 19916.00 \n", + "13561 11490036_M31 14621 12 19962.00 \n", + "13562 11490036_M31 14616 13 19985.00 \n", + "13563 11490036_M31 14628 14 20040.00 \n", + "13564 11490036_M31 14613 15 20084.00 \n", + "13565 11490036_M31 14611 16 20146.00 \n", + "13566 11490036_M31 14633 17 20196.00 \n", + "13567 11490036_M31 14614 18 20247.00 \n", + "13568 11490036_M31 14640 19 20280.00 \n", + "13569 11490037_M31 14635 20 21535.00 \n", + "13570 11490037_M31 14638 21 21583.00 \n", + "13571 11490037_M31 14623 22 21667.00 \n", + "13572 11490037_M31 14604 23 21706.00 \n", + "13573 11490037_M31 13085 24 21744.00 \n", + "13574 11490037_M31 16492 25 21769.00 \n", + "13575 11490037_M31 16487 26 21796.00 \n", + "13576 11490037_M31 16490 27 21840.00 \n", + "13577 11490037_M31 14643 28 21896.00 \n", + "13578 11490037_M31 14626 29 21974.00 \n", + "13579 11490047_M31 17766 2 67473.00 \n", + "13580 11490047_M31 17324 3 67543.00 \n", + "13581 11490047_M31 17767 4 67615.00 \n", + "13582 11490047_M31 17865 5 67648.00 \n", + "13583 11490047_M31 17768 6 67722.00 \n", "13584 11490047_M31 17769 7 67772.00 \n", "\n", " schedule_gtfs_dataset_key trip_instance_key \\\n", + "13438 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "13439 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "13440 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "13441 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13442 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13443 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13444 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13445 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13446 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13447 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13448 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13449 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13450 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13451 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13452 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13453 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13454 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13455 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13456 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13457 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13458 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13459 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13460 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13461 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13462 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13463 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13464 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13465 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "13466 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "13467 7cc0cb1871dfd558f11a2885c145d144 d1d3596406ffd26b7b4d935686b0e457 \n", + "13468 7cc0cb1871dfd558f11a2885c145d144 24c071114425eaa11a3e2c6233439773 \n", + "13469 7cc0cb1871dfd558f11a2885c145d144 24c071114425eaa11a3e2c6233439773 \n", + "13470 7cc0cb1871dfd558f11a2885c145d144 d34e8a8b26b0d004cf1838558d2d1295 \n", + "13471 7cc0cb1871dfd558f11a2885c145d144 d34e8a8b26b0d004cf1838558d2d1295 \n", + "13472 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13473 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13474 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", + "13475 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", + "13476 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", + "13477 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", + "13478 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", + "13479 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", + "13480 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", + "13481 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13482 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13483 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13484 7cc0cb1871dfd558f11a2885c145d144 d1d3596406ffd26b7b4d935686b0e457 \n", + "13485 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13486 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13487 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13488 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13489 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13490 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13491 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13492 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13493 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13494 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13495 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13496 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13497 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13498 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13499 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13500 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13501 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", + "13502 7cc0cb1871dfd558f11a2885c145d144 4d0664d8becb5754441c8f6866d162af \n", + "13503 7cc0cb1871dfd558f11a2885c145d144 4d0664d8becb5754441c8f6866d162af \n", + "13504 7cc0cb1871dfd558f11a2885c145d144 1f4162ccf2a270a5fd579a6e40abc4f2 \n", + "13505 7cc0cb1871dfd558f11a2885c145d144 1f4162ccf2a270a5fd579a6e40abc4f2 \n", + "13506 7cc0cb1871dfd558f11a2885c145d144 1f4162ccf2a270a5fd579a6e40abc4f2 \n", + "13507 7cc0cb1871dfd558f11a2885c145d144 dd2db06e83875c5e9eb93212fc4761be \n", + "13508 7cc0cb1871dfd558f11a2885c145d144 dd2db06e83875c5e9eb93212fc4761be \n", + "13509 7cc0cb1871dfd558f11a2885c145d144 dd2db06e83875c5e9eb93212fc4761be \n", + "13510 7cc0cb1871dfd558f11a2885c145d144 90f2da63ad252223ee16676fe9c7b766 \n", + "13511 7cc0cb1871dfd558f11a2885c145d144 90f2da63ad252223ee16676fe9c7b766 \n", + "13512 7cc0cb1871dfd558f11a2885c145d144 90f2da63ad252223ee16676fe9c7b766 \n", + "13513 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13514 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13515 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13516 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13517 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13518 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13519 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13520 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13521 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13522 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13523 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13524 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13525 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13526 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13527 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13528 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13529 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13530 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13531 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13532 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13533 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13534 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13535 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13536 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13537 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13538 7cc0cb1871dfd558f11a2885c145d144 435bb30228592bdf9ea0c1bdd583f198 \n", + "13539 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13540 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", + "13541 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", + "13542 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", + "13543 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", + "13544 7cc0cb1871dfd558f11a2885c145d144 e2a8f36aec8f1cabf4ca727bf73a08ab \n", + "13545 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", + "13546 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", + "13547 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", + "13548 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", + "13549 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", + "13550 7cc0cb1871dfd558f11a2885c145d144 32ce76603438e958f31799f4df8244da \n", + "13551 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13552 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13553 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13554 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13555 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13556 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13557 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13558 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13559 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13560 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13561 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13562 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13563 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13564 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13565 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13566 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13567 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13568 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", + "13569 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", + "13570 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", + "13571 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", + "13572 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", + "13573 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", + "13574 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", + "13575 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", + "13576 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", + "13577 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", + "13578 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", + "13579 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "13580 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "13581 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "13582 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "13583 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", "13584 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", "\n", " rt_arrival_sec route_id shape_array_key \\\n", + "13438 69064 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13439 69067 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13440 69077 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13441 69041 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13442 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13443 69044 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13444 69046 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13445 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13446 69051 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13447 69133 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13448 69276 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13449 69283 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13450 69333 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13451 69752 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13452 69753 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13453 69756 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13454 69758 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13455 69761 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13456 69764 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13457 69783 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13458 70021 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13459 70028 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13460 70175 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13461 70187 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13462 70211 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13463 70363 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13464 70380 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13465 70666 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13466 70831 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "13467 22761 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13468 27885 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13469 27837 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13470 32493 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13471 32639 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13472 22812 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13473 22813 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13474 21475 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13475 21477 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13476 21478 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13477 21480 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13478 21482 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13479 21485 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13480 21490 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13481 22820 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13482 22821 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13483 22822 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13484 23564 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13485 22823 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13486 22824 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13487 22825 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13488 22916 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13489 22989 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13490 23051 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13491 23061 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13492 23069 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13493 23354 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13494 23361 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13495 23375 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13496 23391 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13497 23406 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13498 23636 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13499 23649 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13500 23938 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13501 23945 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13502 25560 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13503 25639 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13504 28091 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13505 28095 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13506 28102 22 2fe09ae2c449928945abe662a855ffb2 \n", + "13507 18685 22 62b7db9e9a7562bbfe649736b913f9c8 \n", + "13508 18721 22 62b7db9e9a7562bbfe649736b913f9c8 \n", + "13509 18741 22 62b7db9e9a7562bbfe649736b913f9c8 \n", + "13510 20202 22 62b7db9e9a7562bbfe649736b913f9c8 \n", + "13511 20203 22 62b7db9e9a7562bbfe649736b913f9c8 \n", + "13512 20207 22 62b7db9e9a7562bbfe649736b913f9c8 \n", + "13513 19333 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13514 19340 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13515 19358 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13516 19869 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13517 19874 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13518 19877 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13519 19880 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13520 19885 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13521 19888 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13522 19894 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13523 19898 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13524 20146 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13525 20157 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13526 20162 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13527 20171 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13528 20273 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13529 20285 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13530 20303 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13531 20783 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13532 21179 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13533 21180 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13534 21181 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13535 21182 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13536 21183 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13537 21184 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13538 23403 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13539 21185 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13540 21187 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13541 22405 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13542 22523 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13543 22611 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13544 24500 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13545 22756 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13546 22758 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13547 22759 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13548 22763 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13549 22864 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13550 26135 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", + "13551 19809 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13552 19814 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13553 19816 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13554 19822 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13555 19824 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13556 19829 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13557 19832 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13558 19834 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13559 19837 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13560 20301 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13561 20304 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13562 20305 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13563 20306 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13564 20308 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13565 20310 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13566 20312 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13567 20314 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13568 20315 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13569 22266 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13570 22522 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13571 22524 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13572 22525 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13573 22526 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13574 22527 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13575 22528 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13576 22529 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13577 22530 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13578 22532 22 498b9a001056ce2b83bdc7e8ca01473f \n", + "13579 67598 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "13580 67612 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "13581 67762 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "13582 67832 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "13583 67988 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", "13584 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", "\n", " feed_key route_long_name direction_id \\\n", + "13438 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13439 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13440 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13441 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13442 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13443 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13444 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13445 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13446 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13447 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13448 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13449 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13450 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13451 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13452 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13453 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13454 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13455 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13456 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13457 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13458 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13459 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13460 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13461 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13462 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13463 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13464 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13465 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13466 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13467 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13468 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13469 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13470 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13471 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13472 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13473 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13474 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13475 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13476 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13477 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13478 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13479 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13480 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13481 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13482 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13483 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13484 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13485 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13486 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13487 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13488 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13489 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13490 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13491 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13492 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13493 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13494 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13495 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13496 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13497 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13498 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13499 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13500 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13501 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13502 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13503 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13504 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13505 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13506 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13507 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13508 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13509 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13510 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13511 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13512 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "13513 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13514 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13515 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13516 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13517 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13518 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13519 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13520 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13521 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13522 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13523 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13524 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13525 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13526 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13527 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13528 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13529 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13530 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13531 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13532 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13533 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13534 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13535 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13536 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13537 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13538 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13539 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13540 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13541 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13542 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13543 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13544 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13545 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13546 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13547 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13548 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13549 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13550 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13551 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13552 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13553 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13554 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13555 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13556 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13557 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13558 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13559 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13560 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13561 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13562 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13563 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13564 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13565 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13566 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13567 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13568 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13569 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13570 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13571 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13572 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13573 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13574 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13575 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13576 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13577 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13578 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13579 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13580 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13581 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13582 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13583 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", "13584 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", "\n", - " route_primary_direction frequency_in_minutes delay schd_headway \\\n", - "13584 Northbound 7.60 315.00 25957.00 \n", + " route_primary_direction frequency_in_minutes delay schd_headway \\\n", + "13438 Southbound 7.61 161.00 2280.00 \n", + "13439 Southbound 7.61 -53.00 360.00 \n", + "13440 Southbound 7.61 -98.00 360.00 \n", + "13441 Southbound 7.61 115.00 1920.00 \n", + "13442 Southbound 7.61 43.00 1920.00 \n", + "13443 Southbound 7.61 21.00 1917.00 \n", + "13444 Southbound 7.61 -20.00 1912.00 \n", + "13445 Southbound 7.61 -58.00 1907.00 \n", + "13446 Southbound 7.61 -113.00 1900.00 \n", + "13447 Southbound 7.61 -84.00 1893.00 \n", + "13448 Southbound 7.61 -32.00 1881.00 \n", + "13449 Southbound 7.61 -108.00 1871.00 \n", + "13450 Southbound 7.61 -147.00 1860.00 \n", + "13451 Southbound 7.61 165.00 1860.00 \n", + "13452 Southbound 7.61 109.00 1860.00 \n", + "13453 Southbound 7.61 24.00 1860.00 \n", + "13454 Southbound 7.61 -51.00 1860.00 \n", + "13455 Southbound 7.61 -139.00 1860.00 \n", + "13456 Southbound 7.61 -214.00 1860.00 \n", + "13457 Southbound 7.61 -261.00 1860.00 \n", + "13458 Southbound 7.61 -119.00 1860.00 \n", + "13459 Southbound 7.61 -172.00 1860.00 \n", + "13460 Southbound 7.61 -118.00 1860.00 \n", + "13461 Southbound 7.61 -157.00 1860.00 \n", + "13462 Southbound 7.61 -229.00 1860.00 \n", + "13463 Southbound 7.61 -203.00 1860.00 \n", + "13464 Southbound 7.61 -281.00 1860.00 \n", + "13465 Southbound 7.61 -154.00 1860.00 \n", + "13466 Southbound 7.61 -449.00 2220.00 \n", + "13467 Southbound 7.61 184.00 2460.00 \n", + "13468 Southbound 7.61 1.00 1080.00 \n", + "13469 Southbound 7.61 -75.00 1080.00 \n", + "13470 Southbound 7.61 193.00 3240.00 \n", + "13471 Southbound 7.61 300.00 3240.00 \n", + "13472 Southbound 7.61 792.00 840.00 \n", + "13473 Southbound 7.61 766.00 1740.00 \n", + "13474 Southbound 7.61 212.00 900.00 \n", + "13475 Southbound 7.61 177.00 900.00 \n", + "13476 Southbound 7.61 161.00 900.00 \n", + "13477 Southbound 7.61 131.00 900.00 \n", + "13478 Southbound 7.61 103.00 900.00 \n", + "13479 Southbound 7.61 62.00 900.00 \n", + "13480 Southbound 7.61 28.00 900.00 \n", + "13481 Southbound 7.61 449.00 840.00 \n", + "13482 Southbound 7.61 388.00 840.00 \n", + "13483 Southbound 7.61 322.00 840.00 \n", + "13484 Southbound 7.61 268.00 1575.00 \n", + "13485 Southbound 7.61 230.00 840.00 \n", + "13486 Southbound 7.61 180.00 840.00 \n", + "13487 Southbound 7.61 137.00 840.00 \n", + "13488 Southbound 7.61 176.00 840.00 \n", + "13489 Southbound 7.61 203.00 840.00 \n", + "13490 Southbound 7.61 225.00 840.00 \n", + "13491 Southbound 7.61 177.00 840.00 \n", + "13492 Southbound 7.61 149.00 840.00 \n", + "13493 Southbound 7.61 364.00 840.00 \n", + "13494 Southbound 7.61 333.00 840.00 \n", + "13495 Southbound 7.61 275.00 840.00 \n", + "13496 Southbound 7.61 212.00 840.00 \n", + "13497 Southbound 7.61 168.00 840.00 \n", + "13498 Southbound 7.61 299.00 840.00 \n", + "13499 Southbound 7.61 249.00 840.00 \n", + "13500 Southbound 7.61 464.00 840.00 \n", + "13501 Southbound 7.61 365.00 840.00 \n", + "13502 Southbound 7.61 360.00 720.00 \n", + "13503 Southbound 7.61 319.00 720.00 \n", + "13504 Southbound 7.61 537.00 2880.00 \n", + "13505 Southbound 7.61 468.00 2880.00 \n", + "13506 Southbound 7.61 361.00 2880.00 \n", + "13507 Southbound 7.61 75.00 1200.00 \n", + "13508 Southbound 7.61 66.00 1200.00 \n", + "13509 Southbound 7.61 42.00 1200.00 \n", + "13510 Southbound 7.61 235.00 1200.00 \n", + "13511 Southbound 7.61 209.00 1200.00 \n", + "13512 Southbound 7.61 147.00 1200.00 \n", + "13513 Northbound 7.60 36.00 1200.00 \n", + "13514 Northbound 7.60 -36.00 1200.00 \n", + "13515 Northbound 7.60 -99.00 1200.00 \n", + "13516 Northbound 7.60 375.00 1200.00 \n", + "13517 Northbound 7.60 297.00 1200.00 \n", + "13518 Northbound 7.60 244.00 1200.00 \n", + "13519 Northbound 7.60 188.00 1200.00 \n", + "13520 Northbound 7.60 85.00 1200.00 \n", + "13521 Northbound 7.60 28.00 1200.00 \n", + "13522 Northbound 7.60 -67.00 1200.00 \n", + "13523 Northbound 7.60 -142.00 1200.00 \n", + "13524 Northbound 7.60 56.00 1200.00 \n", + "13525 Northbound 7.60 -45.00 1200.00 \n", + "13526 Northbound 7.60 -87.00 1200.00 \n", + "13527 Northbound 7.60 -169.00 1200.00 \n", + "13528 Northbound 7.60 -104.00 1200.00 \n", + "13529 Northbound 7.60 -125.00 1200.00 \n", + "13530 Northbound 7.60 -157.00 1200.00 \n", + "13531 Northbound 7.60 267.00 1200.00 \n", + "13532 Northbound 7.60 617.00 1200.00 \n", + "13533 Northbound 7.60 595.00 1200.00 \n", + "13534 Northbound 7.60 541.00 1200.00 \n", + "13535 Northbound 7.60 498.00 1200.00 \n", + "13536 Northbound 7.60 437.00 1200.00 \n", + "13537 Northbound 7.60 388.00 1200.00 \n", + "13538 Northbound 7.60 396.00 3360.00 \n", + "13539 Northbound 7.60 305.00 1200.00 \n", + "13540 Northbound 7.60 252.00 1200.00 \n", + "13541 Northbound 7.60 222.00 1200.00 \n", + "13542 Northbound 7.60 256.00 1200.00 \n", + "13543 Northbound 7.60 305.00 1200.00 \n", + "13544 Northbound 7.60 356.00 1800.00 \n", + "13545 Northbound 7.60 387.00 1200.00 \n", + "13546 Northbound 7.60 362.00 1200.00 \n", + "13547 Northbound 7.60 319.00 1200.00 \n", + "13548 Northbound 7.60 281.00 1200.00 \n", + "13549 Northbound 7.60 323.00 1200.00 \n", + "13550 Northbound 7.60 139.00 3420.00 \n", + "13551 Northbound 7.60 512.00 1380.00 \n", + "13552 Northbound 7.60 434.00 1380.00 \n", + "13553 Northbound 7.60 386.00 1390.00 \n", + "13554 Northbound 7.60 280.00 1413.00 \n", + "13555 Northbound 7.60 235.00 1422.00 \n", + "13556 Northbound 7.60 149.00 1440.00 \n", + "13557 Northbound 7.60 96.00 1440.00 \n", + "13558 Northbound 7.60 48.00 1440.00 \n", + "13559 Northbound 7.60 -23.00 1440.00 \n", + "13560 Northbound 7.60 385.00 1440.00 \n", + "13561 Northbound 7.60 342.00 1440.00 \n", + "13562 Northbound 7.60 320.00 1440.00 \n", + "13563 Northbound 7.60 266.00 1440.00 \n", + "13564 Northbound 7.60 224.00 1440.00 \n", + "13565 Northbound 7.60 164.00 1440.00 \n", + "13566 Northbound 7.60 116.00 1440.00 \n", + "13567 Northbound 7.60 67.00 1440.00 \n", + "13568 Northbound 7.60 35.00 1440.00 \n", + "13569 Northbound 7.60 731.00 2649.00 \n", + "13570 Northbound 7.60 939.00 2657.00 \n", + "13571 Northbound 7.60 857.00 2671.00 \n", + "13572 Northbound 7.60 819.00 2677.00 \n", + "13573 Northbound 7.60 782.00 2684.00 \n", + "13574 Northbound 7.60 758.00 2688.00 \n", + "13575 Northbound 7.60 732.00 2693.00 \n", + "13576 Northbound 7.60 689.00 2700.00 \n", + "13577 Northbound 7.60 634.00 2700.00 \n", + "13578 Northbound 7.60 558.00 2700.00 \n", + "13579 Northbound 7.60 125.00 26032.00 \n", + "13580 Northbound 7.60 69.00 26014.00 \n", + "13581 Northbound 7.60 147.00 25997.00 \n", + "13582 Northbound 7.60 184.00 25988.00 \n", + "13583 Northbound 7.60 266.00 25969.00 \n", + "13584 Northbound 7.60 315.00 25957.00 \n", "\n", " avg_schd_headway_sec std_dev_headway bunching_coefficient \\\n", + "13438 1750.80 859.58 0.49 \n", + "13439 1356.00 987.75 0.73 \n", + "13440 1356.00 1338.73 0.99 \n", + "13441 1450.00 1193.62 0.82 \n", + "13442 1450.00 1055.87 0.73 \n", + "13443 1449.00 984.31 0.68 \n", + "13444 1447.33 969.72 0.67 \n", + "13445 1445.50 960.66 0.66 \n", + "13446 1443.17 1062.23 0.74 \n", + "13447 1441.00 967.76 0.67 \n", + "13448 1437.17 1001.17 0.70 \n", + "13449 1433.67 886.53 0.62 \n", + "13450 1430.00 803.93 0.56 \n", + "13451 1427.50 941.18 0.66 \n", + "13452 1426.00 932.35 0.65 \n", + "13453 1424.00 930.60 0.65 \n", + "13454 1422.17 917.04 0.64 \n", + "13455 1420.00 890.35 0.63 \n", + "13456 1417.33 842.14 0.59 \n", + "13457 1415.17 853.78 0.60 \n", + "13458 1412.00 877.26 0.62 \n", + "13459 1410.00 847.24 0.60 \n", + "13460 1410.00 894.36 0.63 \n", + "13461 1410.00 889.16 0.63 \n", + "13462 1410.00 816.53 0.58 \n", + "13463 1747.25 2038.94 1.17 \n", + "13464 1741.25 2009.71 1.15 \n", + "13465 1731.25 2018.87 1.17 \n", + "13466 2300.00 1964.53 0.85 \n", + "13467 667.41 607.17 0.91 \n", + "13468 2847.00 3207.45 1.13 \n", + "13469 3163.33 3716.39 1.17 \n", + "13470 4080.00 2585.23 0.63 \n", + "13471 2448.00 2267.96 0.93 \n", + "13472 670.11 697.52 1.04 \n", + "13473 541.11 585.82 1.08 \n", + "13474 488.81 490.90 1.00 \n", + "13475 537.05 473.99 0.88 \n", + "13476 488.96 447.40 0.92 \n", + "13477 474.78 510.22 1.07 \n", + "13478 478.25 465.59 0.97 \n", + "13479 481.76 506.55 1.05 \n", + "13480 478.25 460.54 0.96 \n", + "13481 471.68 456.52 0.97 \n", + "13482 475.15 440.51 0.93 \n", + "13483 493.28 433.74 0.88 \n", + "13484 505.09 429.18 0.85 \n", + "13485 514.25 454.35 0.88 \n", + "13486 502.30 418.43 0.83 \n", + "13487 487.13 428.07 0.88 \n", + "13488 487.33 398.89 0.82 \n", + "13489 483.76 428.27 0.89 \n", + "13490 483.86 415.21 0.86 \n", + "13491 495.26 441.33 0.89 \n", + "13492 491.54 461.85 0.94 \n", + "13493 476.69 477.07 1.00 \n", + "13494 480.18 465.28 0.97 \n", + "13495 483.64 480.04 0.99 \n", + "13496 510.72 504.53 0.99 \n", + "13497 514.84 463.11 0.90 \n", + "13498 502.68 451.79 0.90 \n", + "13499 503.52 471.39 0.94 \n", + "13500 528.91 491.23 0.93 \n", + "13501 547.30 522.61 0.95 \n", + "13502 638.12 670.02 1.05 \n", + "13503 685.95 609.84 0.89 \n", + "13504 784.65 726.81 0.93 \n", + "13505 949.60 901.10 0.95 \n", + "13506 1288.17 1136.06 0.88 \n", + "13507 1998.00 1930.33 0.97 \n", + "13508 2285.57 2086.17 0.91 \n", + "13509 2001.62 1915.69 0.96 \n", + "13510 2119.43 2074.16 0.98 \n", + "13511 2120.71 2127.13 1.00 \n", + "13512 2203.50 2721.05 1.23 \n", + "13513 494.23 774.16 1.57 \n", + "13514 522.41 662.84 1.27 \n", + "13515 548.52 673.53 1.23 \n", + "13516 490.09 579.19 1.18 \n", + "13517 493.54 458.91 0.93 \n", + "13518 465.61 497.40 1.07 \n", + "13519 472.11 474.28 1.00 \n", + "13520 485.74 501.37 1.03 \n", + "13521 475.25 562.81 1.18 \n", + "13522 500.45 595.67 1.19 \n", + "13523 500.45 571.38 1.14 \n", + "13524 500.38 529.74 1.06 \n", + "13525 504.02 559.89 1.11 \n", + "13526 511.77 589.86 1.15 \n", + "13527 515.62 569.04 1.10 \n", + "13528 507.69 578.80 1.14 \n", + "13529 511.63 588.33 1.15 \n", + "13530 500.00 637.63 1.28 \n", + "13531 503.96 602.80 1.20 \n", + "13532 519.96 553.41 1.06 \n", + "13533 524.14 565.72 1.08 \n", + "13534 528.48 541.85 1.03 \n", + "13535 532.83 599.57 1.13 \n", + "13536 528.70 542.01 1.03 \n", + "13537 537.39 531.92 0.99 \n", + "13538 546.38 587.42 1.08 \n", + "13539 533.23 498.35 0.93 \n", + "13540 546.37 507.60 0.93 \n", + "13541 573.66 526.24 0.92 \n", + "13542 576.48 517.80 0.90 \n", + "13543 587.00 547.59 0.93 \n", + "13544 640.57 587.36 0.92 \n", + "13545 603.51 556.83 0.92 \n", + "13546 673.34 596.40 0.89 \n", + "13547 752.47 602.34 0.80 \n", + "13548 1048.52 996.68 0.95 \n", + "13549 1142.14 1083.96 0.95 \n", + "13550 3536.00 2775.64 0.78 \n", + "13551 1180.44 1271.49 1.08 \n", + "13552 2310.00 1951.50 0.84 \n", + "13553 1785.00 1202.44 0.67 \n", + "13554 1197.56 1059.36 0.88 \n", + "13555 1200.56 1059.23 0.88 \n", + "13556 1206.67 1062.96 0.88 \n", + "13557 1208.78 1057.16 0.87 \n", + "13558 1210.56 1046.98 0.86 \n", + "13559 1213.33 1039.30 0.86 \n", + "13560 1217.56 1006.33 0.83 \n", + "13561 1221.00 1000.55 0.82 \n", + "13562 1222.67 977.23 0.80 \n", + "13563 1226.67 971.52 0.79 \n", + "13564 1229.11 962.78 0.78 \n", + "13565 1386.75 1154.44 0.83 \n", + "13566 1389.75 1133.43 0.82 \n", + "13567 1607.33 1269.40 0.79 \n", + "13568 1610.00 1944.43 1.21 \n", + "13569 1597.00 1277.63 0.80 \n", + "13570 1599.14 1254.37 0.78 \n", + "13571 1603.29 1282.64 0.80 \n", + "13572 1605.00 1314.58 0.82 \n", + "13573 1606.86 1345.90 0.84 \n", + "13574 1608.14 1345.93 0.84 \n", + "13575 1609.43 1346.13 0.84 \n", + "13576 1880.00 1414.44 0.75 \n", + "13577 3044.67 858.81 0.28 \n", + "13578 3570.00 547.30 0.15 \n", + "13579 10060.75 11234.06 1.12 \n", + "13580 10052.00 11137.09 1.11 \n", + "13581 10043.25 11127.56 1.11 \n", + "13582 10039.00 11171.84 1.11 \n", + "13583 10029.50 11270.50 1.12 \n", "13584 10023.50 11333.78 1.13 \n", "\n", - " avg_schd_headway_min passenger_op_perspective \n", - "13584 167.06 Most vehicles bunched " + " avg_schd_headway_min passenger_op_perspective \n", + "13438 29.18 Irregular headways, with some bunching \n", + "13439 22.60 Frequent bunching \n", + "13440 22.60 Most vehicles bunched \n", + "13441 24.17 Most vehicles bunched \n", + "13442 24.17 Frequent bunching \n", + "13443 24.15 Frequent bunching \n", + "13444 24.12 Frequent bunching \n", + "13445 24.09 Frequent bunching \n", + "13446 24.05 Frequent bunching \n", + "13447 24.02 Frequent bunching \n", + "13448 23.95 Frequent bunching \n", + "13449 23.89 Frequent bunching \n", + "13450 23.83 Frequent bunching \n", + "13451 23.79 Frequent bunching \n", + "13452 23.77 Frequent bunching \n", + "13453 23.73 Frequent bunching \n", + "13454 23.70 Frequent bunching \n", + "13455 23.67 Frequent bunching \n", + "13456 23.62 Frequent bunching \n", + "13457 23.59 Frequent bunching \n", + "13458 23.53 Frequent bunching \n", + "13459 23.50 Frequent bunching \n", + "13460 23.50 Frequent bunching \n", + "13461 23.50 Frequent bunching \n", + "13462 23.50 Frequent bunching \n", + "13463 29.12 Most vehicles bunched \n", + "13464 29.02 Most vehicles bunched \n", + "13465 28.85 Most vehicles bunched \n", + "13466 38.33 Most vehicles bunched \n", + "13467 11.12 Most vehicles bunched \n", + "13468 47.45 Most vehicles bunched \n", + "13469 52.72 Most vehicles bunched \n", + "13470 68.00 Frequent bunching \n", + "13471 40.80 Most vehicles bunched \n", + "13472 11.17 Most vehicles bunched \n", + "13473 9.02 Most vehicles bunched \n", + "13474 8.15 Most vehicles bunched \n", + "13475 8.95 Most vehicles bunched \n", + "13476 8.15 Most vehicles bunched \n", + "13477 7.91 Most vehicles bunched \n", + "13478 7.97 Most vehicles bunched \n", + "13479 8.03 Most vehicles bunched \n", + "13480 7.97 Most vehicles bunched \n", + "13481 7.86 Most vehicles bunched \n", + "13482 7.92 Most vehicles bunched \n", + "13483 8.22 Most vehicles bunched \n", + "13484 8.42 Most vehicles bunched \n", + "13485 8.57 Most vehicles bunched \n", + "13486 8.37 Most vehicles bunched \n", + "13487 8.12 Most vehicles bunched \n", + "13488 8.12 Most vehicles bunched \n", + "13489 8.06 Most vehicles bunched \n", + "13490 8.06 Most vehicles bunched \n", + "13491 8.25 Most vehicles bunched \n", + "13492 8.19 Most vehicles bunched \n", + "13493 7.94 Most vehicles bunched \n", + "13494 8.00 Most vehicles bunched \n", + "13495 8.06 Most vehicles bunched \n", + "13496 8.51 Most vehicles bunched \n", + "13497 8.58 Most vehicles bunched \n", + "13498 8.38 Most vehicles bunched \n", + "13499 8.39 Most vehicles bunched \n", + "13500 8.82 Most vehicles bunched \n", + "13501 9.12 Most vehicles bunched \n", + "13502 10.64 Most vehicles bunched \n", + "13503 11.43 Most vehicles bunched \n", + "13504 13.08 Most vehicles bunched \n", + "13505 15.83 Most vehicles bunched \n", + "13506 21.47 Most vehicles bunched \n", + "13507 33.30 Most vehicles bunched \n", + "13508 38.09 Most vehicles bunched \n", + "13509 33.36 Most vehicles bunched \n", + "13510 35.32 Most vehicles bunched \n", + "13511 35.35 Most vehicles bunched \n", + "13512 36.73 Most vehicles bunched \n", + "13513 8.24 Most vehicles bunched \n", + "13514 8.71 Most vehicles bunched \n", + "13515 9.14 Most vehicles bunched \n", + "13516 8.17 Most vehicles bunched \n", + "13517 8.23 Most vehicles bunched \n", + "13518 7.76 Most vehicles bunched \n", + "13519 7.87 Most vehicles bunched \n", + "13520 8.10 Most vehicles bunched \n", + "13521 7.92 Most vehicles bunched \n", + "13522 8.34 Most vehicles bunched \n", + "13523 8.34 Most vehicles bunched \n", + "13524 8.34 Most vehicles bunched \n", + "13525 8.40 Most vehicles bunched \n", + "13526 8.53 Most vehicles bunched \n", + "13527 8.59 Most vehicles bunched \n", + "13528 8.46 Most vehicles bunched \n", + "13529 8.53 Most vehicles bunched \n", + "13530 8.33 Most vehicles bunched \n", + "13531 8.40 Most vehicles bunched \n", + "13532 8.67 Most vehicles bunched \n", + "13533 8.74 Most vehicles bunched \n", + "13534 8.81 Most vehicles bunched \n", + "13535 8.88 Most vehicles bunched \n", + "13536 8.81 Most vehicles bunched \n", + "13537 8.96 Most vehicles bunched \n", + "13538 9.11 Most vehicles bunched \n", + "13539 8.89 Most vehicles bunched \n", + "13540 9.11 Most vehicles bunched \n", + "13541 9.56 Most vehicles bunched \n", + "13542 9.61 Most vehicles bunched \n", + "13543 9.78 Most vehicles bunched \n", + "13544 10.68 Most vehicles bunched \n", + "13545 10.06 Most vehicles bunched \n", + "13546 11.22 Most vehicles bunched \n", + "13547 12.54 Most vehicles bunched \n", + "13548 17.48 Most vehicles bunched \n", + "13549 19.04 Most vehicles bunched \n", + "13550 58.93 Most vehicles bunched \n", + "13551 19.67 Most vehicles bunched \n", + "13552 38.50 Most vehicles bunched \n", + "13553 29.75 Frequent bunching \n", + "13554 19.96 Most vehicles bunched \n", + "13555 20.01 Most vehicles bunched \n", + "13556 20.11 Most vehicles bunched \n", + "13557 20.15 Most vehicles bunched \n", + "13558 20.18 Most vehicles bunched \n", + "13559 20.22 Most vehicles bunched \n", + "13560 20.29 Most vehicles bunched \n", + "13561 20.35 Most vehicles bunched \n", + "13562 20.38 Most vehicles bunched \n", + "13563 20.44 Most vehicles bunched \n", + "13564 20.49 Most vehicles bunched \n", + "13565 23.11 Most vehicles bunched \n", + "13566 23.16 Most vehicles bunched \n", + "13567 26.79 Most vehicles bunched \n", + "13568 26.83 Most vehicles bunched \n", + "13569 26.62 Most vehicles bunched \n", + "13570 26.65 Most vehicles bunched \n", + "13571 26.72 Most vehicles bunched \n", + "13572 26.75 Most vehicles bunched \n", + "13573 26.78 Most vehicles bunched \n", + "13574 26.80 Most vehicles bunched \n", + "13575 26.82 Most vehicles bunched \n", + "13576 31.33 Most vehicles bunched \n", + "13577 50.74 Vehicles slightly off headway \n", + "13578 59.50 Service provided like clockwork \n", + "13579 167.68 Most vehicles bunched \n", + "13580 167.53 Most vehicles bunched \n", + "13581 167.39 Most vehicles bunched \n", + "13582 167.32 Most vehicles bunched \n", + "13583 167.16 Most vehicles bunched \n", + "13584 167.06 Most vehicles bunched " ] }, - "execution_count": 99, + "execution_count": 98, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "fillmore.tail(1)" + "fillmore" ] }, { @@ -6952,13 +8810,13 @@ "id": "fb80489d-124b-4331-9b31-f6950c882bde", "metadata": {}, "source": [ - "#### What do you do with scheduled headways that are pretty extreme compared to the other rows?\n", + "#### Test 1: What do you do with scheduled headways that are pretty extreme compared to the other rows?\n", "* One headway is scheduled for 7 hours?" ] }, { "cell_type": "code", - "execution_count": 101, + "execution_count": 99, "id": "dc7dfad6-3972-4a84-8524-fec4f7beb9bf", "metadata": {}, "outputs": [ @@ -6968,18 +8826,18 @@ "7.266666666666667" ] }, - "execution_count": 101, + "execution_count": 99, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "436/60" + "436 / 60" ] }, { "cell_type": "code", - "execution_count": 102, + "execution_count": 100, "id": "6f817056-5594-45d1-9bfa-fdd1343fbea7", "metadata": {}, "outputs": [ @@ -7188,22 +9046,24 @@ "443920 133.62 " ] }, - "execution_count": 102, + "execution_count": 100, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "m2.loc[(m2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", - " (m2.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", - " (m2.route_id== \"22\") &\n", - " (m2.direction_id == 1) &\n", - " (m2.stop_id == \"17769\")]" + "m2.loc[\n", + " (m2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (m2.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", + " & (m2.route_id == \"22\")\n", + " & (m2.direction_id == 1)\n", + " & (m2.stop_id == \"17769\")\n", + "]" ] }, { "cell_type": "code", - "execution_count": 103, + "execution_count": 101, "id": "5139303d-7405-46c8-b789-5a1926a04f00", "metadata": {}, "outputs": [ @@ -7371,22 +9231,24 @@ "689073 Northbound 7.60 " ] }, - "execution_count": 103, + "execution_count": 101, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times2.loc[(rt_stop_times2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", - " (rt_stop_times2.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", - " (rt_stop_times2.route_id== \"22\") &\n", - " (rt_stop_times2.direction_id == 1) &\n", - " (rt_stop_times2.stop_id == \"17769\")]" + "rt_stop_times2.loc[\n", + " (rt_stop_times2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (rt_stop_times2.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", + " & (rt_stop_times2.route_id == \"22\")\n", + " & (rt_stop_times2.direction_id == 1)\n", + " & (rt_stop_times2.stop_id == \"17769\")\n", + "]" ] }, { "cell_type": "code", - "execution_count": 104, + "execution_count": 102, "id": "439550dd-7c0b-42df-9696-df40111a54c4", "metadata": {}, "outputs": [ @@ -7554,22 +9416,24 @@ "661663 Northbound 7.60 " ] }, - "execution_count": 104, + "execution_count": 102, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times3.loc[(rt_stop_times3.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", - " (rt_stop_times3.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", - " (rt_stop_times3.route_id== \"22\") &\n", - " (rt_stop_times3.direction_id == 1) &\n", - " (rt_stop_times3.stop_id == \"17769\")]" + "rt_stop_times3.loc[\n", + " (rt_stop_times3.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (rt_stop_times3.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", + " & (rt_stop_times3.route_id == \"22\")\n", + " & (rt_stop_times3.direction_id == 1)\n", + " & (rt_stop_times3.stop_id == \"17769\")\n", + "]" ] }, { "cell_type": "code", - "execution_count": 105, + "execution_count": 103, "id": "46168b64-d96c-4cfa-854a-54c18d4c9ad9", "metadata": {}, "outputs": [ @@ -7743,22 +9607,24 @@ "462159 Northbound 7.60 -560.00 " ] }, - "execution_count": 105, + "execution_count": 103, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times4.loc[(rt_stop_times4.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", - " (rt_stop_times4.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", - " (rt_stop_times4.route_id== \"22\") &\n", - " (rt_stop_times4.direction_id == 1) &\n", - " (rt_stop_times4.stop_id == \"17769\")]" + "rt_stop_times4.loc[\n", + " (rt_stop_times4.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (rt_stop_times4.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", + " & (rt_stop_times4.route_id == \"22\")\n", + " & (rt_stop_times4.direction_id == 1)\n", + " & (rt_stop_times4.stop_id == \"17769\")\n", + "]" ] }, { "cell_type": "code", - "execution_count": 106, + "execution_count": 104, "id": "29965fba-547b-4176-9844-f3bd8f56e612", "metadata": {}, "outputs": [ @@ -7768,18 +9634,18 @@ "11.615277777777777" ] }, - "execution_count": 106, + "execution_count": 104, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "41815/60/60" + "41815 / 60 / 60" ] }, { "cell_type": "code", - "execution_count": 107, + "execution_count": 105, "id": "659d98b2-ba85-4633-9f03-267eddc4ab49", "metadata": {}, "outputs": [ @@ -7972,22 +9838,24 @@ "461681 8017.00 " ] }, - "execution_count": 107, + "execution_count": 105, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times5.loc[(rt_stop_times5.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", - " (rt_stop_times5.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", - " (rt_stop_times5.route_id== \"22\") &\n", - " (rt_stop_times5.direction_id == 1) &\n", - " (rt_stop_times5.stop_id == \"17769\")]" + "rt_stop_times5.loc[\n", + " (rt_stop_times5.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (rt_stop_times5.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", + " & (rt_stop_times5.route_id == \"22\")\n", + " & (rt_stop_times5.direction_id == 1)\n", + " & (rt_stop_times5.stop_id == \"17769\")\n", + "]" ] }, { "cell_type": "code", - "execution_count": 108, + "execution_count": 106, "id": "3342cb5c-55d0-4f15-bb1e-7e96925d4bbe", "metadata": {}, "outputs": [ @@ -8180,17 +10048,5430 @@ "461681 8017.00 " ] }, - "execution_count": 108, + "execution_count": 106, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times5.loc[\n", + " (rt_stop_times5.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (rt_stop_times5.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", + " & (rt_stop_times5.route_id == \"22\")\n", + " & (rt_stop_times5.direction_id == 1)\n", + " & (rt_stop_times5.stop_id == \"17769\")\n", + "]" + ] + }, + { + "cell_type": "markdown", + "id": "51095a44-a994-4519-9c73-8516c4a4f404", + "metadata": {}, + "source": [ + "#### Test 2" + ] + }, + { + "cell_type": "code", + "execution_count": 107, + "id": "50298f10-b5cf-4d6b-acfd-8cc2311e152b", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayschd_headwayavg_schd_headway_secstd_dev_headwaybunching_coefficientavg_schd_headway_minpassenger_op_perspective
1358411490047_M31177697
\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headwayavg_schd_headway_secstd_dev_headwaybunching_coefficientavg_schd_headway_minactual_headway_minsched_headway_min
43466911489975_M31164911069000.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69043221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6143.002134.001920.001450.001055.870.7324.1735.5732.00
43467011489815_M31164911069360.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869454221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6194.00411.00360.001450.001055.870.7324.176.856.00
43467111489816_M31164911069900.007cc0cb1871dfd558f11a2885c145d1445cd2523ccd8c33e277aaae0ac9af35c870287221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61387.00833.00540.001450.001055.870.7324.1713.889.00
43467211489817_M31164911072900.007cc0cb1871dfd558f11a2885c145d14445830206e5f4a07c06e520968f4b789f73061221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61161.002774.003000.001450.001055.870.7324.1746.2350.00
43467311489861_M31164911074340.007cc0cb1871dfd558f11a2885c145d144a28a9fc884812bbb9e404de1dd970ccd75431221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.611091.002370.001440.001450.001055.870.7324.1739.5024.00
43467411489818_M31164911075780.007cc0cb1871dfd558f11a2885c145d144c20c26a42e6277dd327fe1280cead6a875853221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6173.00422.001440.001450.001055.870.7324.177.0324.00
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "434669 11489975_M31 16491 10 69000.00 \n", + "434670 11489815_M31 16491 10 69360.00 \n", + "434671 11489816_M31 16491 10 69900.00 \n", + "434672 11489817_M31 16491 10 72900.00 \n", + "434673 11489861_M31 16491 10 74340.00 \n", + "434674 11489818_M31 16491 10 75780.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "434669 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "434670 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "434671 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", + "434672 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", + "434673 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", + "434674 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "434669 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "434670 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "434671 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "434672 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "434673 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "434674 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "434669 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "434670 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "434671 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "434672 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "434673 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "434674 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "434669 Southbound 7.61 43.00 2134.00 \n", + "434670 Southbound 7.61 94.00 411.00 \n", + "434671 Southbound 7.61 387.00 833.00 \n", + "434672 Southbound 7.61 161.00 2774.00 \n", + "434673 Southbound 7.61 1091.00 2370.00 \n", + "434674 Southbound 7.61 73.00 422.00 \n", + "\n", + " schd_headway avg_schd_headway_sec std_dev_headway \\\n", + "434669 1920.00 1450.00 1055.87 \n", + "434670 360.00 1450.00 1055.87 \n", + "434671 540.00 1450.00 1055.87 \n", + "434672 3000.00 1450.00 1055.87 \n", + "434673 1440.00 1450.00 1055.87 \n", + "434674 1440.00 1450.00 1055.87 \n", + "\n", + " bunching_coefficient avg_schd_headway_min actual_headway_min \\\n", + "434669 0.73 24.17 35.57 \n", + "434670 0.73 24.17 6.85 \n", + "434671 0.73 24.17 13.88 \n", + "434672 0.73 24.17 46.23 \n", + "434673 0.73 24.17 39.50 \n", + "434674 0.73 24.17 7.03 \n", + "\n", + " sched_headway_min \n", + "434669 32.00 \n", + "434670 6.00 \n", + "434671 9.00 \n", + "434672 50.00 \n", + "434673 24.00 \n", + "434674 24.00 " + ] + }, + "execution_count": 107, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "m2.loc[\n", + " (m2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (m2.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (m2.route_id == \"22\")\n", + " & (m2.direction_id == 0)\n", + " & (m2.stop_id == \"16491\")\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 108, + "id": "29847f65-12ec-4108-887c-71bd3097bffd", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
56506811489815_M31164911069360.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869454221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
56654211489969_M31164911067080.007cc0cb1871dfd558f11a2885c145d144b73ff68241fdcb9ff5a3f3be424b226866909221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
60514711489817_M31164911072900.007cc0cb1871dfd558f11a2885c145d14445830206e5f4a07c06e520968f4b789f73061221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
60671311489861_M31164911074340.007cc0cb1871dfd558f11a2885c145d144a28a9fc884812bbb9e404de1dd970ccd75431221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
61612911489818_M31164911075780.007cc0cb1871dfd558f11a2885c145d144c20c26a42e6277dd327fe1280cead6a875853221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
62718511489820_M31164911088620.007cc0cb1871dfd558f11a2885c145d144df2fe2bd0d1a3490250578dd0cf8f0692272221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
64309311489816_M31164911069900.007cc0cb1871dfd558f11a2885c145d1445cd2523ccd8c33e277aaae0ac9af35c870287221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
64809511489821_M31164911089220.007cc0cb1871dfd558f11a2885c145d144515ade67689a882a95148e68b58ab9132581221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
68045911489975_M31164911069000.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69043221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "565068 11489815_M31 16491 10 69360.00 \n", + "566542 11489969_M31 16491 10 67080.00 \n", + "605147 11489817_M31 16491 10 72900.00 \n", + "606713 11489861_M31 16491 10 74340.00 \n", + "616129 11489818_M31 16491 10 75780.00 \n", + "627185 11489820_M31 16491 10 88620.00 \n", + "643093 11489816_M31 16491 10 69900.00 \n", + "648095 11489821_M31 16491 10 89220.00 \n", + "680459 11489975_M31 16491 10 69000.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "565068 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "566542 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", + "605147 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", + "606713 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", + "616129 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + "627185 7cc0cb1871dfd558f11a2885c145d144 df2fe2bd0d1a3490250578dd0cf8f069 \n", + "643093 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", + "648095 7cc0cb1871dfd558f11a2885c145d144 515ade67689a882a95148e68b58ab913 \n", + "680459 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "565068 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "566542 66909 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "605147 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "606713 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "616129 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "627185 2272 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "643093 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "648095 2581 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "680459 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "565068 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "566542 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "605147 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "606713 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "616129 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "627185 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "643093 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "648095 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "680459 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes \n", + "565068 Southbound 7.61 \n", + "566542 Southbound 7.61 \n", + "605147 Southbound 7.61 \n", + "606713 Southbound 7.61 \n", + "616129 Southbound 7.61 \n", + "627185 Southbound 7.61 \n", + "643093 Southbound 7.61 \n", + "648095 Southbound 7.61 \n", + "680459 Southbound 7.61 " + ] + }, + "execution_count": 108, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.loc[\n", + " (rt_stop_times2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (rt_stop_times2.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (rt_stop_times2.route_id == \"22\")\n", + " & (rt_stop_times2.direction_id == 0)\n", + " & (rt_stop_times2.stop_id == \"16491\")\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 109, + "id": "d9a7abbb-6794-4e09-a6a9-9b6ff2428059", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
54306111489815_M31164911069360.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869454221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
54447311489969_M31164911067080.007cc0cb1871dfd558f11a2885c145d144b73ff68241fdcb9ff5a3f3be424b226866909221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
58128311489817_M31164911072900.007cc0cb1871dfd558f11a2885c145d14445830206e5f4a07c06e520968f4b789f73061221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
58271011489861_M31164911074340.007cc0cb1871dfd558f11a2885c145d144a28a9fc884812bbb9e404de1dd970ccd75431221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
59173811489818_M31164911075780.007cc0cb1871dfd558f11a2885c145d144c20c26a42e6277dd327fe1280cead6a875853221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
61734311489816_M31164911069900.007cc0cb1871dfd558f11a2885c145d1445cd2523ccd8c33e277aaae0ac9af35c870287221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
65326511489975_M31164911069000.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69043221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "543061 11489815_M31 16491 10 69360.00 \n", + "544473 11489969_M31 16491 10 67080.00 \n", + "581283 11489817_M31 16491 10 72900.00 \n", + "582710 11489861_M31 16491 10 74340.00 \n", + "591738 11489818_M31 16491 10 75780.00 \n", + "617343 11489816_M31 16491 10 69900.00 \n", + "653265 11489975_M31 16491 10 69000.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "543061 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "544473 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", + "581283 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", + "582710 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", + "591738 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + "617343 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", + "653265 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "543061 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "544473 66909 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "581283 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "582710 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "591738 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "617343 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "653265 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "543061 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "544473 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "581283 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "582710 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "591738 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "617343 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "653265 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes \n", + "543061 Southbound 7.61 \n", + "544473 Southbound 7.61 \n", + "581283 Southbound 7.61 \n", + "582710 Southbound 7.61 \n", + "591738 Southbound 7.61 \n", + "617343 Southbound 7.61 \n", + "653265 Southbound 7.61 " + ] + }, + "execution_count": 109, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times3.loc[\n", + " (rt_stop_times3.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (rt_stop_times3.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (rt_stop_times3.route_id == \"22\")\n", + " & (rt_stop_times3.direction_id == 0)\n", + " & (rt_stop_times3.stop_id == \"16491\")\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 110, + "id": "efe65aa9-6a2b-4bea-8de7-485872eed04b", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelay
45272411489969_M31164911067080.007cc0cb1871dfd558f11a2885c145d144b73ff68241fdcb9ff5a3f3be424b226866909221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-171.00
45272511489975_M31164911069000.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69043221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6143.00
45272611489815_M31164911069360.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869454221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6194.00
45272711489816_M31164911069900.007cc0cb1871dfd558f11a2885c145d1445cd2523ccd8c33e277aaae0ac9af35c870287221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61387.00
45272811489817_M31164911072900.007cc0cb1871dfd558f11a2885c145d14445830206e5f4a07c06e520968f4b789f73061221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61161.00
45272911489861_M31164911074340.007cc0cb1871dfd558f11a2885c145d144a28a9fc884812bbb9e404de1dd970ccd75431221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.611091.00
45273011489818_M31164911075780.007cc0cb1871dfd558f11a2885c145d144c20c26a42e6277dd327fe1280cead6a875853221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6173.00
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "452724 11489969_M31 16491 10 67080.00 \n", + "452725 11489975_M31 16491 10 69000.00 \n", + "452726 11489815_M31 16491 10 69360.00 \n", + "452727 11489816_M31 16491 10 69900.00 \n", + "452728 11489817_M31 16491 10 72900.00 \n", + "452729 11489861_M31 16491 10 74340.00 \n", + "452730 11489818_M31 16491 10 75780.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "452724 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", + "452725 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "452726 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "452727 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", + "452728 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", + "452729 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", + "452730 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "452724 66909 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452725 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452726 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452727 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452728 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452729 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452730 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "452724 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452725 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452726 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452727 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452728 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452729 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452730 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay \n", + "452724 Southbound 7.61 -171.00 \n", + "452725 Southbound 7.61 43.00 \n", + "452726 Southbound 7.61 94.00 \n", + "452727 Southbound 7.61 387.00 \n", + "452728 Southbound 7.61 161.00 \n", + "452729 Southbound 7.61 1091.00 \n", + "452730 Southbound 7.61 73.00 " + ] + }, + "execution_count": 110, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times4.loc[\n", + " (rt_stop_times4.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (rt_stop_times4.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (rt_stop_times4.route_id == \"22\")\n", + " & (rt_stop_times4.direction_id == 0)\n", + " & (rt_stop_times4.stop_id == \"16491\")\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 111, + "id": "39501e48-a1d9-489c-b868-c82584943b85", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headway
45228311489969_M31164911067080.007cc0cb1871dfd558f11a2885c145d144b73ff68241fdcb9ff5a3f3be424b226866909221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-171.00NaNNaN
45228411489975_M31164911069000.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69043221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6143.002134.001920.00
45228511489815_M31164911069360.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869454221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6194.00411.00360.00
45228611489816_M31164911069900.007cc0cb1871dfd558f11a2885c145d1445cd2523ccd8c33e277aaae0ac9af35c870287221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61387.00833.00540.00
45228711489817_M31164911072900.007cc0cb1871dfd558f11a2885c145d14445830206e5f4a07c06e520968f4b789f73061221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61161.002774.003000.00
45228811489861_M31164911074340.007cc0cb1871dfd558f11a2885c145d144a28a9fc884812bbb9e404de1dd970ccd75431221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.611091.002370.001440.00
45228911489818_M31164911075780.007cc0cb1871dfd558f11a2885c145d144c20c26a42e6277dd327fe1280cead6a875853221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6173.00422.001440.00
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "452283 11489969_M31 16491 10 67080.00 \n", + "452284 11489975_M31 16491 10 69000.00 \n", + "452285 11489815_M31 16491 10 69360.00 \n", + "452286 11489816_M31 16491 10 69900.00 \n", + "452287 11489817_M31 16491 10 72900.00 \n", + "452288 11489861_M31 16491 10 74340.00 \n", + "452289 11489818_M31 16491 10 75780.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "452283 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", + "452284 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "452285 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "452286 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", + "452287 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", + "452288 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", + "452289 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "452283 66909 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452284 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452285 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452286 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452287 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452288 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452289 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "452283 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452284 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452285 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452286 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452287 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452288 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452289 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "452283 Southbound 7.61 -171.00 NaN \n", + "452284 Southbound 7.61 43.00 2134.00 \n", + "452285 Southbound 7.61 94.00 411.00 \n", + "452286 Southbound 7.61 387.00 833.00 \n", + "452287 Southbound 7.61 161.00 2774.00 \n", + "452288 Southbound 7.61 1091.00 2370.00 \n", + "452289 Southbound 7.61 73.00 422.00 \n", + "\n", + " schd_headway \n", + "452283 NaN \n", + "452284 1920.00 \n", + "452285 360.00 \n", + "452286 540.00 \n", + "452287 3000.00 \n", + "452288 1440.00 \n", + "452289 1440.00 " + ] + }, + "execution_count": 111, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times5.loc[\n", + " (rt_stop_times5.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (rt_stop_times5.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (rt_stop_times5.route_id == \"22\")\n", + " & (rt_stop_times5.direction_id == 0)\n", + " & (rt_stop_times5.stop_id == \"16491\")\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 112, + "id": "c8f84fc1-78d7-46c9-9ad6-d28756d91050", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headway
43591311489975_M31164911069000.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69043221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6143.002134.001920.00
43591411489815_M31164911069360.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869454221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6194.00411.00360.00
43591511489816_M31164911069900.007cc0cb1871dfd558f11a2885c145d1445cd2523ccd8c33e277aaae0ac9af35c870287221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61387.00833.00540.00
43591611489817_M31164911072900.007cc0cb1871dfd558f11a2885c145d14445830206e5f4a07c06e520968f4b789f73061221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61161.002774.003000.00
43591711489861_M31164911074340.007cc0cb1871dfd558f11a2885c145d144a28a9fc884812bbb9e404de1dd970ccd75431221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.611091.002370.001440.00
43591811489818_M31164911075780.007cc0cb1871dfd558f11a2885c145d144c20c26a42e6277dd327fe1280cead6a875853221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6173.00422.001440.00
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "435913 11489975_M31 16491 10 69000.00 \n", + "435914 11489815_M31 16491 10 69360.00 \n", + "435915 11489816_M31 16491 10 69900.00 \n", + "435916 11489817_M31 16491 10 72900.00 \n", + "435917 11489861_M31 16491 10 74340.00 \n", + "435918 11489818_M31 16491 10 75780.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "435913 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "435914 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "435915 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", + "435916 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", + "435917 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", + "435918 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "435913 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "435914 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "435915 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "435916 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "435917 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "435918 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "435913 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "435914 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "435915 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "435916 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "435917 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "435918 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "435913 Southbound 7.61 43.00 2134.00 \n", + "435914 Southbound 7.61 94.00 411.00 \n", + "435915 Southbound 7.61 387.00 833.00 \n", + "435916 Southbound 7.61 161.00 2774.00 \n", + "435917 Southbound 7.61 1091.00 2370.00 \n", + "435918 Southbound 7.61 73.00 422.00 \n", + "\n", + " schd_headway \n", + "435913 1920.00 \n", + "435914 360.00 \n", + "435915 540.00 \n", + "435916 3000.00 \n", + "435917 1440.00 \n", + "435918 1440.00 " + ] + }, + "execution_count": 112, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times6.loc[\n", + " (rt_stop_times6.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (rt_stop_times6.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (rt_stop_times6.route_id == \"22\")\n", + " & (rt_stop_times6.direction_id == 0)\n", + " & (rt_stop_times6.stop_id == \"16491\")\n", + "]" + ] + }, + { + "cell_type": "markdown", + "id": "e9a5644a-3548-4ff8-9ce6-24edfcde1a35", + "metadata": { + "tags": [] + }, + "source": [ + "### [Transit Matters](https://transitmatters.org/blog/reveal-mbtas-slowest-most-bunched-bus)\n", + "* The following charts show bunching events as a pecentage of total trips. Here,\n", + "bunching is defined as headways < 25% of the scheduled_headway.\n", + "* Grain: operator-route_id-stop_id. " + ] + }, + { + "cell_type": "code", + "execution_count": 113, + "id": "eef2b8c9-d1c5-4ce0-9c24-ebcd109ce892", + "metadata": {}, + "outputs": [], + "source": [ + "# Using rt_stop_times5 since this already has the actual and scheduled headways" + ] + }, + { + "cell_type": "code", + "execution_count": 114, + "id": "511fd15e-b15e-43ae-9a1a-30f55d01da73", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "668646" + ] + }, + "execution_count": 114, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(rt_stop_times5)" + ] + }, + { + "cell_type": "code", + "execution_count": 115, + "id": "f0f0f4b7-fa64-4b01-a141-5dd78c59693b", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_df1 = rt_stop_times5.copy()" + ] + }, + { + "cell_type": "code", + "execution_count": 116, + "id": "7085873b-21c5-4578-ba0a-059a07843dfa", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headway
010105002681535-DEC234201256100.000666caf3ec1ecc96b74f4477ee4bc939657acf4c2ae320466a4fc09f1bbbba2656133105-131726b06373e4a70b2cb094870285bd92bec608992664173210532aa3e6cc573be2fMetro Local Line0.00Westbound14.5933.00NaNNaN
110105002681555-DEC234201257300.000666caf3ec1ecc96b74f4477ee4bc9391c45265e242009e9589b98d1ec99590757279105-131726b06373e4a70b2cb094870285bd92bec608992664173210532aa3e6cc573be2fMetro Local Line0.00Westbound14.59-21.001146.001200.00
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "0 10105002681535-DEC23 4201 2 56100.00 \n", + "1 10105002681555-DEC23 4201 2 57300.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "0 0666caf3ec1ecc96b74f4477ee4bc939 657acf4c2ae320466a4fc09f1bbbba26 \n", + "1 0666caf3ec1ecc96b74f4477ee4bc939 1c45265e242009e9589b98d1ec995907 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "0 56133 105-13172 6b06373e4a70b2cb094870285bd92bec \n", + "1 57279 105-13172 6b06373e4a70b2cb094870285bd92bec \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "0 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", + "1 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "0 Westbound 14.59 33.00 NaN \n", + "1 Westbound 14.59 -21.00 1146.00 \n", + "\n", + " schd_headway \n", + "0 NaN \n", + "1 1200.00 " + ] + }, + "execution_count": 116, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_df1.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 117, + "id": "7bea63e5-45d0-4d06-8c1c-fd34a69ffde7", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_df1[\"pct_actual_schd_headway\"] = (\n", + " transit_matters_df1.actual_headway / transit_matters_df1.schd_headway\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 118, + "id": "c67c6299-68f0-414f-a9c1-e0b27511b9e5", + "metadata": {}, + "outputs": [], + "source": [ + "import numpy as np\n", + "\n", + "transit_matters_df1[\"bunched_y_n\"] = np.where(\n", + " transit_matters_df1[\"pct_actual_schd_headway\"] < 0.25, \"bunched\", \"not bunched\"\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 119, + "id": "70bc7bfe-2306-498a-b0d7-e012d266d5fc", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "count 647207.00\n", + "mean 1.00\n", + "std 0.52\n", + "min -9.95\n", + "25% 0.81\n", + "50% 1.00\n", + "75% 1.19\n", + "max 12.38\n", + "Name: pct_actual_schd_headway, dtype: float64" + ] + }, + "execution_count": 119, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_df1.pct_actual_schd_headway.describe()" + ] + }, + { + "cell_type": "code", + "execution_count": 120, + "id": "c1950683-ae1a-46f3-bb2b-d0569164a1b7", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "not bunched 636013\n", + "bunched 32633\n", + "Name: bunched_y_n, dtype: int64" + ] + }, + "execution_count": 120, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_df1.bunched_y_n.value_counts(dropna=False)" + ] + }, + { + "cell_type": "code", + "execution_count": 121, + "id": "bd07fafd-dbf3-46dd-87bc-e0e78633f59d", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "not bunched 636013\n", + "bunched 32633\n", + "Name: bunched_y_n, dtype: int64" + ] + }, + "execution_count": 121, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_df1.bunched_y_n.value_counts(dropna=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 122, + "id": "e72f4e50-da82-4a59-8aae-fc6b79f91cc5", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_df2 = (\n", + " transit_matters_df1.groupby(\n", + " [\n", + " \"schedule_gtfs_dataset_key\",\n", + " \"route_long_name\",\n", + " \"shape_array_key\",\n", + " \"route_id\",\n", + " \"stop_id\",\n", + " \"direction_id\",\n", + " \"route_primary_direction\",\n", + " \"bunched_y_n\",\n", + " ]\n", + " )\n", + " .agg({\"trip_instance_key\": \"nunique\"})\n", + " .reset_index()\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 123, + "id": "2e27f1de-672f-48e0-96c3-0d43450b0739", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionbunched_y_ntrip_instance_key
00666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastboundbunched3
10666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastboundnot bunched84
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_long_name \\\n", + "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", + "1 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", + "\n", + " route_primary_direction bunched_y_n trip_instance_key \n", + "0 Eastbound bunched 3 \n", + "1 Eastbound not bunched 84 " + ] + }, + "execution_count": 123, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_df2.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 124, + "id": "ebf0e403-89c5-4b2c-b962-44affe3c0b42", + "metadata": {}, + "outputs": [], + "source": [ + "bunched_only = transit_matters_df2.loc[transit_matters_df2.bunched_y_n == \"bunched\"].reset_index(drop = True)" + ] + }, + { + "cell_type": "code", + "execution_count": 127, + "id": "6f94980e-b9c4-4c1e-a497-ea4b3f88c55b", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_agg = [\n", + " \"schedule_gtfs_dataset_key\",\n", + " \"route_long_name\",\n", + " \"shape_array_key\",\n", + " \"route_id\",\n", + " \"stop_id\",\n", + " \"direction_id\",\n", + " \"route_primary_direction\",\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 128, + "id": "dcca9769-aa67-48d5-9b06-acc86cade877", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_all_trips = (\n", + " transit_matters_df1.groupby(transit_matters_agg)\n", + " .agg({\"trip_instance_key\": \"nunique\"})\n", + " .reset_index()\n", + " .rename(columns={\"trip_instance_key\": \"all_trips\"})\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 129, + "id": "2f57e136-fc83-4eac-bc05-84f530e2f4b0", + "metadata": {}, + "outputs": [], + "source": [ + "bunched_only = pd.merge(\n", + " bunched_only,transit_matters_all_trips, on=transit_matters_agg, how = \"left\"\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 133, + "id": "55b8feb0-1e0a-4717-b966-ee360becfde5", + "metadata": {}, + "outputs": [], + "source": [ + "bunched_only[\"pct_trips_bunched\"] = (\n", + " bunched_only.trip_instance_key / bunched_only.all_trips * 100\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 135, + "id": "7213e2ad-8485-4e0a-b8b8-0aaf6dbae3ae", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_m1 = pd.merge(\n", + " transit_matters_all_trips, bunched_only, on=transit_matters_agg.append('all_trips'), how = \"left\"\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 136, + "id": "d96dde8f-8271-455a-b518-961a7ef670e0", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripsbunched_y_ntrip_instance_keypct_trips_bunched
00666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastbound87bunched3.003.45
10666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154160.00Eastbound81bunched5.006.17
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_long_name \\\n", + "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", + "1 12530c16e07a519c8a8543d487f26ade 901-13172 15416 0.00 \n", + "\n", + " route_primary_direction all_trips bunched_y_n trip_instance_key \\\n", + "0 Eastbound 87 bunched 3.00 \n", + "1 Eastbound 81 bunched 5.00 \n", + "\n", + " pct_trips_bunched \n", + "0 3.45 \n", + "1 6.17 " + ] + }, + "execution_count": 136, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m1.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 138, + "id": "f5253b6a-8cad-469f-a306-6fa712e9799a", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_m1 = transit_matters_m1.drop(columns = ['bunched_y_n','trip_instance_key'])" + ] + }, + { + "cell_type": "code", + "execution_count": 139, + "id": "4a25225a-7883-457f-a27a-f606164cdd37", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_m1.pct_trips_bunched = transit_matters_m1.pct_trips_bunched.fillna(0)" + ] + }, + { + "cell_type": "code", + "execution_count": 140, + "id": "81c80de5-6e3f-4781-a71d-cc0ad1472571", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_m2 = transit_matters_m1.drop_duplicates(\n", + " subset=transit_matters_agg\n", + ").reset_index(drop=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 141, + "id": "cf1a171d-5e06-4df8-b98c-f7a8d69266f9", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(21130, 9)" + ] + }, + "execution_count": 141, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m2.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 151, + "id": "73779d42-9b3d-41f1-ab18-3ba1fa64ca1d", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripspct_trips_bunched
00666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastbound873.45
10666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154160.00Eastbound816.17
20666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154320.00Eastbound861.16
30666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154360.00Eastbound863.49
40666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154530.00Eastbound852.35
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_long_name \\\n", + "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "2 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "3 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "4 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", + "1 12530c16e07a519c8a8543d487f26ade 901-13172 15416 0.00 \n", + "2 12530c16e07a519c8a8543d487f26ade 901-13172 15432 0.00 \n", + "3 12530c16e07a519c8a8543d487f26ade 901-13172 15436 0.00 \n", + "4 12530c16e07a519c8a8543d487f26ade 901-13172 15453 0.00 \n", + "\n", + " route_primary_direction all_trips pct_trips_bunched \n", + "0 Eastbound 87 3.45 \n", + "1 Eastbound 81 6.17 \n", + "2 Eastbound 86 1.16 \n", + "3 Eastbound 86 3.49 \n", + "4 Eastbound 85 2.35 " + ] + }, + "execution_count": 151, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m2.head()" + ] + }, + { + "cell_type": "code", + "execution_count": 152, + "id": "2e2abda3-b3de-4f03-baf4-7f764dd10255", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "count 21130.00\n", + "mean 2.51\n", + "std 4.98\n", + "min 0.00\n", + "25% 0.00\n", + "50% 0.00\n", + "75% 3.45\n", + "max 50.00\n", + "Name: pct_trips_bunched, dtype: float64" + ] + }, + "execution_count": 152, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m2.pct_trips_bunched.describe()" + ] + }, + { + "cell_type": "code", + "execution_count": 157, + "id": "6f4c4386-acfb-483a-947d-0279710df61b", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(1673, 9)" + ] + }, + "execution_count": 157, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m2.loc[transit_matters_m2.pct_trips_bunched >= 10].shape" + ] + }, + { + "cell_type": "code", + "execution_count": 158, + "id": "c26437ce-7a3a-4f5c-8899-c1f7bfb55267", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripspct_trips_bunched
156677cc0cb1871dfd558f11a2885c145d144BAYSHOREc47d8fe41d96232a4d3f2b18d9fed8d18160540.00Southbound9011.11
176937cc0cb1871dfd558f11a2885c145d144MISSION RAPID219712f1e41d4fb7c4de5c591d2cea2214R155290.00Westbound911.11
11120666caf3ec1ecc96b74f4477ee4bc939Metro Local Line0dcba66281656183f90616c00505ec66251-1317217460.00Northbound2711.11
20845cc53a0dbf5df90e3009b9cb5d89d80baDASH Pico Union/Echo Parkace98a4725851e87e92b71b3a393c351486958025001.00Southbound6512.31
194087cc0cb1871dfd558f11a2885c145d144VAN NESS-MISSION189a8be8a1d11d5ccac1ac1dc40bbb2949158011.00Northbound14613.01
64210666caf3ec1ecc96b74f4477ee4bc939Metro Local Line650398fd4bbe9d528b98587a8a8eade6240-1317270020.00Eastbound9118.68
168947cc0cb1871dfd558f11a2885c145d144GEARY RAPIDaece61421bdb79216286993adcedf25a38R142851.00Eastbound10712.15
161857cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146180.00Southbound13112.21
66630666caf3ec1ecc96b74f4477ee4bc939Metro Local Line68c79aa33ec7ab64426d2d5cd17c9fb14-13172144221.00Westbound812.50
173987cc0cb1871dfd558f11a2885c145d144MASONICafde3db7e3d6fa6626f3b080fd74999543152570.00Southbound8310.84
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_long_name \\\n", + "15667 7cc0cb1871dfd558f11a2885c145d144 BAYSHORE \n", + "17693 7cc0cb1871dfd558f11a2885c145d144 MISSION RAPID \n", + "1112 0666caf3ec1ecc96b74f4477ee4bc939 Metro Local Line \n", + "20845 cc53a0dbf5df90e3009b9cb5d89d80ba DASH Pico Union/Echo Park \n", + "19408 7cc0cb1871dfd558f11a2885c145d144 VAN NESS-MISSION \n", + "6421 0666caf3ec1ecc96b74f4477ee4bc939 Metro Local Line \n", + "16894 7cc0cb1871dfd558f11a2885c145d144 GEARY RAPID \n", + "16185 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "6663 0666caf3ec1ecc96b74f4477ee4bc939 Metro Local Line \n", + "17398 7cc0cb1871dfd558f11a2885c145d144 MASONIC \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "15667 c47d8fe41d96232a4d3f2b18d9fed8d1 8 16054 0.00 \n", + "17693 219712f1e41d4fb7c4de5c591d2cea22 14R 15529 0.00 \n", + "1112 0dcba66281656183f90616c00505ec66 251-13172 1746 0.00 \n", + "20845 ace98a4725851e87e92b71b3a393c351 4869 5802500 1.00 \n", + "19408 189a8be8a1d11d5ccac1ac1dc40bbb29 49 15801 1.00 \n", + "6421 650398fd4bbe9d528b98587a8a8eade6 240-13172 7002 0.00 \n", + "16894 aece61421bdb79216286993adcedf25a 38R 14285 1.00 \n", + "16185 2fe09ae2c449928945abe662a855ffb2 22 14618 0.00 \n", + "6663 68c79aa33ec7ab64426d2d5cd17c9fb1 4-13172 14422 1.00 \n", + "17398 afde3db7e3d6fa6626f3b080fd749995 43 15257 0.00 \n", + "\n", + " route_primary_direction all_trips pct_trips_bunched \n", + "15667 Southbound 90 11.11 \n", + "17693 Westbound 9 11.11 \n", + "1112 Northbound 27 11.11 \n", + "20845 Southbound 65 12.31 \n", + "19408 Northbound 146 13.01 \n", + "6421 Eastbound 91 18.68 \n", + "16894 Eastbound 107 12.15 \n", + "16185 Southbound 131 12.21 \n", + "6663 Westbound 8 12.50 \n", + "17398 Southbound 83 10.84 " + ] + }, + "execution_count": 158, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m2.loc[transit_matters_m2.pct_trips_bunched >= 10].sample(10)" + ] + }, + { + "cell_type": "code", + "execution_count": 142, + "id": "eeaef4d4-af1e-4a60-9bdf-4ba46679f931", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(21130, 9)" + ] + }, + "execution_count": 142, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m1.shape" + ] + }, + { + "cell_type": "markdown", + "id": "41ff565f-bb49-410c-ac80-b933ccce228e", + "metadata": {}, + "source": [ + "#### Fillmore Test" + ] + }, + { + "cell_type": "code", + "execution_count": 144, + "id": "2077b13c-84e8-41d4-a976-2b475cbeb731", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayschd_headwayavg_schd_headway_secstd_dev_headwaybunching_coefficientavg_schd_headway_minpassenger_op_perspective
1344511489975_M31130861369106.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69048221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-58.001907.001445.50960.660.6624.09Frequent bunching
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "13445 11489975_M31 13086 13 69106.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "13445 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "13445 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "13445 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay schd_headway \\\n", + "13445 Southbound 7.61 -58.00 1907.00 \n", + "\n", + " avg_schd_headway_sec std_dev_headway bunching_coefficient \\\n", + "13445 1445.50 960.66 0.66 \n", + "\n", + " avg_schd_headway_min passenger_op_perspective \n", + "13445 24.09 Frequent bunching " + ] + }, + "execution_count": 144, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "fillmore.loc[\n", + " (fillmore.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (fillmore.stop_id == \"13086\")\n", + " & (fillmore.direction_id == 0)\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 148, + "id": "e9a76139-a778-4bbc-a3ea-02a563d6a34c", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "39.5" + ] + }, + "execution_count": 148, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "2370/60" + ] + }, + { + "cell_type": "code", + "execution_count": 149, + "id": "17ef649b-ee9c-484f-adf4-7e1e64e9e204", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "24.0" + ] + }, + "execution_count": 149, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "1440/60" + ] + }, + { + "cell_type": "code", + "execution_count": 145, + "id": "eb207d10-fe7d-4f00-8d15-15436252b7b0", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headwaypct_actual_schd_headwaybunched_y_n
45230411489969_M31130861367199.007cc0cb1871dfd558f11a2885c145d144b73ff68241fdcb9ff5a3f3be424b226867051221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-148.00NaNNaNNaNnot bunched
45230511489975_M31130861369106.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69048221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-58.001997.001907.001.05not bunched
45230611489815_M31130861369466.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869723221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61257.00675.00360.001.88not bunched
45230711489816_M31130861370006.007cc0cb1871dfd558f11a2885c145d1445cd2523ccd8c33e277aaae0ac9af35c870421221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61415.00698.00540.001.29not bunched
45230811489817_M31130861372992.007cc0cb1871dfd558f11a2885c145d14445830206e5f4a07c06e520968f4b789f73064221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6172.002643.002986.000.89not bunched
45230911489861_M31130861374432.007cc0cb1871dfd558f11a2885c145d144a28a9fc884812bbb9e404de1dd970ccd75434221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.611002.002370.001440.001.65not bunched
45231011489818_M31130861375872.007cc0cb1871dfd558f11a2885c145d144c20c26a42e6277dd327fe1280cead6a875943221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6171.00509.001440.000.35not bunched
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "452304 11489969_M31 13086 13 67199.00 \n", + "452305 11489975_M31 13086 13 69106.00 \n", + "452306 11489815_M31 13086 13 69466.00 \n", + "452307 11489816_M31 13086 13 70006.00 \n", + "452308 11489817_M31 13086 13 72992.00 \n", + "452309 11489861_M31 13086 13 74432.00 \n", + "452310 11489818_M31 13086 13 75872.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "452304 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", + "452305 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "452306 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "452307 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", + "452308 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", + "452309 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", + "452310 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "452304 67051 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452305 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452306 69723 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452307 70421 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452308 73064 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452309 75434 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452310 75943 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "452304 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452305 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452306 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452307 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452308 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452309 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452310 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "452304 Southbound 7.61 -148.00 NaN \n", + "452305 Southbound 7.61 -58.00 1997.00 \n", + "452306 Southbound 7.61 257.00 675.00 \n", + "452307 Southbound 7.61 415.00 698.00 \n", + "452308 Southbound 7.61 72.00 2643.00 \n", + "452309 Southbound 7.61 1002.00 2370.00 \n", + "452310 Southbound 7.61 71.00 509.00 \n", + "\n", + " schd_headway pct_actual_schd_headway bunched_y_n \n", + "452304 NaN NaN not bunched \n", + "452305 1907.00 1.05 not bunched \n", + "452306 360.00 1.88 not bunched \n", + "452307 540.00 1.29 not bunched \n", + "452308 2986.00 0.89 not bunched \n", + "452309 1440.00 1.65 not bunched \n", + "452310 1440.00 0.35 not bunched " + ] + }, + "execution_count": 145, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_df1.loc[\n", + " (transit_matters_df1.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (transit_matters_df1.stop_id == \"13086\")\n", + " & (transit_matters_df1.direction_id == 0)\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 147, + "id": "02cc2378-beb2-4ce0-8889-7266f1060ee8", + "metadata": { + "scrolled": true, + "tags": [] + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripspct_trips_bunched
161377cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922130860.00Southbound70.00
161387cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922132850.00Southbound50.00
161397cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922132930.00Southbound40.00
161407cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922132990.00Southbound10.00
161417cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922133010.00Southbound50.00
161427cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922139840.00Southbound50.00
161437cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922140050.00Southbound70.00
161447cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146050.00Southbound70.00
161457cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146060.00Southbound10.00
161467cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146090.00Southbound60.00
161477cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146120.00Southbound70.00
161487cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146150.00Southbound70.00
161497cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146170.00Southbound70.00
161507cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146180.00Southbound70.00
161517cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146220.00Southbound70.00
161527cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146240.00Southbound70.00
161537cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146270.00Southbound616.67
161547cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146290.00Southbound70.00
161557cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146300.00Southbound60.00
161567cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146320.00Southbound70.00
161577cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146340.00Southbound70.00
161587cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146360.00Southbound70.00
161597cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146370.00Southbound70.00
161607cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146410.00Southbound70.00
161617cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146420.00Southbound70.00
161627cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922150180.00Southbound70.00
161637cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922164880.00Southbound70.00
161647cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922164910.00Southbound70.00
161657cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922164930.00Southbound70.00
161667cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922167540.00Southbound70.00
161677cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922180590.00Southbound70.00
161687cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222130860.00Southbound13816.67
161697cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132820.00Southbound1169.48
161707cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132850.00Southbound12513.60
161717cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132930.00Southbound12613.49
161727cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132960.00Southbound9711.34
161737cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132990.00Southbound12014.17
161747cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222133010.00Southbound12815.62
161757cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222139840.00Southbound12616.67
161767cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222140050.00Southbound13416.42
161777cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146050.00Southbound13718.25
161787cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146060.00Southbound130.00
161797cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146070.00Southbound210.00
161807cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146090.00Southbound9612.50
161817cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146100.00Southbound210.00
161827cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146120.00Southbound12813.28
161837cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146150.00Southbound12915.50
161847cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146170.00Southbound13315.04
161857cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146180.00Southbound13112.21
161867cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146220.00Southbound13314.29
161877cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146240.00Southbound13818.12
161887cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146250.00Southbound190.00
161897cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146270.00Southbound12216.39
161907cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146290.00Southbound13214.39
161917cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146300.00Southbound999.09
161927cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146320.00Southbound13011.54
161937cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146340.00Southbound12515.20
161947cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146360.00Southbound13714.60
161957cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146370.00Southbound13815.94
161967cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146410.00Southbound13213.64
161977cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146420.00Southbound13216.67
161987cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222150180.00Southbound13515.56
161997cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222164880.00Southbound13515.56
162007cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222164910.00Southbound12311.38
162017cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222164930.00Southbound13917.27
162027cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222167540.00Southbound13514.81
162037cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222173210.00Southbound10.00
162047cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222177610.00Southbound8112.35
162057cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222177620.00Southbound7015.71
162067cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222177630.00Southbound5817.24
162077cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222177640.00Southbound20.00
162087cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222178660.00Southbound439.30
162097cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222180590.00Southbound13315.79
162107cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422130851.00Northbound9913.13
162117cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422132811.00Northbound14014.29
162127cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422132831.00Northbound13016.92
162137cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422132841.00Northbound13218.94
162147cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422132911.00Northbound13317.29
162157cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422132951.00Northbound13713.87
162167cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422133001.00Northbound13319.55
162177cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146041.00Northbound11018.18
162187cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146081.00Northbound160.00
162197cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146111.00Northbound12623.02
162207cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146131.00Northbound12520.00
162217cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146141.00Northbound12217.21
162227cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146161.00Northbound12719.69
162237cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146201.00Northbound13321.05
162247cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146211.00Northbound12817.19
162257cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146231.00Northbound11215.18
162267cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146261.00Northbound5712.28
162277cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146281.00Northbound12619.84
162287cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146311.00Northbound13218.18
162297cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146331.00Northbound12422.58
162307cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146351.00Northbound12218.85
162317cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146381.00Northbound11116.22
162327cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146401.00Northbound12518.40
162337cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146431.00Northbound629.68
162347cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422150171.00Northbound13016.92
162357cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422164871.00Northbound9612.50
162367cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422164901.00Northbound868.14
162377cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422164921.00Northbound10714.02
162387cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422170731.00Northbound12911.63
162397cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422170741.00Northbound13118.32
162407cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422172891.00Northbound13320.30
162417cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422173241.00Northbound12618.25
162427cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422177661.00Northbound13528.15
162437cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422177671.00Northbound12016.67
162447cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422177681.00Northbound13514.81
162457cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422177691.00Northbound14313.99
162467cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422177701.00Northbound14114.89
162477cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422178651.00Northbound13621.32
162487cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22130851.00Northbound80.00
162497cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22132831.00Northbound1010.00
162507cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22132841.00Northbound1010.00
162517cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22132911.00Northbound50.00
162527cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22133001.00Northbound70.00
162537cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146041.00Northbound80.00
162547cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146111.00Northbound90.00
162557cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146131.00Northbound100.00
162567cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146141.00Northbound70.00
162577cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146161.00Northbound100.00
162587cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146201.00Northbound100.00
162597cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146211.00Northbound100.00
162607cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146231.00Northbound80.00
162617cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146261.00Northbound30.00
162627cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146281.00Northbound100.00
162637cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146311.00Northbound100.00
162647cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146331.00Northbound90.00
162657cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146351.00Northbound80.00
162667cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146381.00Northbound80.00
162677cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146401.00Northbound70.00
162687cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146431.00Northbound40.00
162697cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22150171.00Northbound100.00
162707cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22164871.00Northbound80.00
162717cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22164901.00Northbound70.00
162727cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22164921.00Northbound80.00
162737cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22170731.00Northbound100.00
162747cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22170741.00Northbound100.00
162757cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22172891.00Northbound1020.00
162767cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c822173210.00Southbound50.00
162777cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c822177610.00Southbound90.00
162787cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c822177620.00Southbound80.00
162797cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c822177630.00Southbound90.00
162807cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c822177640.00Southbound80.00
162817cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c822178660.00Southbound80.00
162827cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb22132951.00Northbound10.00
162837cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb22173241.00Northbound50.00
162847cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb22177661.00Northbound50.00
162857cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb22177671.00Northbound50.00
162867cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb22177681.00Northbound50.00
162877cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb22177691.00Northbound50.00
162887cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb22177701.00Northbound20.00
162897cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb22178651.00Northbound50.00
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_long_name \\\n", + "16137 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16138 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16139 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16140 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16141 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16142 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16143 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16144 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16145 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16146 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16147 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16148 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16149 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16150 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16151 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16152 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16153 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16154 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16155 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16156 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16157 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16158 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16159 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16160 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16161 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16162 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16163 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16164 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16165 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16166 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16167 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16168 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16169 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16170 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16171 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16172 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16173 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16174 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16175 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16176 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16177 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16178 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16179 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16180 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16181 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16182 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16183 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16184 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16185 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16186 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16187 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16188 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16189 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16190 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16191 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16192 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16193 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16194 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16195 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16196 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16197 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16198 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16199 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16200 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16201 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16202 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16203 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16204 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16205 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16206 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16207 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16208 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16209 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16210 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16211 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16212 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16213 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16214 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16215 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16216 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16217 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16218 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16219 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16220 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16221 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16222 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16223 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16224 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16225 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16226 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16227 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16228 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16229 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16230 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16231 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16232 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16233 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16234 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16235 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16236 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16237 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16238 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16239 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16240 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16241 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16242 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16243 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16244 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16245 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16246 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16247 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16248 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16249 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16250 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16251 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16252 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16253 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16254 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16255 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16256 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16257 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16258 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16259 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16260 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16261 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16262 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16263 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16264 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16265 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16266 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16267 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16268 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16269 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16270 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16271 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16272 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16273 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16274 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16275 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16276 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16277 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16278 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16279 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16280 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16281 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16282 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16283 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16284 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16285 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16286 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16287 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16288 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16289 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "16137 1b678a66d0009c55bc573cfc37aa1029 22 13086 0.00 \n", + "16138 1b678a66d0009c55bc573cfc37aa1029 22 13285 0.00 \n", + "16139 1b678a66d0009c55bc573cfc37aa1029 22 13293 0.00 \n", + "16140 1b678a66d0009c55bc573cfc37aa1029 22 13299 0.00 \n", + "16141 1b678a66d0009c55bc573cfc37aa1029 22 13301 0.00 \n", + "16142 1b678a66d0009c55bc573cfc37aa1029 22 13984 0.00 \n", + "16143 1b678a66d0009c55bc573cfc37aa1029 22 14005 0.00 \n", + "16144 1b678a66d0009c55bc573cfc37aa1029 22 14605 0.00 \n", + "16145 1b678a66d0009c55bc573cfc37aa1029 22 14606 0.00 \n", + "16146 1b678a66d0009c55bc573cfc37aa1029 22 14609 0.00 \n", + "16147 1b678a66d0009c55bc573cfc37aa1029 22 14612 0.00 \n", + "16148 1b678a66d0009c55bc573cfc37aa1029 22 14615 0.00 \n", + "16149 1b678a66d0009c55bc573cfc37aa1029 22 14617 0.00 \n", + "16150 1b678a66d0009c55bc573cfc37aa1029 22 14618 0.00 \n", + "16151 1b678a66d0009c55bc573cfc37aa1029 22 14622 0.00 \n", + "16152 1b678a66d0009c55bc573cfc37aa1029 22 14624 0.00 \n", + "16153 1b678a66d0009c55bc573cfc37aa1029 22 14627 0.00 \n", + "16154 1b678a66d0009c55bc573cfc37aa1029 22 14629 0.00 \n", + "16155 1b678a66d0009c55bc573cfc37aa1029 22 14630 0.00 \n", + "16156 1b678a66d0009c55bc573cfc37aa1029 22 14632 0.00 \n", + "16157 1b678a66d0009c55bc573cfc37aa1029 22 14634 0.00 \n", + "16158 1b678a66d0009c55bc573cfc37aa1029 22 14636 0.00 \n", + "16159 1b678a66d0009c55bc573cfc37aa1029 22 14637 0.00 \n", + "16160 1b678a66d0009c55bc573cfc37aa1029 22 14641 0.00 \n", + "16161 1b678a66d0009c55bc573cfc37aa1029 22 14642 0.00 \n", + "16162 1b678a66d0009c55bc573cfc37aa1029 22 15018 0.00 \n", + "16163 1b678a66d0009c55bc573cfc37aa1029 22 16488 0.00 \n", + "16164 1b678a66d0009c55bc573cfc37aa1029 22 16491 0.00 \n", + "16165 1b678a66d0009c55bc573cfc37aa1029 22 16493 0.00 \n", + "16166 1b678a66d0009c55bc573cfc37aa1029 22 16754 0.00 \n", + "16167 1b678a66d0009c55bc573cfc37aa1029 22 18059 0.00 \n", + "16168 2fe09ae2c449928945abe662a855ffb2 22 13086 0.00 \n", + "16169 2fe09ae2c449928945abe662a855ffb2 22 13282 0.00 \n", + "16170 2fe09ae2c449928945abe662a855ffb2 22 13285 0.00 \n", + "16171 2fe09ae2c449928945abe662a855ffb2 22 13293 0.00 \n", + "16172 2fe09ae2c449928945abe662a855ffb2 22 13296 0.00 \n", + "16173 2fe09ae2c449928945abe662a855ffb2 22 13299 0.00 \n", + "16174 2fe09ae2c449928945abe662a855ffb2 22 13301 0.00 \n", + "16175 2fe09ae2c449928945abe662a855ffb2 22 13984 0.00 \n", + "16176 2fe09ae2c449928945abe662a855ffb2 22 14005 0.00 \n", + "16177 2fe09ae2c449928945abe662a855ffb2 22 14605 0.00 \n", + "16178 2fe09ae2c449928945abe662a855ffb2 22 14606 0.00 \n", + "16179 2fe09ae2c449928945abe662a855ffb2 22 14607 0.00 \n", + "16180 2fe09ae2c449928945abe662a855ffb2 22 14609 0.00 \n", + "16181 2fe09ae2c449928945abe662a855ffb2 22 14610 0.00 \n", + "16182 2fe09ae2c449928945abe662a855ffb2 22 14612 0.00 \n", + "16183 2fe09ae2c449928945abe662a855ffb2 22 14615 0.00 \n", + "16184 2fe09ae2c449928945abe662a855ffb2 22 14617 0.00 \n", + "16185 2fe09ae2c449928945abe662a855ffb2 22 14618 0.00 \n", + "16186 2fe09ae2c449928945abe662a855ffb2 22 14622 0.00 \n", + "16187 2fe09ae2c449928945abe662a855ffb2 22 14624 0.00 \n", + "16188 2fe09ae2c449928945abe662a855ffb2 22 14625 0.00 \n", + "16189 2fe09ae2c449928945abe662a855ffb2 22 14627 0.00 \n", + "16190 2fe09ae2c449928945abe662a855ffb2 22 14629 0.00 \n", + "16191 2fe09ae2c449928945abe662a855ffb2 22 14630 0.00 \n", + "16192 2fe09ae2c449928945abe662a855ffb2 22 14632 0.00 \n", + "16193 2fe09ae2c449928945abe662a855ffb2 22 14634 0.00 \n", + "16194 2fe09ae2c449928945abe662a855ffb2 22 14636 0.00 \n", + "16195 2fe09ae2c449928945abe662a855ffb2 22 14637 0.00 \n", + "16196 2fe09ae2c449928945abe662a855ffb2 22 14641 0.00 \n", + "16197 2fe09ae2c449928945abe662a855ffb2 22 14642 0.00 \n", + "16198 2fe09ae2c449928945abe662a855ffb2 22 15018 0.00 \n", + "16199 2fe09ae2c449928945abe662a855ffb2 22 16488 0.00 \n", + "16200 2fe09ae2c449928945abe662a855ffb2 22 16491 0.00 \n", + "16201 2fe09ae2c449928945abe662a855ffb2 22 16493 0.00 \n", + "16202 2fe09ae2c449928945abe662a855ffb2 22 16754 0.00 \n", + "16203 2fe09ae2c449928945abe662a855ffb2 22 17321 0.00 \n", + "16204 2fe09ae2c449928945abe662a855ffb2 22 17761 0.00 \n", + "16205 2fe09ae2c449928945abe662a855ffb2 22 17762 0.00 \n", + "16206 2fe09ae2c449928945abe662a855ffb2 22 17763 0.00 \n", + "16207 2fe09ae2c449928945abe662a855ffb2 22 17764 0.00 \n", + "16208 2fe09ae2c449928945abe662a855ffb2 22 17866 0.00 \n", + "16209 2fe09ae2c449928945abe662a855ffb2 22 18059 0.00 \n", + "16210 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13085 1.00 \n", + "16211 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13281 1.00 \n", + "16212 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13283 1.00 \n", + "16213 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13284 1.00 \n", + "16214 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13291 1.00 \n", + "16215 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13295 1.00 \n", + "16216 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13300 1.00 \n", + "16217 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14604 1.00 \n", + "16218 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14608 1.00 \n", + "16219 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14611 1.00 \n", + "16220 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14613 1.00 \n", + "16221 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14614 1.00 \n", + "16222 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14616 1.00 \n", + "16223 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14620 1.00 \n", + "16224 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14621 1.00 \n", + "16225 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14623 1.00 \n", + "16226 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14626 1.00 \n", + "16227 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14628 1.00 \n", + "16228 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14631 1.00 \n", + "16229 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14633 1.00 \n", + "16230 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14635 1.00 \n", + "16231 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14638 1.00 \n", + "16232 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14640 1.00 \n", + "16233 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14643 1.00 \n", + "16234 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 15017 1.00 \n", + "16235 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 16487 1.00 \n", + "16236 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 16490 1.00 \n", + "16237 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 16492 1.00 \n", + "16238 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17073 1.00 \n", + "16239 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17074 1.00 \n", + "16240 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17289 1.00 \n", + "16241 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17324 1.00 \n", + "16242 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17766 1.00 \n", + "16243 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17767 1.00 \n", + "16244 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17768 1.00 \n", + "16245 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17769 1.00 \n", + "16246 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17770 1.00 \n", + "16247 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17865 1.00 \n", + "16248 498b9a001056ce2b83bdc7e8ca01473f 22 13085 1.00 \n", + "16249 498b9a001056ce2b83bdc7e8ca01473f 22 13283 1.00 \n", + "16250 498b9a001056ce2b83bdc7e8ca01473f 22 13284 1.00 \n", + "16251 498b9a001056ce2b83bdc7e8ca01473f 22 13291 1.00 \n", + "16252 498b9a001056ce2b83bdc7e8ca01473f 22 13300 1.00 \n", + "16253 498b9a001056ce2b83bdc7e8ca01473f 22 14604 1.00 \n", + "16254 498b9a001056ce2b83bdc7e8ca01473f 22 14611 1.00 \n", + "16255 498b9a001056ce2b83bdc7e8ca01473f 22 14613 1.00 \n", + "16256 498b9a001056ce2b83bdc7e8ca01473f 22 14614 1.00 \n", + "16257 498b9a001056ce2b83bdc7e8ca01473f 22 14616 1.00 \n", + "16258 498b9a001056ce2b83bdc7e8ca01473f 22 14620 1.00 \n", + "16259 498b9a001056ce2b83bdc7e8ca01473f 22 14621 1.00 \n", + "16260 498b9a001056ce2b83bdc7e8ca01473f 22 14623 1.00 \n", + "16261 498b9a001056ce2b83bdc7e8ca01473f 22 14626 1.00 \n", + "16262 498b9a001056ce2b83bdc7e8ca01473f 22 14628 1.00 \n", + "16263 498b9a001056ce2b83bdc7e8ca01473f 22 14631 1.00 \n", + "16264 498b9a001056ce2b83bdc7e8ca01473f 22 14633 1.00 \n", + "16265 498b9a001056ce2b83bdc7e8ca01473f 22 14635 1.00 \n", + "16266 498b9a001056ce2b83bdc7e8ca01473f 22 14638 1.00 \n", + "16267 498b9a001056ce2b83bdc7e8ca01473f 22 14640 1.00 \n", + "16268 498b9a001056ce2b83bdc7e8ca01473f 22 14643 1.00 \n", + "16269 498b9a001056ce2b83bdc7e8ca01473f 22 15017 1.00 \n", + "16270 498b9a001056ce2b83bdc7e8ca01473f 22 16487 1.00 \n", + "16271 498b9a001056ce2b83bdc7e8ca01473f 22 16490 1.00 \n", + "16272 498b9a001056ce2b83bdc7e8ca01473f 22 16492 1.00 \n", + "16273 498b9a001056ce2b83bdc7e8ca01473f 22 17073 1.00 \n", + "16274 498b9a001056ce2b83bdc7e8ca01473f 22 17074 1.00 \n", + "16275 498b9a001056ce2b83bdc7e8ca01473f 22 17289 1.00 \n", + "16276 62b7db9e9a7562bbfe649736b913f9c8 22 17321 0.00 \n", + "16277 62b7db9e9a7562bbfe649736b913f9c8 22 17761 0.00 \n", + "16278 62b7db9e9a7562bbfe649736b913f9c8 22 17762 0.00 \n", + "16279 62b7db9e9a7562bbfe649736b913f9c8 22 17763 0.00 \n", + "16280 62b7db9e9a7562bbfe649736b913f9c8 22 17764 0.00 \n", + "16281 62b7db9e9a7562bbfe649736b913f9c8 22 17866 0.00 \n", + "16282 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 13295 1.00 \n", + "16283 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17324 1.00 \n", + "16284 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17766 1.00 \n", + "16285 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17767 1.00 \n", + "16286 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17768 1.00 \n", + "16287 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17769 1.00 \n", + "16288 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17770 1.00 \n", + "16289 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17865 1.00 \n", + "\n", + " route_primary_direction all_trips pct_trips_bunched \n", + "16137 Southbound 7 0.00 \n", + "16138 Southbound 5 0.00 \n", + "16139 Southbound 4 0.00 \n", + "16140 Southbound 1 0.00 \n", + "16141 Southbound 5 0.00 \n", + "16142 Southbound 5 0.00 \n", + "16143 Southbound 7 0.00 \n", + "16144 Southbound 7 0.00 \n", + "16145 Southbound 1 0.00 \n", + "16146 Southbound 6 0.00 \n", + "16147 Southbound 7 0.00 \n", + "16148 Southbound 7 0.00 \n", + "16149 Southbound 7 0.00 \n", + "16150 Southbound 7 0.00 \n", + "16151 Southbound 7 0.00 \n", + "16152 Southbound 7 0.00 \n", + "16153 Southbound 6 16.67 \n", + "16154 Southbound 7 0.00 \n", + "16155 Southbound 6 0.00 \n", + "16156 Southbound 7 0.00 \n", + "16157 Southbound 7 0.00 \n", + "16158 Southbound 7 0.00 \n", + "16159 Southbound 7 0.00 \n", + "16160 Southbound 7 0.00 \n", + "16161 Southbound 7 0.00 \n", + "16162 Southbound 7 0.00 \n", + "16163 Southbound 7 0.00 \n", + "16164 Southbound 7 0.00 \n", + "16165 Southbound 7 0.00 \n", + "16166 Southbound 7 0.00 \n", + "16167 Southbound 7 0.00 \n", + "16168 Southbound 138 16.67 \n", + "16169 Southbound 116 9.48 \n", + "16170 Southbound 125 13.60 \n", + "16171 Southbound 126 13.49 \n", + "16172 Southbound 97 11.34 \n", + "16173 Southbound 120 14.17 \n", + "16174 Southbound 128 15.62 \n", + "16175 Southbound 126 16.67 \n", + "16176 Southbound 134 16.42 \n", + "16177 Southbound 137 18.25 \n", + "16178 Southbound 13 0.00 \n", + "16179 Southbound 21 0.00 \n", + "16180 Southbound 96 12.50 \n", + "16181 Southbound 21 0.00 \n", + "16182 Southbound 128 13.28 \n", + "16183 Southbound 129 15.50 \n", + "16184 Southbound 133 15.04 \n", + "16185 Southbound 131 12.21 \n", + "16186 Southbound 133 14.29 \n", + "16187 Southbound 138 18.12 \n", + "16188 Southbound 19 0.00 \n", + "16189 Southbound 122 16.39 \n", + "16190 Southbound 132 14.39 \n", + "16191 Southbound 99 9.09 \n", + "16192 Southbound 130 11.54 \n", + "16193 Southbound 125 15.20 \n", + "16194 Southbound 137 14.60 \n", + "16195 Southbound 138 15.94 \n", + "16196 Southbound 132 13.64 \n", + "16197 Southbound 132 16.67 \n", + "16198 Southbound 135 15.56 \n", + "16199 Southbound 135 15.56 \n", + "16200 Southbound 123 11.38 \n", + "16201 Southbound 139 17.27 \n", + "16202 Southbound 135 14.81 \n", + "16203 Southbound 1 0.00 \n", + "16204 Southbound 81 12.35 \n", + "16205 Southbound 70 15.71 \n", + "16206 Southbound 58 17.24 \n", + "16207 Southbound 2 0.00 \n", + "16208 Southbound 43 9.30 \n", + "16209 Southbound 133 15.79 \n", + "16210 Northbound 99 13.13 \n", + "16211 Northbound 140 14.29 \n", + "16212 Northbound 130 16.92 \n", + "16213 Northbound 132 18.94 \n", + "16214 Northbound 133 17.29 \n", + "16215 Northbound 137 13.87 \n", + "16216 Northbound 133 19.55 \n", + "16217 Northbound 110 18.18 \n", + "16218 Northbound 16 0.00 \n", + "16219 Northbound 126 23.02 \n", + "16220 Northbound 125 20.00 \n", + "16221 Northbound 122 17.21 \n", + "16222 Northbound 127 19.69 \n", + "16223 Northbound 133 21.05 \n", + "16224 Northbound 128 17.19 \n", + "16225 Northbound 112 15.18 \n", + "16226 Northbound 57 12.28 \n", + "16227 Northbound 126 19.84 \n", + "16228 Northbound 132 18.18 \n", + "16229 Northbound 124 22.58 \n", + "16230 Northbound 122 18.85 \n", + "16231 Northbound 111 16.22 \n", + "16232 Northbound 125 18.40 \n", + "16233 Northbound 62 9.68 \n", + "16234 Northbound 130 16.92 \n", + "16235 Northbound 96 12.50 \n", + "16236 Northbound 86 8.14 \n", + "16237 Northbound 107 14.02 \n", + "16238 Northbound 129 11.63 \n", + "16239 Northbound 131 18.32 \n", + "16240 Northbound 133 20.30 \n", + "16241 Northbound 126 18.25 \n", + "16242 Northbound 135 28.15 \n", + "16243 Northbound 120 16.67 \n", + "16244 Northbound 135 14.81 \n", + "16245 Northbound 143 13.99 \n", + "16246 Northbound 141 14.89 \n", + "16247 Northbound 136 21.32 \n", + "16248 Northbound 8 0.00 \n", + "16249 Northbound 10 10.00 \n", + "16250 Northbound 10 10.00 \n", + "16251 Northbound 5 0.00 \n", + "16252 Northbound 7 0.00 \n", + "16253 Northbound 8 0.00 \n", + "16254 Northbound 9 0.00 \n", + "16255 Northbound 10 0.00 \n", + "16256 Northbound 7 0.00 \n", + "16257 Northbound 10 0.00 \n", + "16258 Northbound 10 0.00 \n", + "16259 Northbound 10 0.00 \n", + "16260 Northbound 8 0.00 \n", + "16261 Northbound 3 0.00 \n", + "16262 Northbound 10 0.00 \n", + "16263 Northbound 10 0.00 \n", + "16264 Northbound 9 0.00 \n", + "16265 Northbound 8 0.00 \n", + "16266 Northbound 8 0.00 \n", + "16267 Northbound 7 0.00 \n", + "16268 Northbound 4 0.00 \n", + "16269 Northbound 10 0.00 \n", + "16270 Northbound 8 0.00 \n", + "16271 Northbound 7 0.00 \n", + "16272 Northbound 8 0.00 \n", + "16273 Northbound 10 0.00 \n", + "16274 Northbound 10 0.00 \n", + "16275 Northbound 10 20.00 \n", + "16276 Southbound 5 0.00 \n", + "16277 Southbound 9 0.00 \n", + "16278 Southbound 8 0.00 \n", + "16279 Southbound 9 0.00 \n", + "16280 Southbound 8 0.00 \n", + "16281 Southbound 8 0.00 \n", + "16282 Northbound 1 0.00 \n", + "16283 Northbound 5 0.00 \n", + "16284 Northbound 5 0.00 \n", + "16285 Northbound 5 0.00 \n", + "16286 Northbound 5 0.00 \n", + "16287 Northbound 5 0.00 \n", + "16288 Northbound 2 0.00 \n", + "16289 Northbound 5 0.00 " + ] + }, + "execution_count": 147, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m2.loc[transit_matters_m2.route_id == \"22\"]" + ] + }, + { + "cell_type": "code", + "execution_count": 150, + "id": "16deec31-3b3f-4d59-8784-aad8e51007cf", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "count 153.00\n", + "mean 7.89\n", + "std 8.26\n", + "min 0.00\n", + "25% 0.00\n", + "50% 8.14\n", + "75% 15.62\n", + "max 28.15\n", + "Name: pct_trips_bunched, dtype: float64" + ] + }, + "execution_count": 150, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times5.loc[(rt_stop_times5.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\") &\n", - " (rt_stop_times5.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\") & \n", - " (rt_stop_times5.route_id== \"22\") &\n", - " (rt_stop_times5.direction_id == 1) &\n", - " (rt_stop_times5.stop_id == \"17769\")]" + "transit_matters_m2.loc[transit_matters_m2.route_id == \"22\"].pct_trips_bunched.describe()" ] } ], diff --git a/gtfs_digest/_bunching.md b/gtfs_digest/_bunching.md index 4345de559..1ee5ee165 100644 --- a/gtfs_digest/_bunching.md +++ b/gtfs_digest/_bunching.md @@ -30,6 +30,7 @@ * The problem increasingly worsens. * Bunching leads to: some people don't have to wait very long for a bus, but most have to wait a long time and get on a crowded bus. * Bunching is defined as buses that run within two minutes or less of each other. + * AH: How did they decide 2 minutes as the "threshold?" * MBTA lists the exact stops in which the bus bunches and the % of the time it bunches. * Headway requires GPS/AVL (automatic vehicle location) data. * Operators need to be trained on how to manage headway. From 9006cd4aca064a2e6db953bc4718b44372f30cdb Mon Sep 17 00:00:00 2001 From: amandaha8 Date: Thu, 8 Aug 2024 18:41:19 +0000 Subject: [PATCH 5/6] used 2 minute approach --- gtfs_digest/27_transit_bunching_seconds.ipynb | 5504 ++++++++--------- 1 file changed, 2505 insertions(+), 2999 deletions(-) diff --git a/gtfs_digest/27_transit_bunching_seconds.ipynb b/gtfs_digest/27_transit_bunching_seconds.ipynb index a5d33cb32..e24bf452d 100644 --- a/gtfs_digest/27_transit_bunching_seconds.ipynb +++ b/gtfs_digest/27_transit_bunching_seconds.ipynb @@ -115,6 +115,27 @@ { "cell_type": "code", "execution_count": 7, + "id": "c9c35b69-d5ad-47b6-9027-33cc6631835e", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "'schedule_route_dir/schedule_route_direction_metrics'" + ] + }, + "execution_count": 7, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "GTFS_DATA_DICT.rt_vs_schedule_tables.sched_route_direction_metrics" + ] + }, + { + "cell_type": "code", + "execution_count": 8, "id": "9d07da3c-e347-4671-925b-e8f5bc31c0fd", "metadata": {}, "outputs": [], @@ -124,7 +145,59 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 9, + "id": "980c7eaa-2edb-40e3-9348-d88ccfc59318", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "\u001b[0;31mSignature:\u001b[0m \u001b[0mmerge_data\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconcatenate_schedule_by_route_direction\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdate_list\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mlist\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m->\u001b[0m \u001b[0mpandas\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcore\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mframe\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mDataFrame\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mSource:\u001b[0m \n", + "\u001b[0;32mdef\u001b[0m \u001b[0mconcatenate_schedule_by_route_direction\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mdate_list\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mlist\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m->\u001b[0m \u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mDataFrame\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m\"\"\"\u001b[0m\n", + "\u001b[0;34m Concatenate schedule data that's been \u001b[0m\n", + "\u001b[0;34m aggregated to route-direction-time_period.\u001b[0m\n", + "\u001b[0;34m \"\"\"\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mFILE\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mGTFS_DATA_DICT\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrt_vs_schedule_tables\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msched_route_direction_metrics\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mdf\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtime_series_utils\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconcatenate_datasets_across_dates\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mRT_SCHED_GCS\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mFILE\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mdate_list\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mdata_type\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m\"df\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mcolumns\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mroute_time_with_cardinal_dir_cols\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m\"avg_scheduled_service_minutes\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m\"avg_stop_miles\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m\"n_trips\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"frequency\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m\"is_express\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"is_rapid\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"is_rail\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m\"is_coverage\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"is_downtown_local\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"is_local\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msort_values\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msort_cols_with_cardinal_dir_cols\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrename\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mcolumns\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m{\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;31m# rename so we understand data source\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m\"n_trips\"\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;34m\"n_scheduled_trips\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m}\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreset_index\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdrop\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mdf\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mFile:\u001b[0m ~/data-analyses/gtfs_digest/merge_data.py\n", + "\u001b[0;31mType:\u001b[0m function" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "merge_data.concatenate_schedule_by_route_direction??" + ] + }, + { + "cell_type": "code", + "execution_count": 10, "id": "f20ecdf1-76e0-4f7f-a10d-97860f6911e8", "metadata": {}, "outputs": [], @@ -134,7 +207,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 11, "id": "75b6d1d2-b6b5-4c44-8d5a-0f026e8fcd65", "metadata": {}, "outputs": [], @@ -149,7 +222,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 12, "id": "e2893c22-7d7c-4dca-9d08-0e33d2680437", "metadata": {}, "outputs": [], @@ -171,7 +244,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 13, "id": "19c16f8b-5bec-48b9-9b26-2765f63db58d", "metadata": {}, "outputs": [ @@ -191,7 +264,7 @@ "Name: frequency_in_minutes, dtype: float64" ] }, - "execution_count": 11, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } @@ -204,7 +277,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 14, "id": "7199531e-4d3b-49f6-9c8e-a537a06b4990", "metadata": {}, "outputs": [ @@ -233,7 +306,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 15, "id": "43bbb489-39ab-4c98-8685-66f94c413bf6", "metadata": {}, "outputs": [], @@ -245,7 +318,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 16, "id": "fc18e4be-f035-4d5b-a096-e134dd17fc47", "metadata": {}, "outputs": [ @@ -255,7 +328,7 @@ "93" ] }, - "execution_count": 14, + "execution_count": 16, "metadata": {}, "output_type": "execute_result" } @@ -274,7 +347,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 17, "id": "674f8ee6-3f6d-4f90-90ba-7ea9ee688b28", "metadata": {}, "outputs": [], @@ -284,7 +357,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 18, "id": "5333afa8-4849-4864-b253-b03a1093e84f", "metadata": {}, "outputs": [], @@ -294,7 +367,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 19, "id": "111e2c27-337d-4440-a1f6-10ec582a6f9e", "metadata": {}, "outputs": [], @@ -312,7 +385,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 20, "id": "e1aed68a-0ed2-4da4-904a-cb91681e7f38", "metadata": {}, "outputs": [], @@ -324,7 +397,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 21, "id": "04901f96-76d5-4d99-b3d1-f174ef989357", "metadata": {}, "outputs": [], @@ -339,7 +412,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 22, "id": "1195177f-0215-4b24-9e47-dccfb3ee542e", "metadata": {}, "outputs": [ @@ -422,7 +495,7 @@ "1 Northbound 16.67 " ] }, - "execution_count": 20, + "execution_count": 22, "metadata": {}, "output_type": "execute_result" } @@ -433,7 +506,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 23, "id": "96f76885-c4ad-4637-95d8-482ede0b7783", "metadata": {}, "outputs": [ @@ -443,7 +516,7 @@ "20090" ] }, - "execution_count": 21, + "execution_count": 23, "metadata": {}, "output_type": "execute_result" } @@ -452,6 +525,100 @@ "trips_freq_routes.trip_instance_key.nunique()" ] }, + { + "cell_type": "code", + "execution_count": 24, + "id": "de16d0ca-cf32-4db0-8344-637da4136df2", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_idtrip_instance_keyshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
0cc53a0dbf5df90e3009b9cb5d89d80ba4869cd1d4fc457d3a3fff6e77e47336bbc987fca7ce64e1b773776b91ec1cf82c9ea2cfdf0e33e9229d6b0ad124d956f5856DASH Pico Union/Echo Park0.00Northbound16.67
1cc53a0dbf5df90e3009b9cb5d89d80ba4869180a069ab3aefcf8f3317a788b32c2887fca7ce64e1b773776b91ec1cf82c9ea2cfdf0e33e9229d6b0ad124d956f5856DASH Pico Union/Echo Park0.00Northbound16.67
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_id \\\n", + "0 cc53a0dbf5df90e3009b9cb5d89d80ba 4869 \n", + "1 cc53a0dbf5df90e3009b9cb5d89d80ba 4869 \n", + "\n", + " trip_instance_key shape_array_key \\\n", + "0 cd1d4fc457d3a3fff6e77e47336bbc98 7fca7ce64e1b773776b91ec1cf82c9ea \n", + "1 180a069ab3aefcf8f3317a788b32c288 7fca7ce64e1b773776b91ec1cf82c9ea \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "0 2cfdf0e33e9229d6b0ad124d956f5856 DASH Pico Union/Echo Park 0.00 \n", + "1 2cfdf0e33e9229d6b0ad124d956f5856 DASH Pico Union/Echo Park 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes \n", + "0 Northbound 16.67 \n", + "1 Northbound 16.67 " + ] + }, + "execution_count": 24, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "trips_freq_routes.head(2)" + ] + }, { "cell_type": "markdown", "id": "e3be8778-84ff-479f-a3b2-178e374da5f2", @@ -463,7 +630,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 25, "id": "3f6727c6-205f-4cc8-8a68-42e8dec6e4b3", "metadata": {}, "outputs": [], @@ -475,7 +642,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 26, "id": "b9db22cf-e498-4e99-993c-b373231c8bd6", "metadata": {}, "outputs": [ @@ -485,7 +652,7 @@ "(2601262, 7)" ] }, - "execution_count": 23, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } @@ -496,7 +663,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 27, "id": "049a2833-f132-431a-8f44-92f31cd11d8a", "metadata": {}, "outputs": [], @@ -515,50 +682,8 @@ }, { "cell_type": "code", - "execution_count": 25, - "id": "a4ebc7fa-19b9-480b-8b39-d9ef20fd9037", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "1903905" - ] - }, - "execution_count": 25, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "len(rt_stop_times) - len(rt_stop_times2)" - ] - }, - { - "cell_type": "code", - "execution_count": 26, - "id": "d1abbbd0-0cee-4f03-a4bb-497209a62498", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "(697357, 14)" - ] - }, - "execution_count": 26, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times2.shape" - ] - }, - { - "cell_type": "code", - "execution_count": 27, - "id": "e09d96f4-bb51-4ab8-89cb-eddefff4bd9a", + "execution_count": 28, + "id": "00efb64d-a3a0-4050-802d-40828779a51d", "metadata": {}, "outputs": [ { @@ -659,7 +784,7 @@ "1 1.00 Southbound 16.08 " ] }, - "execution_count": 27, + "execution_count": 28, "metadata": {}, "output_type": "execute_result" } @@ -670,79 +795,234 @@ }, { "cell_type": "code", - "execution_count": 28, - "id": "6464ea15-574a-4976-a41f-26440f7ca1ed", + "execution_count": 29, + "id": "a4ebc7fa-19b9-480b-8b39-d9ef20fd9037", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "(17213, 17213)" + "1903905" ] }, - "execution_count": 28, + "execution_count": 29, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times2.trip_id.nunique(), rt_stop_times2.trip_instance_key.nunique()" - ] - }, - { - "cell_type": "markdown", - "id": "8845ee2a-5878-417f-94d1-de21a3c56261", - "metadata": {}, - "source": [ - "### `rt_stop_times3`: Some scheduled arrival seconds span longer than a day: filter them out\n", - "* There are 86,400 seconds in a day" + "len(rt_stop_times) - len(rt_stop_times2)" ] }, { "cell_type": "code", - "execution_count": 29, - "id": "269116cd-242f-4834-a2fa-08f4ae94f14d", + "execution_count": 30, + "id": "d1abbbd0-0cee-4f03-a4bb-497209a62498", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "count 697357.00\n", - "mean 50526.22\n", - "std 19329.72\n", - "min 9420.00\n", - "25% 34320.00\n", - "50% 49740.00\n", - "75% 64380.00\n", - "max 108431.00\n", - "Name: scheduled_arrival_sec, dtype: float64" + "(697357, 14)" ] }, - "execution_count": 29, + "execution_count": 30, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times2.scheduled_arrival_sec.describe()" + "rt_stop_times2.shape" ] }, { "cell_type": "code", - "execution_count": 30, - "id": "0749c6d5-e8e3-49a6-8877-2517a1ebe178", + "execution_count": 31, + "id": "e09d96f4-bb51-4ab8-89cb-eddefff4bd9a", "metadata": {}, "outputs": [ { "data": { - "text/plain": [ - "27472" - ] - }, - "execution_count": 30, - "metadata": {}, - "output_type": "execute_result" - } + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
0922552258261249.00efbbd5293be71f7a5de0cf82b59febe150617e0d3c1bbedd9803836728767a69619953730e10d20177f6b29f7d2de52645301f18f0e75eaae4dc791180f05782fa8825254Main St & Santa Monica Blvd/UCLA1.00Southbound16.08
1922552310962012.00efbbd5293be71f7a5de0cf82b59febe150617e0d3c1bbedd9803836728767a69628263730e10d20177f6b29f7d2de52645301f18f0e75eaae4dc791180f05782fa8825254Main St & Santa Monica Blvd/UCLA1.00Southbound16.08
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "0 922552 258 2 61249.00 \n", + "1 922552 310 9 62012.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "0 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", + "1 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "0 61995 3730 e10d20177f6b29f7d2de52645301f18f \n", + "1 62826 3730 e10d20177f6b29f7d2de52645301f18f \n", + "\n", + " feed_key route_long_name \\\n", + "0 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", + "1 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", + "\n", + " direction_id route_primary_direction frequency_in_minutes \n", + "0 1.00 Southbound 16.08 \n", + "1 1.00 Southbound 16.08 " + ] + }, + "execution_count": 31, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 32, + "id": "6464ea15-574a-4976-a41f-26440f7ca1ed", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(17213, 17213)" + ] + }, + "execution_count": 32, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.trip_id.nunique(), rt_stop_times2.trip_instance_key.nunique()" + ] + }, + { + "cell_type": "markdown", + "id": "8845ee2a-5878-417f-94d1-de21a3c56261", + "metadata": {}, + "source": [ + "### `rt_stop_times3`: Some scheduled arrival seconds span longer than a day: filter them out\n", + "* There are 86,400 seconds in a day" + ] + }, + { + "cell_type": "code", + "execution_count": 33, + "id": "269116cd-242f-4834-a2fa-08f4ae94f14d", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "count 697357.00\n", + "mean 50526.22\n", + "std 19329.72\n", + "min 9420.00\n", + "25% 34320.00\n", + "50% 49740.00\n", + "75% 64380.00\n", + "max 108431.00\n", + "Name: scheduled_arrival_sec, dtype: float64" + ] + }, + "execution_count": 33, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.scheduled_arrival_sec.describe()" + ] + }, + { + "cell_type": "code", + "execution_count": 34, + "id": "0749c6d5-e8e3-49a6-8877-2517a1ebe178", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "27472" + ] + }, + "execution_count": 34, + "metadata": {}, + "output_type": "execute_result" + } ], "source": [ "len(rt_stop_times2.loc[rt_stop_times2.scheduled_arrival_sec > 86400])" @@ -750,7 +1030,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 35, "id": "daae9784-aa88-4dd7-b2dd-56a0743aa1b7", "metadata": {}, "outputs": [], @@ -762,7 +1042,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 36, "id": "ca2165ab-8553-4874-a774-de7f52ac2028", "metadata": {}, "outputs": [ @@ -772,7 +1052,7 @@ "669746" ] }, - "execution_count": 32, + "execution_count": 36, "metadata": {}, "output_type": "execute_result" } @@ -783,7 +1063,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 37, "id": "3fbcd8f2-d394-4d03-b183-edb28f3638b7", "metadata": {}, "outputs": [ @@ -801,7 +1081,7 @@ "Name: scheduled_arrival_sec, dtype: float64" ] }, - "execution_count": 33, + "execution_count": 37, "metadata": {}, "output_type": "execute_result" } @@ -812,7 +1092,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 38, "id": "69002d94-5d7c-42b5-a465-c710ec7d678f", "metadata": {}, "outputs": [ @@ -830,7 +1110,7 @@ "Name: rt_arrival_sec, dtype: float64" ] }, - "execution_count": 34, + "execution_count": 38, "metadata": {}, "output_type": "execute_result" } @@ -845,12 +1125,12 @@ "metadata": {}, "source": [ "### `rt_stop_times4`: Sort so stop sequence for the `operator-stop_id-route-id_direction_id` will be in order.\n", - "Help, which columns should I use to sort? Should I keep `feed_key` and `shape_array_key`?" + "* Comparing bunching by STOP, so we have to look at the stop sequence-stop_id." ] }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 39, "id": "0ef36e93-79ed-4f86-b16a-9d28d90aea1a", "metadata": {}, "outputs": [], @@ -862,7 +1142,6 @@ " \"schedule_gtfs_dataset_key\",\n", " \"route_id\",\n", " \"direction_id\",\n", - " \"feed_key\",\n", " \"shape_array_key\",\n", " \"stop_sequence\",\n", " \"scheduled_arrival_sec\",\n", @@ -870,152 +1149,392 @@ ").reset_index(drop=True)" ] }, - { - "cell_type": "markdown", - "id": "8a83b6e8-fbab-4ce2-b91e-bf32890bda18", - "metadata": {}, - "source": [ - "### Calculate the difference btwn actual vs scheduled arrival." - ] - }, { "cell_type": "code", - "execution_count": 36, - "id": "dcb53dcc-95e1-41fc-961b-da222c6e4580", + "execution_count": 180, + "id": "34428686-98f8-40e4-b181-13e255931f3d", "metadata": {}, "outputs": [], "source": [ - "def check_delay(df):\n", - " df = df.assign(delay=df.rt_arrival_sec - df.scheduled_arrival_sec)\n", - "\n", - " print(df.delay.describe(percentiles=[0.05, 0.1, 0.9, 0.95]))\n", - "\n", - " max_delay_min = df.delay.max() / 60\n", - " p95_delay_min = df.delay.quantile(q=0.95) / 60\n", - "\n", - " min_delay_min = df.delay.min() / 60\n", - " p5_delay_min = df.delay.quantile(q=0.05) / 60\n", - "\n", - " print(f\"min / max delay (minutes): {min_delay_min}, {max_delay_min}\")\n", - " print(f\"5th / 95th delay (minutes): {p5_delay_min}, {p95_delay_min}\")\n", - "\n", - " return df" + "fillmore_stop_seq_13 = rt_stop_times4.loc[\n", + " (rt_stop_times4.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (rt_stop_times4.stop_id == \"13086\")\n", + " & (rt_stop_times4.direction_id == 0)\n", + "]" ] }, { "cell_type": "code", - "execution_count": 37, - "id": "e6c251c4-a7e9-475e-8f58-9ce98f2016b8", + "execution_count": 184, + "id": "ec80b47e-5a9e-4549-af42-fc96257e4868", "metadata": {}, "outputs": [ { - "name": "stdout", + "name": "stderr", "output_type": "stream", "text": [ - "count 669746.00\n", - "mean 68.40\n", - "std 2841.12\n", - "min -86381.00\n", - "5% -167.00\n", - "10% -107.00\n", - "50% 89.00\n", - "90% 515.00\n", - "95% 719.00\n", - "max 57878.00\n", - "Name: delay, dtype: float64\n", - "min / max delay (minutes): -1439.6833333333334, 964.6333333333333\n", - "5th / 95th delay (minutes): -2.783333333333333, 11.983333333333333\n" + "/tmp/ipykernel_476/3289452328.py:1: SettingWithCopyWarning: \n", + "A value is trying to be set on a copy of a slice from a DataFrame.\n", + "Try using .loc[row_indexer,col_indexer] = value instead\n", + "\n", + "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", + " fillmore_stop_seq_13['rt_arrival_min'] = fillmore_stop_seq_13.rt_arrival_sec/(60*60)\n" ] } ], "source": [ - "rt_stop_times4 = check_delay(rt_stop_times4)" + "fillmore_stop_seq_13['rt_arrival_min'] = fillmore_stop_seq_13.rt_arrival_sec/(60*60)" ] }, { "cell_type": "code", - "execution_count": 38, - "id": "67998e54-6716-4333-b6f0-822f4d714b79", + "execution_count": 187, + "id": "7bb4908c-c7e8-40dd-b1dd-60c908913e43", "metadata": {}, "outputs": [ { - "data": { - "text/plain": [ - "23.983333333333334" - ] - }, - "execution_count": 38, - "metadata": {}, - "output_type": "execute_result" + "name": "stderr", + "output_type": "stream", + "text": [ + "/tmp/ipykernel_476/715837793.py:2: SettingWithCopyWarning: \n", + "A value is trying to be set on a copy of a slice from a DataFrame.\n", + "Try using .loc[row_indexer,col_indexer] = value instead\n", + "\n", + "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", + " fillmore_stop_seq_13['rt_arrival_time'] = pd.to_timedelta(fillmore_stop_seq_13['rt_arrival_sec'], unit='s')\n" + ] } ], - "source": [ - "1439 / 60" - ] + "source": [] }, { - "cell_type": "markdown", - "id": "bc8f529b-afee-4d3c-993f-b8ff5dcdb8de", + "cell_type": "code", + "execution_count": 188, + "id": "d00c75b8-717c-4e7b-a3b7-31d308da3748", "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayrt_arrival_minrt_arrival_time
45274511489969_M31130861367199.007cc0cb1871dfd558f11a2885c145d144b73ff68241fdcb9ff5a3f3be424b226867051221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-148.0018.630 days 18:37:31
45274611489975_M31130861369106.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69048221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-58.0019.180 days 19:10:48
45274711489815_M31130861369466.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869723221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61257.0019.370 days 19:22:03
45274811489816_M31130861370006.007cc0cb1871dfd558f11a2885c145d1445cd2523ccd8c33e277aaae0ac9af35c870421221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61415.0019.560 days 19:33:41
45274911489817_M31130861372992.007cc0cb1871dfd558f11a2885c145d14445830206e5f4a07c06e520968f4b789f73064221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6172.0020.300 days 20:17:44
45275011489861_M31130861374432.007cc0cb1871dfd558f11a2885c145d144a28a9fc884812bbb9e404de1dd970ccd75434221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.611002.0020.950 days 20:57:14
45275111489818_M31130861375872.007cc0cb1871dfd558f11a2885c145d144c20c26a42e6277dd327fe1280cead6a875943221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6171.0021.100 days 21:05:43
\n", + "
" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "452745 11489969_M31 13086 13 67199.00 \n", + "452746 11489975_M31 13086 13 69106.00 \n", + "452747 11489815_M31 13086 13 69466.00 \n", + "452748 11489816_M31 13086 13 70006.00 \n", + "452749 11489817_M31 13086 13 72992.00 \n", + "452750 11489861_M31 13086 13 74432.00 \n", + "452751 11489818_M31 13086 13 75872.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "452745 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", + "452746 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "452747 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "452748 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", + "452749 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", + "452750 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", + "452751 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "452745 67051 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452746 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452747 69723 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452748 70421 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452749 73064 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452750 75434 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452751 75943 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "452745 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452746 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452747 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452748 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452749 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452750 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452751 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay rt_arrival_min \\\n", + "452745 Southbound 7.61 -148.00 18.63 \n", + "452746 Southbound 7.61 -58.00 19.18 \n", + "452747 Southbound 7.61 257.00 19.37 \n", + "452748 Southbound 7.61 415.00 19.56 \n", + "452749 Southbound 7.61 72.00 20.30 \n", + "452750 Southbound 7.61 1002.00 20.95 \n", + "452751 Southbound 7.61 71.00 21.10 \n", + "\n", + " rt_arrival_time \n", + "452745 0 days 18:37:31 \n", + "452746 0 days 19:10:48 \n", + "452747 0 days 19:22:03 \n", + "452748 0 days 19:33:41 \n", + "452749 0 days 20:17:44 \n", + "452750 0 days 20:57:14 \n", + "452751 0 days 21:05:43 " + ] + }, + "execution_count": 188, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ - "#### `rt_stop_times5`: Filter out values in `delay` that ~1 hour zone" + "fillmore_stop_seq_13" ] }, { - "cell_type": "code", - "execution_count": 39, - "id": "bbd1cbc3-9762-44b8-a564-c33e57879d10", + "cell_type": "markdown", + "id": "8a83b6e8-fbab-4ce2-b91e-bf32890bda18", "metadata": {}, - "outputs": [], "source": [ - "# Filter to only delays that are an hour or less\n", - "rt_stop_times5 = rt_stop_times4[rt_stop_times4[\"delay\"] <= 60 * 60].reset_index(\n", - " drop=True\n", - ")" + "### Calculate the difference btwn actual vs scheduled arrival." ] }, { "cell_type": "code", "execution_count": 40, - "id": "9c19be36-0e5b-428d-bc4f-da52821208f4", + "id": "dcb53dcc-95e1-41fc-961b-da222c6e4580", "metadata": {}, "outputs": [], "source": [ - "# Filter to only delays that are no less than\n", - "rt_stop_times5 = rt_stop_times5[rt_stop_times5[\"delay\"] >= -3600].reset_index(drop=True)" + "def check_delay(df):\n", + " df = df.assign(delay=df.rt_arrival_sec - df.scheduled_arrival_sec)\n", + "\n", + " print(df.delay.describe(percentiles=[0.05, 0.1, 0.9, 0.95]))\n", + "\n", + " max_delay_min = df.delay.max() / 60\n", + " p95_delay_min = df.delay.quantile(q=0.95) / 60\n", + "\n", + " min_delay_min = df.delay.min() / 60\n", + " p5_delay_min = df.delay.quantile(q=0.05) / 60\n", + "\n", + " print(f\"min / max delay (minutes): {min_delay_min}, {max_delay_min}\")\n", + " print(f\"5th / 95th delay (minutes): {p5_delay_min}, {p95_delay_min}\")\n", + "\n", + " return df" ] }, { "cell_type": "code", "execution_count": 41, - "id": "813c65e5-8ee6-4896-82d7-c3e6dec8a92f", + "id": "e6c251c4-a7e9-475e-8f58-9ce98f2016b8", "metadata": {}, "outputs": [ { - "data": { - "text/plain": [ - "1100" - ] - }, - "execution_count": 41, - "metadata": {}, - "output_type": "execute_result" + "name": "stdout", + "output_type": "stream", + "text": [ + "count 669746.00\n", + "mean 68.40\n", + "std 2841.12\n", + "min -86381.00\n", + "5% -167.00\n", + "10% -107.00\n", + "50% 89.00\n", + "90% 515.00\n", + "95% 719.00\n", + "max 57878.00\n", + "Name: delay, dtype: float64\n", + "min / max delay (minutes): -1439.6833333333334, 964.6333333333333\n", + "5th / 95th delay (minutes): -2.783333333333333, 11.983333333333333\n" + ] } ], "source": [ - "len(rt_stop_times4) - len(rt_stop_times5)" + "rt_stop_times4 = check_delay(rt_stop_times4)" ] }, { "cell_type": "code", "execution_count": 42, - "id": "5d44f2e7-c2ea-472b-9c9b-e53bb69e446c", + "id": "67998e54-6716-4333-b6f0-822f4d714b79", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "1932616" + "23.983333333333334" ] }, "execution_count": 42, @@ -1024,22 +1543,96 @@ } ], "source": [ - "len(rt_stop_times) - len(rt_stop_times5)" + "1439 / 60" + ] + }, + { + "cell_type": "markdown", + "id": "bc8f529b-afee-4d3c-993f-b8ff5dcdb8de", + "metadata": {}, + "source": [ + "#### `rt_stop_times5`: Filter out values in `delay` that are in the +/- hour zone" ] }, { "cell_type": "code", "execution_count": 43, - "id": "4adcf7da-3155-4891-82cb-693e2dbad07d", + "id": "bbd1cbc3-9762-44b8-a564-c33e57879d10", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "28711" + "outputs": [], + "source": [ + "# Filter to only delays that are an hour or less\n", + "rt_stop_times5 = rt_stop_times4[rt_stop_times4[\"delay\"] <= 60 * 60].reset_index(\n", + " drop=True\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 44, + "id": "9c19be36-0e5b-428d-bc4f-da52821208f4", + "metadata": {}, + "outputs": [], + "source": [ + "# Filter to only delays that are no less than\n", + "rt_stop_times5 = rt_stop_times5[rt_stop_times5[\"delay\"] >= -3600].reset_index(drop=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 45, + "id": "813c65e5-8ee6-4896-82d7-c3e6dec8a92f", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "1100" + ] + }, + "execution_count": 45, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(rt_stop_times4) - len(rt_stop_times5)" + ] + }, + { + "cell_type": "code", + "execution_count": 46, + "id": "5d44f2e7-c2ea-472b-9c9b-e53bb69e446c", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "1932616" + ] + }, + "execution_count": 46, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(rt_stop_times) - len(rt_stop_times5)" + ] + }, + { + "cell_type": "code", + "execution_count": 47, + "id": "4adcf7da-3155-4891-82cb-693e2dbad07d", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "28711" ] }, - "execution_count": 43, + "execution_count": 47, "metadata": {}, "output_type": "execute_result" } @@ -1050,7 +1643,7 @@ }, { "cell_type": "code", - "execution_count": 44, + "execution_count": 48, "id": "43c7f278-063c-4c94-b184-eabbc143df3b", "metadata": {}, "outputs": [ @@ -1068,7 +1661,7 @@ "Name: delay, dtype: float64" ] }, - "execution_count": 44, + "execution_count": 48, "metadata": {}, "output_type": "execute_result" } @@ -1088,14 +1681,13 @@ }, { "cell_type": "code", - "execution_count": 45, + "execution_count": 49, "id": "b9171520-7358-4f22-9d9c-c5156e710f1b", "metadata": {}, "outputs": [], "source": [ "groupby_cols = [\n", " \"schedule_gtfs_dataset_key\",\n", - " \"feed_key\",\n", " \"shape_array_key\",\n", " \"route_id\",\n", " \"direction_id\",\n", @@ -1107,7 +1699,7 @@ }, { "cell_type": "code", - "execution_count": 46, + "execution_count": 50, "id": "f5b62023-ab77-4634-a526-3d822bb7a63f", "metadata": {}, "outputs": [], @@ -1127,7 +1719,7 @@ }, { "cell_type": "code", - "execution_count": 47, + "execution_count": 51, "id": "6328c5fb-205e-4a78-a3d3-62fafa88a4cd", "metadata": {}, "outputs": [], @@ -1139,7 +1731,7 @@ }, { "cell_type": "code", - "execution_count": 48, + "execution_count": 52, "id": "b7da74af-42e0-463f-852b-e22877574a7b", "metadata": {}, "outputs": [ @@ -1371,7 +1963,7 @@ "89 14.59 -105.00 NaN NaN " ] }, - "execution_count": 48, + "execution_count": 52, "metadata": {}, "output_type": "execute_result" } @@ -1394,7 +1986,7 @@ }, { "cell_type": "code", - "execution_count": 49, + "execution_count": 53, "id": "cd2ec7a7-f0be-4575-9b55-d9f229a26ca1", "metadata": {}, "outputs": [ @@ -1438,12 +2030,12 @@ "id": "e16aa0ce-32dc-41ae-9c24-baacf95c2faf", "metadata": {}, "source": [ - "### `rt_stop_times6`: Delete out the rows in which `actual_headway` and `schd_headway` are `nan`: this is basically teh first row of each grain" + "### `rt_stop_times6`: Delete out the rows in which `actual_headway` and `schd_headway` are `nan`: this is basically the first row of each grain" ] }, { "cell_type": "code", - "execution_count": 50, + "execution_count": 54, "id": "2c3a4e87-e6f5-46d3-bce8-ad998c9343d7", "metadata": {}, "outputs": [], @@ -1453,7 +2045,7 @@ }, { "cell_type": "code", - "execution_count": 51, + "execution_count": 55, "id": "588f17d2-5ffb-4bac-b2a1-d96ce2f6d9d9", "metadata": {}, "outputs": [], @@ -1465,7 +2057,7 @@ }, { "cell_type": "code", - "execution_count": 52, + "execution_count": 56, "id": "194fd116-fecf-4a68-a658-7bfc9fd351ce", "metadata": {}, "outputs": [ @@ -1475,7 +2067,7 @@ "21439" ] }, - "execution_count": 52, + "execution_count": 56, "metadata": {}, "output_type": "execute_result" } @@ -1484,17 +2076,38 @@ "len(rt_stop_times5) - len(rt_stop_times6)" ] }, + { + "cell_type": "code", + "execution_count": 57, + "id": "d769cda1-f7bd-415c-8a78-7c3e1b6519d7", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(647207, 17)" + ] + }, + "execution_count": 57, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times6.shape" + ] + }, { "cell_type": "markdown", "id": "9b940ef3-76e6-40a0-bea5-91391827ad99", "metadata": {}, "source": [ - "###Find the mean scheduled headway for the `operator-route-direction_id-stop_sequence-stop_id-` grain" + "### Find the mean scheduled headway for the `operator-route-direction_id-stop_sequence-stop_id-` grain" ] }, { "cell_type": "code", - "execution_count": 53, + "execution_count": 58, "id": "a1a2713d-bb47-4762-9617-ad090dc2d964", "metadata": {}, "outputs": [], @@ -1509,7 +2122,7 @@ }, { "cell_type": "code", - "execution_count": 54, + "execution_count": 59, "id": "dcaadfa9-2e8e-4164-9ef1-a007ef53e522", "metadata": {}, "outputs": [ @@ -1519,20 +2132,19 @@ "text": [ "\n", "RangeIndex: 19260 entries, 0 to 19259\n", - "Data columns (total 9 columns):\n", + "Data columns (total 8 columns):\n", " # Column Non-Null Count Dtype \n", "--- ------ -------------- ----- \n", " 0 schedule_gtfs_dataset_key 19260 non-null object \n", - " 1 feed_key 19260 non-null object \n", - " 2 shape_array_key 19260 non-null object \n", - " 3 route_id 19260 non-null object \n", - " 4 direction_id 19260 non-null float64\n", - " 5 route_primary_direction 19260 non-null object \n", - " 6 stop_sequence 19260 non-null int64 \n", - " 7 stop_id 19260 non-null object \n", - " 8 avg_schd_headway_sec 19260 non-null float64\n", - "dtypes: float64(2), int64(1), object(6)\n", - "memory usage: 1.3+ MB\n" + " 1 shape_array_key 19260 non-null object \n", + " 2 route_id 19260 non-null object \n", + " 3 direction_id 19260 non-null float64\n", + " 4 route_primary_direction 19260 non-null object \n", + " 5 stop_sequence 19260 non-null int64 \n", + " 6 stop_id 19260 non-null object \n", + " 7 avg_schd_headway_sec 19260 non-null float64\n", + "dtypes: float64(2), int64(1), object(5)\n", + "memory usage: 1.2+ MB\n" ] } ], @@ -1550,7 +2162,7 @@ }, { "cell_type": "code", - "execution_count": 55, + "execution_count": 60, "id": "9c0f62d9-a794-4223-8b1a-ac14ae48e51f", "metadata": {}, "outputs": [], @@ -1564,7 +2176,7 @@ }, { "cell_type": "code", - "execution_count": 56, + "execution_count": 61, "id": "750f9b60-d0ab-43e3-8b0c-8cf0089b3f30", "metadata": {}, "outputs": [ @@ -1574,7 +2186,7 @@ "0" ] }, - "execution_count": 56, + "execution_count": 61, "metadata": {}, "output_type": "execute_result" } @@ -1593,7 +2205,7 @@ }, { "cell_type": "code", - "execution_count": 57, + "execution_count": 62, "id": "56e3767e-bfbc-47d0-8b21-4264fa3561a3", "metadata": {}, "outputs": [], @@ -1617,7 +2229,7 @@ }, { "cell_type": "code", - "execution_count": 58, + "execution_count": 63, "id": "0daab2ac-1a4c-49e2-8324-83cada3f66c8", "metadata": {}, "outputs": [ @@ -1627,20 +2239,19 @@ "text": [ "\n", "RangeIndex: 19260 entries, 0 to 19259\n", - "Data columns (total 9 columns):\n", + "Data columns (total 8 columns):\n", " # Column Non-Null Count Dtype \n", "--- ------ -------------- ----- \n", " 0 schedule_gtfs_dataset_key 19260 non-null object \n", - " 1 feed_key 19260 non-null object \n", - " 2 shape_array_key 19260 non-null object \n", - " 3 route_id 19260 non-null object \n", - " 4 direction_id 19260 non-null float64\n", - " 5 route_primary_direction 19260 non-null object \n", - " 6 stop_sequence 19260 non-null int64 \n", - " 7 stop_id 19260 non-null object \n", - " 8 std_dev_headway 17781 non-null float64\n", - "dtypes: float64(2), int64(1), object(6)\n", - "memory usage: 1.3+ MB\n" + " 1 shape_array_key 19260 non-null object \n", + " 2 route_id 19260 non-null object \n", + " 3 direction_id 19260 non-null float64\n", + " 4 route_primary_direction 19260 non-null object \n", + " 5 stop_sequence 19260 non-null int64 \n", + " 6 stop_id 19260 non-null object \n", + " 7 std_dev_headway 17781 non-null float64\n", + "dtypes: float64(2), int64(1), object(5)\n", + "memory usage: 1.2+ MB\n" ] } ], @@ -1650,7 +2261,7 @@ }, { "cell_type": "code", - "execution_count": 59, + "execution_count": 64, "id": "d0adea67-57ed-4c34-8ff6-bced21899ab0", "metadata": {}, "outputs": [ @@ -1676,7 +2287,6 @@ " \n", " \n", " schedule_gtfs_dataset_key\n", - " feed_key\n", " shape_array_key\n", " route_id\n", " direction_id\n", @@ -1688,15 +2298,14 @@ " \n", " \n", " \n", - " 1349\n", + " 3550\n", " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 608992664173210532aa3e6cc573be2f\n", - " 13d1f6a199bb8055089a2f96cea449f0\n", - " 108-13172\n", + " 43830ca4ffb5effb3c34da7ae108a0b3\n", + " 60-13172\n", " 1.00\n", - " Westbound\n", - " 43\n", - " 16283\n", + " Southbound\n", + " 46\n", + " 11510\n", " NaN\n", " \n", " \n", @@ -1704,17 +2313,17 @@ "" ], "text/plain": [ - " schedule_gtfs_dataset_key feed_key \\\n", - "1349 0666caf3ec1ecc96b74f4477ee4bc939 608992664173210532aa3e6cc573be2f \n", + " schedule_gtfs_dataset_key shape_array_key \\\n", + "3550 0666caf3ec1ecc96b74f4477ee4bc939 43830ca4ffb5effb3c34da7ae108a0b3 \n", "\n", - " shape_array_key route_id direction_id \\\n", - "1349 13d1f6a199bb8055089a2f96cea449f0 108-13172 1.00 \n", + " route_id direction_id route_primary_direction stop_sequence stop_id \\\n", + "3550 60-13172 1.00 Southbound 46 11510 \n", "\n", - " route_primary_direction stop_sequence stop_id std_dev_headway \n", - "1349 Westbound 43 16283 NaN " + " std_dev_headway \n", + "3550 NaN " ] }, - "execution_count": 59, + "execution_count": 64, "metadata": {}, "output_type": "execute_result" } @@ -1725,7 +2334,7 @@ }, { "cell_type": "code", - "execution_count": 60, + "execution_count": 65, "id": "317dfcc5-b35b-463f-aad2-6d9446fd236f", "metadata": {}, "outputs": [], @@ -1738,13 +2347,13 @@ "id": "2a5b721a-41ef-4c82-a0bc-8c2b3f194549", "metadata": {}, "source": [ - "##### Investigate missing rows\n", + "#### Investigate missing rows\n", "* This one seems to have some very unrealistic time stamps, like the time between scheduled versus actual arrival times are more than an hour." ] }, { "cell_type": "code", - "execution_count": 61, + "execution_count": 66, "id": "654cb4b7-7043-4453-b1d2-85829c4e609a", "metadata": {}, "outputs": [ @@ -1835,7 +2444,7 @@ "161685 1800.00 1800.00 " ] }, - "execution_count": 61, + "execution_count": 66, "metadata": {}, "output_type": "execute_result" } @@ -1860,7 +2469,7 @@ }, { "cell_type": "code", - "execution_count": 62, + "execution_count": 67, "id": "97d704fb-6033-40d5-a972-d763b0c45507", "metadata": {}, "outputs": [ @@ -2006,7 +2615,7 @@ "479447 Southbound 13.92 " ] }, - "execution_count": 62, + "execution_count": 67, "metadata": {}, "output_type": "execute_result" } @@ -2023,7 +2632,7 @@ }, { "cell_type": "code", - "execution_count": 63, + "execution_count": 68, "id": "54544648-3f26-4ef1-934d-0859f14a82ce", "metadata": {}, "outputs": [ @@ -2147,7 +2756,7 @@ "462159 Southbound 13.92 " ] }, - "execution_count": 63, + "execution_count": 68, "metadata": {}, "output_type": "execute_result" } @@ -2164,7 +2773,7 @@ }, { "cell_type": "code", - "execution_count": 64, + "execution_count": 69, "id": "606ad2db-e50e-44d4-ac73-16701cadef16", "metadata": {}, "outputs": [ @@ -2292,7 +2901,7 @@ "168198 Southbound 13.92 -85917.00 " ] }, - "execution_count": 64, + "execution_count": 69, "metadata": {}, "output_type": "execute_result" } @@ -2309,7 +2918,7 @@ }, { "cell_type": "code", - "execution_count": 65, + "execution_count": 70, "id": "520e0c9e-5e53-4354-8587-2e55794432b7", "metadata": {}, "outputs": [ @@ -2424,7 +3033,7 @@ "168063 1800.00 " ] }, - "execution_count": 65, + "execution_count": 70, "metadata": {}, "output_type": "execute_result" } @@ -2441,7 +3050,7 @@ }, { "cell_type": "code", - "execution_count": 66, + "execution_count": 71, "id": "261ebbfe-03c2-47c8-8f44-66daa95e5ace", "metadata": {}, "outputs": [ @@ -2530,7 +3139,7 @@ "161685 1800.00 " ] }, - "execution_count": 66, + "execution_count": 71, "metadata": {}, "output_type": "execute_result" } @@ -2556,7 +3165,7 @@ }, { "cell_type": "code", - "execution_count": 67, + "execution_count": 72, "id": "75d0abfa-ead3-4c11-a34d-275920500052", "metadata": {}, "outputs": [ @@ -2647,7 +3256,7 @@ "179405 1800.00 1800.00 " ] }, - "execution_count": 67, + "execution_count": 72, "metadata": {}, "output_type": "execute_result" } @@ -2664,7 +3273,7 @@ }, { "cell_type": "code", - "execution_count": 68, + "execution_count": 73, "id": "e942226b-bb2a-4ab7-ae0f-055c8b7fc048", "metadata": {}, "outputs": [ @@ -2766,7 +3375,7 @@ "482097 Southbound 14.42 " ] }, - "execution_count": 68, + "execution_count": 73, "metadata": {}, "output_type": "execute_result" } @@ -2783,7 +3392,7 @@ }, { "cell_type": "code", - "execution_count": 69, + "execution_count": 74, "id": "b460d441-2d2d-42ec-b8af-a196561c2774", "metadata": {}, "outputs": [ @@ -2885,7 +3494,7 @@ "462564 Southbound 14.42 " ] }, - "execution_count": 69, + "execution_count": 74, "metadata": {}, "output_type": "execute_result" } @@ -2902,7 +3511,7 @@ }, { "cell_type": "code", - "execution_count": 70, + "execution_count": 75, "id": "33068379-3c4a-400c-baad-94487cad9d72", "metadata": {}, "outputs": [ @@ -3007,7 +3616,7 @@ "186849 Southbound 14.42 38.00 " ] }, - "execution_count": 70, + "execution_count": 75, "metadata": {}, "output_type": "execute_result" } @@ -3024,7 +3633,7 @@ }, { "cell_type": "code", - "execution_count": 71, + "execution_count": 76, "id": "0e84b0ae-c08b-43bb-9c4c-253c4cee3fa1", "metadata": {}, "outputs": [ @@ -3139,7 +3748,7 @@ "186709 1800.00 " ] }, - "execution_count": 71, + "execution_count": 76, "metadata": {}, "output_type": "execute_result" } @@ -3164,7 +3773,7 @@ }, { "cell_type": "code", - "execution_count": 72, + "execution_count": 77, "id": "44023236-a5ed-412c-bd08-3c68b6a92faf", "metadata": {}, "outputs": [], @@ -3186,7 +3795,7 @@ }, { "cell_type": "code", - "execution_count": 73, + "execution_count": 78, "id": "0dd50953-19b9-473c-b072-7d47b686dbf1", "metadata": {}, "outputs": [], @@ -3196,7 +3805,7 @@ }, { "cell_type": "code", - "execution_count": 74, + "execution_count": 79, "id": "ff8ed9e9-4575-4866-a38e-b8a554bf5dad", "metadata": {}, "outputs": [ @@ -3214,7 +3823,7 @@ "Name: bunching_coefficient, dtype: float64" ] }, - "execution_count": 74, + "execution_count": 79, "metadata": {}, "output_type": "execute_result" } @@ -3225,7 +3834,7 @@ }, { "cell_type": "code", - "execution_count": 75, + "execution_count": 80, "id": "8beaaddc-6bf0-4ff2-917e-5a855feabe2b", "metadata": {}, "outputs": [], @@ -3235,7 +3844,7 @@ }, { "cell_type": "code", - "execution_count": 76, + "execution_count": 81, "id": "4ea00728-6f29-4a58-9c4b-ced7c485c7f2", "metadata": {}, "outputs": [], @@ -3245,7 +3854,7 @@ }, { "cell_type": "code", - "execution_count": 77, + "execution_count": 82, "id": "b053889d-310e-4c22-b58d-e86fe6f4bbc5", "metadata": {}, "outputs": [], @@ -3258,12 +3867,12 @@ "id": "eb72e7ad-08b0-4918-9629-87d213404ce8", "metadata": {}, "source": [ - "### Retain only one row f or the grain" + "### Retain only one row for the grain" ] }, { "cell_type": "code", - "execution_count": 78, + "execution_count": 83, "id": "f91fe6e5-9a03-48ad-a1ec-dedb3c0c7a2e", "metadata": {}, "outputs": [], @@ -3277,7 +3886,7 @@ }, { "cell_type": "code", - "execution_count": 79, + "execution_count": 84, "id": "9c20690d-2d15-4c8c-a137-8b889ce45849", "metadata": {}, "outputs": [ @@ -3287,7 +3896,7 @@ "627947" ] }, - "execution_count": 79, + "execution_count": 84, "metadata": {}, "output_type": "execute_result" } @@ -3298,7 +3907,7 @@ }, { "cell_type": "code", - "execution_count": 80, + "execution_count": 85, "id": "8d5f66bb-6e25-4548-afb9-7603ae794cf4", "metadata": {}, "outputs": [ @@ -3308,7 +3917,7 @@ "17781" ] }, - "execution_count": 80, + "execution_count": 85, "metadata": {}, "output_type": "execute_result" } @@ -3319,7 +3928,7 @@ }, { "cell_type": "code", - "execution_count": 81, + "execution_count": 86, "id": "67a7eb7c-1662-482a-8adc-28353e7ccacc", "metadata": {}, "outputs": [ @@ -3371,7 +3980,7 @@ }, { "cell_type": "code", - "execution_count": 82, + "execution_count": 87, "id": "5e0595a1-13b6-4b2a-b633-907af8aa579d", "metadata": {}, "outputs": [], @@ -3398,7 +4007,7 @@ }, { "cell_type": "code", - "execution_count": 83, + "execution_count": 88, "id": "b9ece34e-5ad6-4137-93d4-68db20b9762b", "metadata": {}, "outputs": [ @@ -3414,7 +4023,7 @@ "Name: passenger_op_perspective, dtype: float64" ] }, - "execution_count": 83, + "execution_count": 88, "metadata": {}, "output_type": "execute_result" } @@ -3434,7 +4043,7 @@ }, { "cell_type": "code", - "execution_count": 84, + "execution_count": 89, "id": "d4df0c20-b3fb-4f9f-aecb-d925f2532fe4", "metadata": {}, "outputs": [ @@ -3451,7 +4060,7 @@ " 'mposa'}" ] }, - "execution_count": 84, + "execution_count": 89, "metadata": {}, "output_type": "execute_result" } @@ -3464,7 +4073,7 @@ }, { "cell_type": "code", - "execution_count": 85, + "execution_count": 90, "id": "34d0b206-5fe7-4a20-b9ff-5f76b22f02a6", "metadata": {}, "outputs": [ @@ -3517,7 +4126,7 @@ "597 Eastbound 10.00 " ] }, - "execution_count": 85, + "execution_count": 90, "metadata": {}, "output_type": "execute_result" } @@ -3538,7 +4147,7 @@ }, { "cell_type": "code", - "execution_count": 86, + "execution_count": 91, "id": "5508346c-442a-4f22-9bc3-1037cb1e727b", "metadata": {}, "outputs": [ @@ -3590,7 +4199,7 @@ "Index: []" ] }, - "execution_count": 86, + "execution_count": 91, "metadata": {}, "output_type": "execute_result" } @@ -3601,7 +4210,7 @@ }, { "cell_type": "code", - "execution_count": 87, + "execution_count": 92, "id": "7ec57b66-9600-4667-9fad-114c5d570cd1", "metadata": {}, "outputs": [ @@ -3653,7 +4262,7 @@ "Index: []" ] }, - "execution_count": 87, + "execution_count": 92, "metadata": {}, "output_type": "execute_result" } @@ -3664,7 +4273,7 @@ }, { "cell_type": "code", - "execution_count": 88, + "execution_count": 93, "id": "37422b12-4ef4-4e5e-8388-5ff91e25d04a", "metadata": {}, "outputs": [ @@ -3731,7 +4340,7 @@ "19915 Eastbound 16.05 " ] }, - "execution_count": 88, + "execution_count": 93, "metadata": {}, "output_type": "execute_result" } @@ -3742,7 +4351,7 @@ }, { "cell_type": "code", - "execution_count": 89, + "execution_count": 94, "id": "3e27a3c0-7573-4c1a-abf8-79364d9fd8c9", "metadata": {}, "outputs": [ @@ -3794,7 +4403,7 @@ "Index: []" ] }, - "execution_count": 89, + "execution_count": 94, "metadata": {}, "output_type": "execute_result" } @@ -3807,7 +4416,7 @@ }, { "cell_type": "code", - "execution_count": 90, + "execution_count": 95, "id": "5b0fae1c-828b-47e8-8188-4f58cdc901f9", "metadata": {}, "outputs": [ @@ -3852,7 +4461,7 @@ "Index: []" ] }, - "execution_count": 90, + "execution_count": 95, "metadata": {}, "output_type": "execute_result" } @@ -3873,7 +4482,7 @@ }, { "cell_type": "code", - "execution_count": 91, + "execution_count": 96, "id": "25c9d598-1334-4cbc-a628-48febf86eddf", "metadata": {}, "outputs": [ @@ -3911,10 +4520,10 @@ " \n", " \n", " \n", - " 2390\n", + " 2354\n", " 8a1405af8da1379acc062e346187ac98\n", " Beige-S\n", - " fcfb52a1d6d40797a52539554c71f63e\n", + " 1922398e65e4994e1ba867bda56134ea\n", " 93312729ad2928439c75cbbd97191b66\n", " 3e22f1090d0d12096ee943c621298225\n", " Coliseum to Oakland Airport\n", @@ -3923,10 +4532,10 @@ " 7.90\n", " \n", " \n", - " 2322\n", + " 2280\n", " 8a1405af8da1379acc062e346187ac98\n", " Beige-S\n", - " 2fb4b4d008ce4dff34b4d553119d1847\n", + " 19f402df3a38e24f5b905549890a997e\n", " 93312729ad2928439c75cbbd97191b66\n", " 3e22f1090d0d12096ee943c621298225\n", " Coliseum to Oakland Airport\n", @@ -3940,23 +4549,23 @@ ], "text/plain": [ " schedule_gtfs_dataset_key route_id \\\n", - "2390 8a1405af8da1379acc062e346187ac98 Beige-S \n", - "2322 8a1405af8da1379acc062e346187ac98 Beige-S \n", + "2354 8a1405af8da1379acc062e346187ac98 Beige-S \n", + "2280 8a1405af8da1379acc062e346187ac98 Beige-S \n", "\n", " trip_instance_key shape_array_key \\\n", - "2390 fcfb52a1d6d40797a52539554c71f63e 93312729ad2928439c75cbbd97191b66 \n", - "2322 2fb4b4d008ce4dff34b4d553119d1847 93312729ad2928439c75cbbd97191b66 \n", + "2354 1922398e65e4994e1ba867bda56134ea 93312729ad2928439c75cbbd97191b66 \n", + "2280 19f402df3a38e24f5b905549890a997e 93312729ad2928439c75cbbd97191b66 \n", "\n", " feed_key route_long_name \\\n", - "2390 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", - "2322 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", + "2354 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", + "2280 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", "\n", " direction_id route_primary_direction frequency_in_minutes \n", - "2390 1.00 Southbound 7.90 \n", - "2322 1.00 Southbound 7.90 " + "2354 1.00 Southbound 7.90 \n", + "2280 1.00 Southbound 7.90 " ] }, - "execution_count": 91, + "execution_count": 96, "metadata": {}, "output_type": "execute_result" } @@ -3967,7 +4576,7 @@ }, { "cell_type": "code", - "execution_count": 92, + "execution_count": 97, "id": "a8bbb8d6-f285-4c91-bb73-16dc89071f43", "metadata": {}, "outputs": [ @@ -4019,7 +4628,7 @@ "Index: []" ] }, - "execution_count": 92, + "execution_count": 97, "metadata": {}, "output_type": "execute_result" } @@ -4032,7 +4641,7 @@ }, { "cell_type": "code", - "execution_count": 93, + "execution_count": 98, "id": "b37e2d7a-52ae-41e9-8474-9e193b67b2c8", "metadata": {}, "outputs": [ @@ -4084,7 +4693,7 @@ "Index: []" ] }, - "execution_count": 93, + "execution_count": 98, "metadata": {}, "output_type": "execute_result" } @@ -4105,7 +4714,7 @@ }, { "cell_type": "code", - "execution_count": 94, + "execution_count": 99, "id": "f0cd0242-5605-4fe8-ab72-21bdf8cd432b", "metadata": {}, "outputs": [], @@ -4121,7 +4730,7 @@ }, { "cell_type": "code", - "execution_count": 95, + "execution_count": 100, "id": "899bd6e4-02be-43f4-931b-872072960cc6", "metadata": {}, "outputs": [], @@ -4131,7 +4740,7 @@ }, { "cell_type": "code", - "execution_count": 96, + "execution_count": 101, "id": "480ca3cd-592d-4f2a-9984-015d6b598871", "metadata": {}, "outputs": [], @@ -4141,7 +4750,7 @@ }, { "cell_type": "code", - "execution_count": 97, + "execution_count": 102, "id": "6a05dfcc-f938-44ce-80e3-09c9279a1cb5", "metadata": {}, "outputs": [ @@ -4156,7 +4765,7 @@ "Name: passenger_op_perspective, dtype: int64" ] }, - "execution_count": 97, + "execution_count": 102, "metadata": {}, "output_type": "execute_result" } @@ -4167,7 +4776,7 @@ }, { "cell_type": "code", - "execution_count": 98, + "execution_count": 103, "id": "ce80809f-266d-44d5-9b9c-7dc1ac7459f2", "metadata": { "scrolled": true, @@ -8796,7 +9405,7 @@ "13584 167.06 Most vehicles bunched " ] }, - "execution_count": 98, + "execution_count": 103, "metadata": {}, "output_type": "execute_result" } @@ -8816,7 +9425,7 @@ }, { "cell_type": "code", - "execution_count": 99, + "execution_count": 104, "id": "dc7dfad6-3972-4a84-8524-fec4f7beb9bf", "metadata": {}, "outputs": [ @@ -8826,7 +9435,7 @@ "7.266666666666667" ] }, - "execution_count": 99, + "execution_count": 104, "metadata": {}, "output_type": "execute_result" } @@ -8837,7 +9446,7 @@ }, { "cell_type": "code", - "execution_count": 100, + "execution_count": 105, "id": "6f817056-5594-45d1-9bfa-fdd1343fbea7", "metadata": {}, "outputs": [ @@ -9046,7 +9655,7 @@ "443920 133.62 " ] }, - "execution_count": 100, + "execution_count": 105, "metadata": {}, "output_type": "execute_result" } @@ -9063,7 +9672,7 @@ }, { "cell_type": "code", - "execution_count": 101, + "execution_count": 106, "id": "5139303d-7405-46c8-b789-5a1926a04f00", "metadata": {}, "outputs": [ @@ -9231,7 +9840,7 @@ "689073 Northbound 7.60 " ] }, - "execution_count": 101, + "execution_count": 106, "metadata": {}, "output_type": "execute_result" } @@ -9248,7 +9857,7 @@ }, { "cell_type": "code", - "execution_count": 102, + "execution_count": 107, "id": "439550dd-7c0b-42df-9696-df40111a54c4", "metadata": {}, "outputs": [ @@ -9416,7 +10025,7 @@ "661663 Northbound 7.60 " ] }, - "execution_count": 102, + "execution_count": 107, "metadata": {}, "output_type": "execute_result" } @@ -9433,7 +10042,7 @@ }, { "cell_type": "code", - "execution_count": 103, + "execution_count": 108, "id": "46168b64-d96c-4cfa-854a-54c18d4c9ad9", "metadata": {}, "outputs": [ @@ -9607,7 +10216,7 @@ "462159 Northbound 7.60 -560.00 " ] }, - "execution_count": 103, + "execution_count": 108, "metadata": {}, "output_type": "execute_result" } @@ -9624,7 +10233,7 @@ }, { "cell_type": "code", - "execution_count": 104, + "execution_count": 109, "id": "29965fba-547b-4176-9844-f3bd8f56e612", "metadata": {}, "outputs": [ @@ -9634,7 +10243,7 @@ "11.615277777777777" ] }, - "execution_count": 104, + "execution_count": 109, "metadata": {}, "output_type": "execute_result" } @@ -9645,7 +10254,7 @@ }, { "cell_type": "code", - "execution_count": 105, + "execution_count": 110, "id": "659d98b2-ba85-4633-9f03-267eddc4ab49", "metadata": {}, "outputs": [ @@ -9838,7 +10447,7 @@ "461681 8017.00 " ] }, - "execution_count": 105, + "execution_count": 110, "metadata": {}, "output_type": "execute_result" } @@ -9855,7 +10464,7 @@ }, { "cell_type": "code", - "execution_count": 106, + "execution_count": 111, "id": "3342cb5c-55d0-4f15-bb1e-7e96925d4bbe", "metadata": {}, "outputs": [ @@ -10048,7 +10657,7 @@ "461681 8017.00 " ] }, - "execution_count": 106, + "execution_count": 111, "metadata": {}, "output_type": "execute_result" } @@ -10073,7 +10682,7 @@ }, { "cell_type": "code", - "execution_count": 107, + "execution_count": 112, "id": "50298f10-b5cf-4d6b-acfd-8cc2311e152b", "metadata": {}, "outputs": [ @@ -10350,7 +10959,7 @@ "434674 24.00 " ] }, - "execution_count": 107, + "execution_count": 112, "metadata": {}, "output_type": "execute_result" } @@ -10367,7 +10976,7 @@ }, { "cell_type": "code", - "execution_count": 108, + "execution_count": 113, "id": "29847f65-12ec-4108-887c-71bd3097bffd", "metadata": {}, "outputs": [ @@ -10623,7 +11232,7 @@ "680459 Southbound 7.61 " ] }, - "execution_count": 108, + "execution_count": 113, "metadata": {}, "output_type": "execute_result" } @@ -10640,7 +11249,7 @@ }, { "cell_type": "code", - "execution_count": 109, + "execution_count": 114, "id": "d9a7abbb-6794-4e09-a6a9-9b6ff2428059", "metadata": {}, "outputs": [ @@ -10852,7 +11461,7 @@ "653265 Southbound 7.61 " ] }, - "execution_count": 109, + "execution_count": 114, "metadata": {}, "output_type": "execute_result" } @@ -10869,7 +11478,7 @@ }, { "cell_type": "code", - "execution_count": 110, + "execution_count": 115, "id": "efe65aa9-6a2b-4bea-8de7-485872eed04b", "metadata": {}, "outputs": [ @@ -11089,7 +11698,7 @@ "452730 Southbound 7.61 73.00 " ] }, - "execution_count": 110, + "execution_count": 115, "metadata": {}, "output_type": "execute_result" } @@ -11106,7 +11715,7 @@ }, { "cell_type": "code", - "execution_count": 111, + "execution_count": 116, "id": "39501e48-a1d9-489c-b868-c82584943b85", "metadata": {}, "outputs": [ @@ -11351,7 +11960,7 @@ "452289 1440.00 " ] }, - "execution_count": 111, + "execution_count": 116, "metadata": {}, "output_type": "execute_result" } @@ -11368,7 +11977,7 @@ }, { "cell_type": "code", - "execution_count": 112, + "execution_count": 117, "id": "c8f84fc1-78d7-46c9-9ad6-d28756d91050", "metadata": {}, "outputs": [ @@ -11587,7 +12196,7 @@ "435918 1440.00 " ] }, - "execution_count": 112, + "execution_count": 117, "metadata": {}, "output_type": "execute_result" } @@ -11617,7 +12226,7 @@ }, { "cell_type": "code", - "execution_count": 113, + "execution_count": 118, "id": "eef2b8c9-d1c5-4ce0-9c24-ebcd109ce892", "metadata": {}, "outputs": [], @@ -11627,7 +12236,7 @@ }, { "cell_type": "code", - "execution_count": 114, + "execution_count": 119, "id": "511fd15e-b15e-43ae-9a1a-30f55d01da73", "metadata": {}, "outputs": [ @@ -11637,7 +12246,7 @@ "668646" ] }, - "execution_count": 114, + "execution_count": 119, "metadata": {}, "output_type": "execute_result" } @@ -11648,7 +12257,7 @@ }, { "cell_type": "code", - "execution_count": 115, + "execution_count": 120, "id": "f0f0f4b7-fa64-4b01-a141-5dd78c59693b", "metadata": {}, "outputs": [], @@ -11658,7 +12267,7 @@ }, { "cell_type": "code", - "execution_count": 116, + "execution_count": 121, "id": "7085873b-21c5-4578-ba0a-059a07843dfa", "metadata": {}, "outputs": [ @@ -11773,7 +12382,7 @@ "1 1200.00 " ] }, - "execution_count": 116, + "execution_count": 121, "metadata": {}, "output_type": "execute_result" } @@ -11784,7 +12393,7 @@ }, { "cell_type": "code", - "execution_count": 117, + "execution_count": 122, "id": "7bea63e5-45d0-4d06-8c1c-fd34a69ffde7", "metadata": {}, "outputs": [], @@ -11796,7 +12405,7 @@ }, { "cell_type": "code", - "execution_count": 118, + "execution_count": 123, "id": "c67c6299-68f0-414f-a9c1-e0b27511b9e5", "metadata": {}, "outputs": [], @@ -11810,7 +12419,7 @@ }, { "cell_type": "code", - "execution_count": 119, + "execution_count": 124, "id": "70bc7bfe-2306-498a-b0d7-e012d266d5fc", "metadata": {}, "outputs": [ @@ -11828,7 +12437,7 @@ "Name: pct_actual_schd_headway, dtype: float64" ] }, - "execution_count": 119, + "execution_count": 124, "metadata": {}, "output_type": "execute_result" } @@ -11839,7 +12448,7 @@ }, { "cell_type": "code", - "execution_count": 120, + "execution_count": 125, "id": "c1950683-ae1a-46f3-bb2b-d0569164a1b7", "metadata": {}, "outputs": [ @@ -11851,7 +12460,7 @@ "Name: bunched_y_n, dtype: int64" ] }, - "execution_count": 120, + "execution_count": 125, "metadata": {}, "output_type": "execute_result" } @@ -11862,7 +12471,7 @@ }, { "cell_type": "code", - "execution_count": 121, + "execution_count": 126, "id": "bd07fafd-dbf3-46dd-87bc-e0e78633f59d", "metadata": {}, "outputs": [ @@ -11874,7 +12483,7 @@ "Name: bunched_y_n, dtype: int64" ] }, - "execution_count": 121, + "execution_count": 126, "metadata": {}, "output_type": "execute_result" } @@ -11883,9 +12492,17 @@ "transit_matters_df1.bunched_y_n.value_counts(dropna=True)" ] }, + { + "cell_type": "markdown", + "id": "db10254b-d5d4-4619-9c6e-10fab19ec6b2", + "metadata": {}, + "source": [ + "##### Groupby grain and see how many trips for that grain are considered \"bunched\" or not." + ] + }, { "cell_type": "code", - "execution_count": 122, + "execution_count": 127, "id": "e72f4e50-da82-4a59-8aae-fc6b79f91cc5", "metadata": {}, "outputs": [], @@ -11910,7 +12527,7 @@ }, { "cell_type": "code", - "execution_count": 123, + "execution_count": 128, "id": "2e27f1de-672f-48e0-96c3-0d43450b0739", "metadata": {}, "outputs": [ @@ -11989,7 +12606,7 @@ "1 Eastbound not bunched 84 " ] }, - "execution_count": 123, + "execution_count": 128, "metadata": {}, "output_type": "execute_result" } @@ -12000,17 +12617,19 @@ }, { "cell_type": "code", - "execution_count": 124, + "execution_count": 129, "id": "ebf0e403-89c5-4b2c-b962-44affe3c0b42", "metadata": {}, "outputs": [], "source": [ - "bunched_only = transit_matters_df2.loc[transit_matters_df2.bunched_y_n == \"bunched\"].reset_index(drop = True)" + "bunched_only = transit_matters_df2.loc[\n", + " transit_matters_df2.bunched_y_n == \"bunched\"\n", + "].reset_index(drop=True)" ] }, { "cell_type": "code", - "execution_count": 127, + "execution_count": 130, "id": "6f94980e-b9c4-4c1e-a497-ea4b3f88c55b", "metadata": {}, "outputs": [], @@ -12028,7 +12647,7 @@ }, { "cell_type": "code", - "execution_count": 128, + "execution_count": 131, "id": "dcca9769-aa67-48d5-9b06-acc86cade877", "metadata": {}, "outputs": [], @@ -12043,13 +12662,13 @@ }, { "cell_type": "code", - "execution_count": 129, + "execution_count": 132, "id": "2f57e136-fc83-4eac-bc05-84f530e2f4b0", "metadata": {}, "outputs": [], "source": [ "bunched_only = pd.merge(\n", - " bunched_only,transit_matters_all_trips, on=transit_matters_agg, how = \"left\"\n", + " bunched_only, transit_matters_all_trips, on=transit_matters_agg, how=\"left\"\n", ")" ] }, @@ -12065,6 +12684,16 @@ ")" ] }, + { + "cell_type": "code", + "execution_count": 134, + "id": "3674d237-8b1c-4943-afc8-45b85b4b13d7", + "metadata": {}, + "outputs": [], + "source": [ + "bunched_only = bunched_only.drop(columns = ['all_trips'])" + ] + }, { "cell_type": "code", "execution_count": 135, @@ -12072,8 +12701,12 @@ "metadata": {}, "outputs": [], "source": [ + "# Merge back all trips.\n", "transit_matters_m1 = pd.merge(\n", - " transit_matters_all_trips, bunched_only, on=transit_matters_agg.append('all_trips'), how = \"left\"\n", + " transit_matters_all_trips,\n", + " bunched_only,\n", + " on=transit_matters_agg,\n", + " how=\"left\",\n", ")" ] }, @@ -12179,17 +12812,19 @@ }, { "cell_type": "code", - "execution_count": 138, + "execution_count": 137, "id": "f5253b6a-8cad-469f-a306-6fa712e9799a", "metadata": {}, "outputs": [], "source": [ - "transit_matters_m1 = transit_matters_m1.drop(columns = ['bunched_y_n','trip_instance_key'])" + "transit_matters_m1 = transit_matters_m1.drop(\n", + " columns=[\"bunched_y_n\", \"trip_instance_key\"]\n", + ")" ] }, { "cell_type": "code", - "execution_count": 139, + "execution_count": 138, "id": "4a25225a-7883-457f-a27a-f606164cdd37", "metadata": {}, "outputs": [], @@ -12199,7 +12834,7 @@ }, { "cell_type": "code", - "execution_count": 140, + "execution_count": 139, "id": "81c80de5-6e3f-4781-a71d-cc0ad1472571", "metadata": {}, "outputs": [], @@ -12211,7 +12846,7 @@ }, { "cell_type": "code", - "execution_count": 141, + "execution_count": 140, "id": "cf1a171d-5e06-4df8-b98c-f7a8d69266f9", "metadata": {}, "outputs": [ @@ -12221,7 +12856,7 @@ "(21130, 9)" ] }, - "execution_count": 141, + "execution_count": 140, "metadata": {}, "output_type": "execute_result" } @@ -12232,7 +12867,7 @@ }, { "cell_type": "code", - "execution_count": 151, + "execution_count": 141, "id": "73779d42-9b3d-41f1-ab18-3ba1fa64ca1d", "metadata": {}, "outputs": [ @@ -12356,7 +12991,7 @@ "4 Eastbound 85 2.35 " ] }, - "execution_count": 151, + "execution_count": 141, "metadata": {}, "output_type": "execute_result" } @@ -12367,7 +13002,7 @@ }, { "cell_type": "code", - "execution_count": 152, + "execution_count": 142, "id": "2e2abda3-b3de-4f03-baf4-7f764dd10255", "metadata": {}, "outputs": [ @@ -12385,7 +13020,7 @@ "Name: pct_trips_bunched, dtype: float64" ] }, - "execution_count": 152, + "execution_count": 142, "metadata": {}, "output_type": "execute_result" } @@ -12396,7 +13031,7 @@ }, { "cell_type": "code", - "execution_count": 157, + "execution_count": 143, "id": "6f4c4386-acfb-483a-947d-0279710df61b", "metadata": {}, "outputs": [ @@ -12406,7 +13041,7 @@ "(1673, 9)" ] }, - "execution_count": 157, + "execution_count": 143, "metadata": {}, "output_type": "execute_result" } @@ -12417,7 +13052,7 @@ }, { "cell_type": "code", - "execution_count": 158, + "execution_count": 144, "id": "c26437ce-7a3a-4f5c-8899-c1f7bfb55267", "metadata": {}, "outputs": [ @@ -12455,124 +13090,124 @@ " \n", " \n", " \n", - " 15667\n", + " 15791\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " BAYSHORE\n", - " c47d8fe41d96232a4d3f2b18d9fed8d1\n", - " 8\n", - " 16054\n", - " 0.00\n", - " Southbound\n", - " 90\n", - " 11.11\n", + " CALIFORNIA\n", + " 66f8ff2317567311c0e3717b21166d81\n", + " 1\n", + " 13834\n", + " 1.00\n", + " Eastbound\n", + " 114\n", + " 10.53\n", " \n", " \n", - " 17693\n", + " 17904\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " MISSION RAPID\n", - " 219712f1e41d4fb7c4de5c591d2cea22\n", - " 14R\n", - " 15529\n", + " O'SHAUGHNESSY\n", + " faa966bb5082760f9e81e0d9c50ca7c6\n", + " 44\n", + " 16402\n", " 0.00\n", - " Westbound\n", - " 9\n", - " 11.11\n", + " Eastbound\n", + " 84\n", + " 11.90\n", " \n", " \n", - " 1112\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " Metro Local Line\n", - " 0dcba66281656183f90616c00505ec66\n", - " 251-13172\n", - " 1746\n", - " 0.00\n", - " Northbound\n", - " 27\n", - " 11.11\n", + " 18263\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " QUINTARA-24TH STREET\n", + " 87e6dc9e03a78c8051d679d0afb081ff\n", + " 48\n", + " 16245\n", + " 1.00\n", + " Eastbound\n", + " 72\n", + " 12.50\n", " \n", " \n", - " 20845\n", - " cc53a0dbf5df90e3009b9cb5d89d80ba\n", - " DASH Pico Union/Echo Park\n", - " ace98a4725851e87e92b71b3a393c351\n", - " 4869\n", - " 5802500\n", + " 13498\n", + " 0666caf3ec1ecc96b74f4477ee4bc939\n", + " Metro Local Line\n", + " e467337ead65c2e1cb6561c59c0d31b1\n", + " 60-13172\n", + " 12225\n", " 1.00\n", " Southbound\n", - " 65\n", - " 12.31\n", + " 67\n", + " 10.45\n", " \n", " \n", - " 19408\n", + " 16239\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " VAN NESS-MISSION\n", - " 189a8be8a1d11d5ccac1ac1dc40bbb29\n", - " 49\n", - " 15801\n", + " FILLMORE\n", + " 3c9fd7a0a26e2a9dd9c0a22ffe55dec4\n", + " 22\n", + " 17074\n", " 1.00\n", " Northbound\n", - " 146\n", - " 13.01\n", + " 131\n", + " 18.32\n", " \n", " \n", - " 6421\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " Metro Local Line\n", - " 650398fd4bbe9d528b98587a8a8eade6\n", - " 240-13172\n", - " 7002\n", + " 20823\n", + " cc53a0dbf5df90e3009b9cb5d89d80ba\n", + " DASH Pico Union/Echo Park\n", + " 7fca7ce64e1b773776b91ec1cf82c9ea\n", + " 4869\n", + " 5801545\n", " 0.00\n", - " Eastbound\n", - " 91\n", - " 18.68\n", + " Northbound\n", + " 61\n", + " 13.11\n", + " \n", + " \n", + " 17570\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " MISSION\n", + " 9c51f5391578cf13adc10ed131063ddf\n", + " 14\n", + " 15534\n", + " 0.00\n", + " Southbound\n", + " 98\n", + " 11.22\n", " \n", " \n", - " 16894\n", + " 16506\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " GEARY RAPID\n", - " aece61421bdb79216286993adcedf25a\n", - " 38R\n", - " 14285\n", + " FULTON\n", + " 794a7cdfac5aa35187330b1929f6f4a9\n", + " 5\n", + " 14215\n", " 1.00\n", " Eastbound\n", - " 107\n", - " 12.15\n", + " 9\n", + " 11.11\n", " \n", " \n", - " 16185\n", + " 16170\n", " 7cc0cb1871dfd558f11a2885c145d144\n", " FILLMORE\n", " 2fe09ae2c449928945abe662a855ffb2\n", " 22\n", - " 14618\n", + " 13285\n", " 0.00\n", " Southbound\n", - " 131\n", - " 12.21\n", - " \n", - " \n", - " 6663\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " Metro Local Line\n", - " 68c79aa33ec7ab64426d2d5cd17c9fb1\n", - " 4-13172\n", - " 14422\n", - " 1.00\n", - " Westbound\n", - " 8\n", - " 12.50\n", + " 125\n", + " 13.60\n", " \n", " \n", - " 17398\n", + " 16131\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " MASONIC\n", - " afde3db7e3d6fa6626f3b080fd749995\n", - " 43\n", - " 15257\n", - " 0.00\n", - " Southbound\n", - " 83\n", - " 10.84\n", + " DIVISADERO\n", + " f7ca40d11c2c069487a127cda920b15e\n", + " 24\n", + " 15879\n", + " 1.00\n", + " Northbound\n", + " 69\n", + " 14.49\n", " \n", " \n", "\n", @@ -12580,43 +13215,43 @@ ], "text/plain": [ " schedule_gtfs_dataset_key route_long_name \\\n", - "15667 7cc0cb1871dfd558f11a2885c145d144 BAYSHORE \n", - "17693 7cc0cb1871dfd558f11a2885c145d144 MISSION RAPID \n", - "1112 0666caf3ec1ecc96b74f4477ee4bc939 Metro Local Line \n", - "20845 cc53a0dbf5df90e3009b9cb5d89d80ba DASH Pico Union/Echo Park \n", - "19408 7cc0cb1871dfd558f11a2885c145d144 VAN NESS-MISSION \n", - "6421 0666caf3ec1ecc96b74f4477ee4bc939 Metro Local Line \n", - "16894 7cc0cb1871dfd558f11a2885c145d144 GEARY RAPID \n", - "16185 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "6663 0666caf3ec1ecc96b74f4477ee4bc939 Metro Local Line \n", - "17398 7cc0cb1871dfd558f11a2885c145d144 MASONIC \n", - "\n", - " shape_array_key route_id stop_id direction_id \\\n", - "15667 c47d8fe41d96232a4d3f2b18d9fed8d1 8 16054 0.00 \n", - "17693 219712f1e41d4fb7c4de5c591d2cea22 14R 15529 0.00 \n", - "1112 0dcba66281656183f90616c00505ec66 251-13172 1746 0.00 \n", - "20845 ace98a4725851e87e92b71b3a393c351 4869 5802500 1.00 \n", - "19408 189a8be8a1d11d5ccac1ac1dc40bbb29 49 15801 1.00 \n", - "6421 650398fd4bbe9d528b98587a8a8eade6 240-13172 7002 0.00 \n", - "16894 aece61421bdb79216286993adcedf25a 38R 14285 1.00 \n", - "16185 2fe09ae2c449928945abe662a855ffb2 22 14618 0.00 \n", - "6663 68c79aa33ec7ab64426d2d5cd17c9fb1 4-13172 14422 1.00 \n", - "17398 afde3db7e3d6fa6626f3b080fd749995 43 15257 0.00 \n", + "15791 7cc0cb1871dfd558f11a2885c145d144 CALIFORNIA \n", + "17904 7cc0cb1871dfd558f11a2885c145d144 O'SHAUGHNESSY \n", + "18263 7cc0cb1871dfd558f11a2885c145d144 QUINTARA-24TH STREET \n", + "13498 0666caf3ec1ecc96b74f4477ee4bc939 Metro Local Line \n", + "16239 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "20823 cc53a0dbf5df90e3009b9cb5d89d80ba DASH Pico Union/Echo Park \n", + "17570 7cc0cb1871dfd558f11a2885c145d144 MISSION \n", + "16506 7cc0cb1871dfd558f11a2885c145d144 FULTON \n", + "16170 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "16131 7cc0cb1871dfd558f11a2885c145d144 DIVISADERO \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "15791 66f8ff2317567311c0e3717b21166d81 1 13834 1.00 \n", + "17904 faa966bb5082760f9e81e0d9c50ca7c6 44 16402 0.00 \n", + "18263 87e6dc9e03a78c8051d679d0afb081ff 48 16245 1.00 \n", + "13498 e467337ead65c2e1cb6561c59c0d31b1 60-13172 12225 1.00 \n", + "16239 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17074 1.00 \n", + "20823 7fca7ce64e1b773776b91ec1cf82c9ea 4869 5801545 0.00 \n", + "17570 9c51f5391578cf13adc10ed131063ddf 14 15534 0.00 \n", + "16506 794a7cdfac5aa35187330b1929f6f4a9 5 14215 1.00 \n", + "16170 2fe09ae2c449928945abe662a855ffb2 22 13285 0.00 \n", + "16131 f7ca40d11c2c069487a127cda920b15e 24 15879 1.00 \n", "\n", " route_primary_direction all_trips pct_trips_bunched \n", - "15667 Southbound 90 11.11 \n", - "17693 Westbound 9 11.11 \n", - "1112 Northbound 27 11.11 \n", - "20845 Southbound 65 12.31 \n", - "19408 Northbound 146 13.01 \n", - "6421 Eastbound 91 18.68 \n", - "16894 Eastbound 107 12.15 \n", - "16185 Southbound 131 12.21 \n", - "6663 Westbound 8 12.50 \n", - "17398 Southbound 83 10.84 " + "15791 Eastbound 114 10.53 \n", + "17904 Eastbound 84 11.90 \n", + "18263 Eastbound 72 12.50 \n", + "13498 Southbound 67 10.45 \n", + "16239 Northbound 131 18.32 \n", + "20823 Northbound 61 13.11 \n", + "17570 Southbound 98 11.22 \n", + "16506 Eastbound 9 11.11 \n", + "16170 Southbound 125 13.60 \n", + "16131 Northbound 69 14.49 " ] }, - "execution_count": 158, + "execution_count": 144, "metadata": {}, "output_type": "execute_result" } @@ -12627,7 +13262,7 @@ }, { "cell_type": "code", - "execution_count": 142, + "execution_count": 145, "id": "eeaef4d4-af1e-4a60-9bdf-4ba46679f931", "metadata": {}, "outputs": [ @@ -12637,7 +13272,7 @@ "(21130, 9)" ] }, - "execution_count": 142, + "execution_count": 145, "metadata": {}, "output_type": "execute_result" } @@ -12651,12 +13286,13 @@ "id": "41ff565f-bb49-410c-ac80-b933ccce228e", "metadata": {}, "source": [ - "#### Fillmore Test" + "### Fillmore Test\n", + "* Compare coefficient results w/ this transit matters one for one stop-direction." ] }, { "cell_type": "code", - "execution_count": 144, + "execution_count": 146, "id": "2077b13c-84e8-41d4-a976-2b475cbeb731", "metadata": {}, "outputs": [ @@ -12756,7 +13392,7 @@ "13445 24.09 Frequent bunching " ] }, - "execution_count": 144, + "execution_count": 146, "metadata": {}, "output_type": "execute_result" } @@ -12769,52 +13405,90 @@ "]" ] }, + { + "cell_type": "code", + "execution_count": 147, + "id": "eb207d10-fe7d-4f00-8d15-15436252b7b0", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_fillmore_test = transit_matters_df1.loc[\n", + " (transit_matters_df1.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (transit_matters_df1.stop_id == \"13086\")\n", + " & (transit_matters_df1.direction_id == 0)\n", + "]" + ] + }, { "cell_type": "code", "execution_count": 148, - "id": "e9a76139-a778-4bbc-a3ea-02a563d6a34c", + "id": "fa0d1de2-7142-445f-81c2-750d9b646b12", "metadata": {}, "outputs": [ { - "data": { - "text/plain": [ - "39.5" - ] - }, - "execution_count": 148, - "metadata": {}, - "output_type": "execute_result" + "name": "stderr", + "output_type": "stream", + "text": [ + "/tmp/ipykernel_476/224883205.py:2: SettingWithCopyWarning: \n", + "A value is trying to be set on a copy of a slice from a DataFrame.\n", + "Try using .loc[row_indexer,col_indexer] = value instead\n", + "\n", + "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", + " transit_matters_fillmore_test[\"actual_headway_min\"] = transit_matters_fillmore_test.actual_headway/ 60\n" + ] } ], "source": [ - "2370/60" + "# Manually calculate\n", + "transit_matters_fillmore_test[\"actual_headway_min\"] = transit_matters_fillmore_test.actual_headway/ 60" ] }, { "cell_type": "code", "execution_count": 149, - "id": "17ef649b-ee9c-484f-adf4-7e1e64e9e204", + "id": "57f84892-4fc7-4030-86ab-10e330216da3", "metadata": {}, "outputs": [ { - "data": { - "text/plain": [ - "24.0" - ] - }, - "execution_count": 149, - "metadata": {}, - "output_type": "execute_result" + "name": "stderr", + "output_type": "stream", + "text": [ + "/tmp/ipykernel_476/4094556237.py:1: SettingWithCopyWarning: \n", + "A value is trying to be set on a copy of a slice from a DataFrame.\n", + "Try using .loc[row_indexer,col_indexer] = value instead\n", + "\n", + "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", + " transit_matters_fillmore_test[\"schd_headway_min\"] = transit_matters_fillmore_test.schd_headway/ 60\n" + ] } ], "source": [ - "1440/60" + "transit_matters_fillmore_test[\"schd_headway_min\"] = transit_matters_fillmore_test.schd_headway/ 60" + ] + }, + { + "cell_type": "markdown", + "id": "b0579e78-2a95-4d8b-9761-2824aa39a8eb", + "metadata": {}, + "source": [ + "### Use 2 minute benchmark\n", + "* [Source](https://static1.squarespace.com/static/533b9a24e4b01d79d0ae4376/t/645e82de1f570b31497c44dc/1683915486889/TransitMatters-Headwaymanagement.pdf)" ] }, { "cell_type": "code", - "execution_count": 145, - "id": "eb207d10-fe7d-4f00-8d15-15436252b7b0", + "execution_count": 153, + "id": "e0706e7e-0d56-43b2-bf3c-4205e9277c64", + "metadata": {}, + "outputs": [], + "source": [ + "two_minutess_df = rt_stop_times6.copy()" + ] + }, + { + "cell_type": "code", + "execution_count": 154, + "id": "5629ff17-666b-422a-b833-956666008ed5", "metadata": {}, "outputs": [ { @@ -12855,246 +13529,103 @@ " delay\n", " actual_headway\n", " schd_headway\n", - " pct_actual_schd_headway\n", - " bunched_y_n\n", " \n", " \n", " \n", " \n", - " 452304\n", - " 11489969_M31\n", - " 13086\n", - " 13\n", - " 67199.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " b73ff68241fdcb9ff5a3f3be424b2268\n", - " 67051\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " -148.00\n", - " NaN\n", - " NaN\n", - " NaN\n", - " not bunched\n", - " \n", - " \n", - " 452305\n", - " 11489975_M31\n", - " 13086\n", - " 13\n", - " 69106.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " d30242b374225ed75a4aadd78fa8d7be\n", - " 69048\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " -58.00\n", - " 1997.00\n", - " 1907.00\n", - " 1.05\n", - " not bunched\n", - " \n", - " \n", - " 452306\n", - " 11489815_M31\n", - " 13086\n", - " 13\n", - " 69466.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 186fd89b59a49ddc1e84cb4b89c066d8\n", - " 69723\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 257.00\n", - " 675.00\n", - " 360.00\n", - " 1.88\n", - " not bunched\n", - " \n", - " \n", - " 452307\n", - " 11489816_M31\n", - " 13086\n", - " 13\n", - " 70006.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 5cd2523ccd8c33e277aaae0ac9af35c8\n", - " 70421\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 415.00\n", - " 698.00\n", - " 540.00\n", - " 1.29\n", - " not bunched\n", - " \n", - " \n", - " 452308\n", - " 11489817_M31\n", - " 13086\n", - " 13\n", - " 72992.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 45830206e5f4a07c06e520968f4b789f\n", - " 73064\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 72.00\n", - " 2643.00\n", - " 2986.00\n", - " 0.89\n", - " not bunched\n", - " \n", - " \n", - " 452309\n", - " 11489861_M31\n", - " 13086\n", - " 13\n", - " 74432.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " a28a9fc884812bbb9e404de1dd970ccd\n", - " 75434\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", + " 0\n", + " 10105002681555-DEC23\n", + " 4201\n", + " 2\n", + " 57300.00\n", + " 0666caf3ec1ecc96b74f4477ee4bc939\n", + " 1c45265e242009e9589b98d1ec995907\n", + " 57279\n", + " 105-13172\n", + " 6b06373e4a70b2cb094870285bd92bec\n", + " 608992664173210532aa3e6cc573be2f\n", + " Metro Local Line\n", " 0.00\n", - " Southbound\n", - " 7.61\n", - " 1002.00\n", - " 2370.00\n", - " 1440.00\n", - " 1.65\n", - " not bunched\n", + " Westbound\n", + " 14.59\n", + " -21.00\n", + " 1146.00\n", + " 1200.00\n", " \n", " \n", - " 452310\n", - " 11489818_M31\n", - " 13086\n", - " 13\n", - " 75872.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " c20c26a42e6277dd327fe1280cead6a8\n", - " 75943\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", + " 1\n", + " 10105002681615-DEC23\n", + " 4201\n", + " 2\n", + " 58500.00\n", + " 0666caf3ec1ecc96b74f4477ee4bc939\n", + " 5cac677d47265ba63da650b8878ab403\n", + " 58551\n", + " 105-13172\n", + " 6b06373e4a70b2cb094870285bd92bec\n", + " 608992664173210532aa3e6cc573be2f\n", + " Metro Local Line\n", " 0.00\n", - " Southbound\n", - " 7.61\n", - " 71.00\n", - " 509.00\n", - " 1440.00\n", - " 0.35\n", - " not bunched\n", + " Westbound\n", + " 14.59\n", + " 51.00\n", + " 1272.00\n", + " 1200.00\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "452304 11489969_M31 13086 13 67199.00 \n", - "452305 11489975_M31 13086 13 69106.00 \n", - "452306 11489815_M31 13086 13 69466.00 \n", - "452307 11489816_M31 13086 13 70006.00 \n", - "452308 11489817_M31 13086 13 72992.00 \n", - "452309 11489861_M31 13086 13 74432.00 \n", - "452310 11489818_M31 13086 13 75872.00 \n", + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "0 10105002681555-DEC23 4201 2 57300.00 \n", + "1 10105002681615-DEC23 4201 2 58500.00 \n", "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "452304 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", - "452305 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "452306 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "452307 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", - "452308 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", - "452309 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", - "452310 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "0 0666caf3ec1ecc96b74f4477ee4bc939 1c45265e242009e9589b98d1ec995907 \n", + "1 0666caf3ec1ecc96b74f4477ee4bc939 5cac677d47265ba63da650b8878ab403 \n", "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "452304 67051 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452305 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452306 69723 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452307 70421 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452308 73064 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452309 75434 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452310 75943 22 1b678a66d0009c55bc573cfc37aa1029 \n", + " rt_arrival_sec route_id shape_array_key \\\n", + "0 57279 105-13172 6b06373e4a70b2cb094870285bd92bec \n", + "1 58551 105-13172 6b06373e4a70b2cb094870285bd92bec \n", "\n", - " feed_key route_long_name direction_id \\\n", - "452304 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452305 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452306 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452307 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452308 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452309 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452310 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + " feed_key route_long_name direction_id \\\n", + "0 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", + "1 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "452304 Southbound 7.61 -148.00 NaN \n", - "452305 Southbound 7.61 -58.00 1997.00 \n", - "452306 Southbound 7.61 257.00 675.00 \n", - "452307 Southbound 7.61 415.00 698.00 \n", - "452308 Southbound 7.61 72.00 2643.00 \n", - "452309 Southbound 7.61 1002.00 2370.00 \n", - "452310 Southbound 7.61 71.00 509.00 \n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "0 Westbound 14.59 -21.00 1146.00 \n", + "1 Westbound 14.59 51.00 1272.00 \n", "\n", - " schd_headway pct_actual_schd_headway bunched_y_n \n", - "452304 NaN NaN not bunched \n", - "452305 1907.00 1.05 not bunched \n", - "452306 360.00 1.88 not bunched \n", - "452307 540.00 1.29 not bunched \n", - "452308 2986.00 0.89 not bunched \n", - "452309 1440.00 1.65 not bunched \n", - "452310 1440.00 0.35 not bunched " + " schd_headway \n", + "0 1200.00 \n", + "1 1200.00 " ] }, - "execution_count": 145, + "execution_count": 154, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "transit_matters_df1.loc[\n", - " (transit_matters_df1.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", - " & (transit_matters_df1.stop_id == \"13086\")\n", - " & (transit_matters_df1.direction_id == 0)\n", - "]" + "two_minutess_df.head(2)" ] }, { "cell_type": "code", - "execution_count": 147, - "id": "02cc2378-beb2-4ce0-8889-7266f1060ee8", - "metadata": { - "scrolled": true, - "tags": [] - }, + "execution_count": 155, + "id": "a0c04034-7c1a-49c9-9270-8bf9af8feac1", + "metadata": {}, + "outputs": [], + "source": [ + "two_minutess_df[\"actual_headway_min\"] = two_minutess_df.actual_headway / 60" + ] + }, + { + "cell_type": "code", + "execution_count": 156, + "id": "3add6aac-78c3-4971-bd64-a455631cd9d2", + "metadata": {}, "outputs": [ { "data": { @@ -13117,2361 +13648,1336 @@ " \n", " \n", " \n", + " trip_id\n", + " stop_id\n", + " stop_sequence\n", + " scheduled_arrival_sec\n", " schedule_gtfs_dataset_key\n", - " route_long_name\n", - " shape_array_key\n", + " trip_instance_key\n", + " rt_arrival_sec\n", " route_id\n", - " stop_id\n", + " shape_array_key\n", + " feed_key\n", + " route_long_name\n", " direction_id\n", " route_primary_direction\n", - " all_trips\n", - " pct_trips_bunched\n", + " frequency_in_minutes\n", + " delay\n", + " actual_headway\n", + " schd_headway\n", + " actual_headway_min\n", " \n", " \n", " \n", " \n", - " 16137\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " FILLMORE\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 22\n", - " 13086\n", - " 0.00\n", - " Southbound\n", - " 7\n", - " 0.00\n", - " \n", - " \n", - " 16138\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " FILLMORE\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 22\n", - " 13285\n", - " 0.00\n", - " Southbound\n", - " 5\n", + " 0\n", + " 10105002681555-DEC23\n", + " 4201\n", + " 2\n", + " 57300.00\n", + " 0666caf3ec1ecc96b74f4477ee4bc939\n", + " 1c45265e242009e9589b98d1ec995907\n", + " 57279\n", + " 105-13172\n", + " 6b06373e4a70b2cb094870285bd92bec\n", + " 608992664173210532aa3e6cc573be2f\n", + " Metro Local Line\n", " 0.00\n", + " Westbound\n", + " 14.59\n", + " -21.00\n", + " 1146.00\n", + " 1200.00\n", + " 19.10\n", " \n", " \n", - " 16139\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " FILLMORE\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 22\n", - " 13293\n", - " 0.00\n", - " Southbound\n", - " 4\n", + " 1\n", + " 10105002681615-DEC23\n", + " 4201\n", + " 2\n", + " 58500.00\n", + " 0666caf3ec1ecc96b74f4477ee4bc939\n", + " 5cac677d47265ba63da650b8878ab403\n", + " 58551\n", + " 105-13172\n", + " 6b06373e4a70b2cb094870285bd92bec\n", + " 608992664173210532aa3e6cc573be2f\n", + " Metro Local Line\n", " 0.00\n", + " Westbound\n", + " 14.59\n", + " 51.00\n", + " 1272.00\n", + " 1200.00\n", + " 21.20\n", + " \n", + " \n", + "\n", + "" + ], + "text/plain": [ + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "0 10105002681555-DEC23 4201 2 57300.00 \n", + "1 10105002681615-DEC23 4201 2 58500.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "0 0666caf3ec1ecc96b74f4477ee4bc939 1c45265e242009e9589b98d1ec995907 \n", + "1 0666caf3ec1ecc96b74f4477ee4bc939 5cac677d47265ba63da650b8878ab403 \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "0 57279 105-13172 6b06373e4a70b2cb094870285bd92bec \n", + "1 58551 105-13172 6b06373e4a70b2cb094870285bd92bec \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "0 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", + "1 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "0 Westbound 14.59 -21.00 1146.00 \n", + "1 Westbound 14.59 51.00 1272.00 \n", + "\n", + " schd_headway actual_headway_min \n", + "0 1200.00 19.10 \n", + "1 1200.00 21.20 " + ] + }, + "execution_count": 156, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "two_minutess_df.head(2)" + ] + }, + { + "cell_type": "markdown", + "id": "bbdf1992-8993-4984-9557-31f4a1b0dc0d", + "metadata": {}, + "source": [ + "Justifying the use of\n", + "headway maintenance. For example, in April\n", + "2022 the 66 bus significantly bunched around\n", + "several stops. When bunching is defined as\n", + "buses that run within two minutes or less of\n", + "each other, inbound buses towards Nubian\n", + "Square bunched 10% of the time at Brigham\n", + "Circle, 9% at Brookline Village and Roxbury\n", + "Crossing, and 8% of the time at Coolidge\n", + "Corner. Bunching is even more dramatic\n", + "outbound towards Harvard Square where\n", + "buses bunched over 35% of the time at Winship\n", + "St, 13% at Coolidge Corner and Harvard Ave at\n", + "Commonwealth Ave, and 12% at North Harvard\n", + "St at Western Ave. View more data about bus\n", + "bunching through the TransitMatters Data\n", + "Dashboard here." + ] + }, + { + "cell_type": "code", + "execution_count": 157, + "id": "bd9b8ee4-aab3-42c9-b29a-9679f5494ffa", + "metadata": {}, + "outputs": [], + "source": [ + "two_minutess_df[\"bunched_y_n\"] = np.where(\n", + " two_minutess_df[\"actual_headway_min\"] <= 2, \"bunched\", \"not bunched\"\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 158, + "id": "83382d9f-09c5-4bf2-a55b-41dc541dee51", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "RangeIndex: 647207 entries, 0 to 647206\n", + "Data columns (total 19 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 trip_id 647207 non-null object \n", + " 1 stop_id 647207 non-null object \n", + " 2 stop_sequence 647207 non-null int64 \n", + " 3 scheduled_arrival_sec 647207 non-null float64\n", + " 4 schedule_gtfs_dataset_key 647207 non-null object \n", + " 5 trip_instance_key 647207 non-null object \n", + " 6 rt_arrival_sec 647207 non-null int64 \n", + " 7 route_id 647207 non-null object \n", + " 8 shape_array_key 647207 non-null object \n", + " 9 feed_key 647207 non-null object \n", + " 10 route_long_name 647207 non-null object \n", + " 11 direction_id 647207 non-null float64\n", + " 12 route_primary_direction 647207 non-null object \n", + " 13 frequency_in_minutes 647207 non-null float64\n", + " 14 delay 647207 non-null float64\n", + " 15 actual_headway 647207 non-null float64\n", + " 16 schd_headway 647207 non-null float64\n", + " 17 actual_headway_min 647207 non-null float64\n", + " 18 bunched_y_n 647207 non-null object \n", + "dtypes: float64(7), int64(2), object(10)\n", + "memory usage: 93.8+ MB\n" + ] + } + ], + "source": [ + "two_minutess_df.info()" + ] + }, + { + "cell_type": "code", + "execution_count": 159, + "id": "dcd302cb-5f30-4318-8b28-cb29f6c376cd", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "not bunched 618075\n", + "bunched 29132\n", + "Name: bunched_y_n, dtype: int64" + ] + }, + "execution_count": 159, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "two_minutess_df.bunched_y_n.value_counts()" + ] + }, + { + "cell_type": "markdown", + "id": "626c2f22-4d45-4fe2-814d-773ae9dbd843", + "metadata": {}, + "source": [ + "#### Same code as Transit Matters" + ] + }, + { + "cell_type": "code", + "execution_count": 160, + "id": "f2532ed7-194c-4b2d-841c-a2282379a44a", + "metadata": {}, + "outputs": [], + "source": [ + "two_minutes_agg1 = (\n", + " two_minutess_df.groupby(\n", + " [\n", + " \"schedule_gtfs_dataset_key\",\n", + " \"route_long_name\",\n", + " \"shape_array_key\",\n", + " \"route_id\",\n", + " \"stop_id\",\n", + " \"direction_id\",\n", + " \"route_primary_direction\",\n", + " \"bunched_y_n\",\n", + " ]\n", + " )\n", + " .agg({\"trip_instance_key\": \"nunique\"})\n", + " .reset_index()\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 161, + "id": "666be796-5edd-42aa-bffb-a5105d0753f5", + "metadata": {}, + "outputs": [], + "source": [ + "bunched_only_two_min = (\n", + " two_minutes_agg1.loc[two_minutes_agg1.bunched_y_n == \"bunched\"]\n", + " .reset_index(drop=True)\n", + " .rename(columns={\"trip_instance_key\": \"bunched_trips\"})\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 162, + "id": "2ccc668c-1d06-4359-9b5a-94baf8c98745", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "['schedule_gtfs_dataset_key',\n", + " 'route_long_name',\n", + " 'shape_array_key',\n", + " 'route_id',\n", + " 'stop_id',\n", + " 'direction_id',\n", + " 'route_primary_direction']" + ] + }, + "execution_count": 162, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_agg" + ] + }, + { + "cell_type": "code", + "execution_count": 163, + "id": "37519780-57b0-47c8-a911-aa53ff7eb4d6", + "metadata": {}, + "outputs": [], + "source": [ + "# I want to do a left merge because I'm only interested in trips that bunched.\n", + "bunched_only_two_min = pd.merge(\n", + " bunched_only_two_min,\n", + " transit_matters_all_trips,\n", + " on=[\n", + " \"schedule_gtfs_dataset_key\",\n", + " \"route_long_name\",\n", + " \"shape_array_key\",\n", + " \"route_id\",\n", + " \"stop_id\",\n", + " \"direction_id\",\n", + " \"route_primary_direction\",\n", + " ],\n", + " how=\"left\",\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 164, + "id": "993d3341-bb43-4553-852a-341b8726b710", + "metadata": {}, + "outputs": [], + "source": [ + "bunched_only_two_min[\"pct_trips_bunched\"] = (\n", + " bunched_only_two_min.bunched_trips / bunched_only_two_min.all_trips * 100\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 165, + "id": "0e1da903-1fcf-4025-bf3c-6bd299cb3dcd", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionbunched_y_nbunched_tripsall_tripspct_trips_bunched
161407cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922132990.00Southbound100666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastboundbunched2872.30
161417cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922133010.00Southbound50.00
161427cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922139840.00Southbound50.00
161437cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922140050.00Southbound70.00
161447cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146050.00Southbound70.00
161457cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146060.00Southbound10.00
161467cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146090.00Southbound60.00
161477cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146120.00Southbound70.00
161487cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146150.00Southbound70.00
161497cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146170.00Southbound70.00
161507cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146180.00Southbound70.00
161517cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146220.00Southbound70.00
161527cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146240.00Southbound70.00
161537cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146270.00Southbound616.67
161547cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146290.00Southbound70.00
161557cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146300.00Southbound60.00
161567cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146320.00Southbound70.00
161577cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146340.00Southbound70.00
161587cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146360.00Southbound70.00
161597cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146370.00Southbound70.00
161607cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146410.00Southbound70.00
161617cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922146420.00Southbound70.00
161627cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922150180.00Southbound70.00
161637cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922164880.00Southbound70.00
161647cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922164910.00Southbound70.00
161657cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922164930.00Southbound70.00
161667cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922167540.00Southbound70.00
161677cc0cb1871dfd558f11a2885c145d144FILLMORE1b678a66d0009c55bc573cfc37aa102922180590.00Southbound70.00
161687cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222130860.00Southbound13816.67
161697cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132820.00Southbound1169.48
161707cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132850.00Southbound12513.60
161717cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132930.00Southbound12613.49
161727cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132960.00Southbound9711.34
161737cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132990.00Southbound12014.17
161747cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222133010.00Southbound12815.62
161757cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222139840.00Southbound12616.67
161767cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222140050.00Southbound13416.42
161777cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146050.00Southbound13718.25
161787cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146060.00Southbound130.00
161797cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146070.00Southbound210.00
161807cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146090.00Southbound9612.50
161817cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146100.00Southbound210.00
161827cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146120.00Southbound12813.28
161837cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146150.00Southbound12915.50
161847cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146170.00Southbound13315.04
161857cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146180.00Southbound13112.21
161867cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146220.00Southbound13314.29
161877cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146240.00Southbound13818.12
161887cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146250.00Southbound190.00
161897cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146270.00Southbound12216.39
161907cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146290.00Southbound13214.39
161917cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146300.00Southbound999.09
161927cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146320.00Southbound13011.54
161937cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146340.00Southbound12515.20
161947cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146360.00Southbound13714.60
161957cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146370.00Southbound13815.94
161967cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146410.00Southbound13213.64
161977cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222146420.00Southbound13216.67
161987cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222150180.00Southbound13515.56
161997cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222164880.00Southbound13515.56
162007cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222164910.00Southbound12311.38
162017cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222164930.00Southbound13917.27
162027cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222167540.00Southbound13514.81
162037cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222173210.00Southbound10.00
162047cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222177610.00Southbound8112.35
162057cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222177620.00Southbound7015.71
162067cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222177630.00Southbound5817.24
162077cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222177640.00Southbound20.00
162087cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222178660.00Southbound439.30
162097cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222180590.00Southbound13315.79
162107cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422130851.00Northbound9913.13
162117cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422132811.00Northbound14014.29
162127cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422132831.00Northbound13016.92
162137cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422132841.00Northbound13218.94
162147cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422132911.00Northbound13317.29
162157cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422132951.00Northbound13713.87
162167cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422133001.00Northbound13319.55
162177cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146041.00Northbound11018.18
162187cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146081.00Northbound160.00
162197cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146111.00Northbound12623.02
162207cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146131.00Northbound12520.00
162217cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146141.00Northbound12217.21
162227cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146161.00Northbound12719.69
162237cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146201.00Northbound13321.05
162247cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146211.00Northbound12817.19
162257cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146231.00Northbound11215.18
162267cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146261.00Northbound5712.28
162277cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146281.00Northbound12619.84
162287cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146311.00Northbound13218.18
162297cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146331.00Northbound12422.58
162307cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146351.00Northbound12218.85
162317cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146381.00Northbound11116.22
162327cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146401.00Northbound12518.40
162337cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422146431.00Northbound629.68
162347cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422150171.00Northbound13016.92
162357cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422164871.00Northbound9612.50
162367cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422164901.00Northbound868.14
162377cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422164921.00Northbound10714.02
162387cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422170731.00Northbound12911.63
162397cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422170741.00Northbound13118.32
162407cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422172891.00Northbound13320.30
162417cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422173241.00Northbound12618.25
162427cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422177661.00Northbound13528.15
162437cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422177671.00Northbound12016.67
162447cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422177681.00Northbound13514.81
162457cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422177691.00Northbound14313.99
162467cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422177701.00Northbound14114.89
162477cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422178651.00Northbound13621.32
162487cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22130851.00Northbound80.00
162497cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22132831.00Northbound1010.00
162507cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22132841.00Northbound1010.00
162517cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22132911.00Northbound50.00
162527cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22133001.00Northbound70.00
162537cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146041.00Northbound80.00
162547cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146111.00Northbound90.00
162557cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146131.00Northbound100.00
162567cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146141.00Northbound70.00
162577cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146161.00Northbound100.00
162587cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146201.00Northbound100.00
162597cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146211.00Northbound100.00
162607cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146231.00Northbound810666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154160.00
162617cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146261.00NorthboundEastboundbunched30.00
162627cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146281.00Northbound100.00
162637cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146311.00Northbound100.00
162647cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146331.00Northbound90.00
162657cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146351.00Northbound80.00
162667cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146381.00Northbound80.00
162677cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146401.00Northbound70.00
162687cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22146431.00Northbound40.00
162697cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22150171.00Northbound100.00813.70
162707cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22164871.00Northbound80.00
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_long_name \\\n", + "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", + "1 12530c16e07a519c8a8543d487f26ade 901-13172 15416 0.00 \n", + "\n", + " route_primary_direction bunched_y_n bunched_trips all_trips \\\n", + "0 Eastbound bunched 2 87 \n", + "1 Eastbound bunched 3 81 \n", + "\n", + " pct_trips_bunched \n", + "0 2.30 \n", + "1 3.70 " + ] + }, + "execution_count": 165, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "bunched_only_two_min.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 166, + "id": "c30b2438-6ad9-429d-95ab-2cd57bef2182", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(6538, 11)" + ] + }, + "execution_count": 166, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "bunched_only_two_min.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 167, + "id": "91b29863-5465-48c9-8257-bf8d84457b11", + "metadata": {}, + "outputs": [], + "source": [ + "bunched_only_two_min = bunched_only_two_min.drop(columns = ['all_trips'])" + ] + }, + { + "cell_type": "code", + "execution_count": 168, + "id": "9cb116be-b313-40e3-a0ef-a510b42da6e1", + "metadata": {}, + "outputs": [], + "source": [ + "# Need to do a left merge on all trips for the stops that don't have bunching.\n", + "final_two_minute = pd.merge(\n", + " transit_matters_all_trips,\n", + " bunched_only_two_min,\n", + " on=[\n", + " \"schedule_gtfs_dataset_key\",\n", + " \"route_long_name\",\n", + " \"shape_array_key\",\n", + " \"route_id\",\n", + " \"stop_id\",\n", + " \"direction_id\",\n", + " \"route_primary_direction\",\n", + " ],\n", + " how=\"left\",\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 169, + "id": "961b9cfb-cb94-485c-bcf5-92e9b51024d4", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(21130, 11)" + ] + }, + "execution_count": 169, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "final_two_minute.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 170, + "id": "cfefaf19-4eaa-4d10-a83d-79d2fe5d9c62", + "metadata": {}, + "outputs": [], + "source": [ + "final_two_minute = final_two_minute.drop(columns = ['bunched_y_n','bunched_trips'])" + ] + }, + { + "cell_type": "markdown", + "id": "0245edb1-d604-49ce-895b-5427aa335c19", + "metadata": {}, + "source": [ + "### Checkout all 3 using Fillmore again" + ] + }, + { + "cell_type": "code", + "execution_count": 171, + "id": "ff3e9b4f-7605-48c2-8b0a-20f81256a245", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(21130, 9)" + ] + }, + "execution_count": 171, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m2.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 172, + "id": "50982a5e-db93-4550-917d-774fbf6849ea", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(17781, 21)" + ] + }, + "execution_count": 172, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "bunching_by_stops.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 173, + "id": "1a310699-0a6d-45eb-bb4d-934911b34da9", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripspct_trips_bunched
162717cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22164901.00Northbound700666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastbound873.45
162727cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22164921.00Northbound810666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154160.00Eastbound816.17
162737cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22170731.00Northbound100.00
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_long_name \\\n", + "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", + "1 12530c16e07a519c8a8543d487f26ade 901-13172 15416 0.00 \n", + "\n", + " route_primary_direction all_trips pct_trips_bunched \n", + "0 Eastbound 87 3.45 \n", + "1 Eastbound 81 6.17 " + ] + }, + "execution_count": 173, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m2.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 174, + "id": "2aee462e-b6f7-4e37-aca6-bd884adba4b2", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripspct_trips_bunched
162747cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22170741.00Northbound1000666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastbound872.30
162757cc0cb1871dfd558f11a2885c145d144FILLMORE498b9a001056ce2b83bdc7e8ca01473f22172891.00Northbound1020.00
162767cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c822173210.00Southbound510666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154160.00Eastbound813.70
162777cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c822177610.00Southbound90.00
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_long_name \\\n", + "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", + "1 12530c16e07a519c8a8543d487f26ade 901-13172 15416 0.00 \n", + "\n", + " route_primary_direction all_trips pct_trips_bunched \n", + "0 Eastbound 87 2.30 \n", + "1 Eastbound 81 3.70 " + ] + }, + "execution_count": 174, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "final_two_minute.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 175, + "id": "90f9c952-ecde-46d3-9b3f-93ba0004bb64", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", - " \n", + " \n", " \n", " \n", - " \n", + " \n", " \n", - " \n", + " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripspct_trips_bunched
16278161377cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c81b678a66d0009c55bc573cfc37aa10292217762130860.00Southbound870.00
162797cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c822177630.00Southbound90.00
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_long_name \\\n", + "16137 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "16137 1b678a66d0009c55bc573cfc37aa1029 22 13086 0.00 \n", + "\n", + " route_primary_direction all_trips pct_trips_bunched \n", + "16137 Southbound 7 0.00 " + ] + }, + "execution_count": 175, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m2.loc[\n", + " (transit_matters_m2.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (transit_matters_m2.stop_id == \"13086\")\n", + " & (transit_matters_m2.direction_id == 0)\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 176, + "id": "68c6e64d-362e-4562-bc4d-3b8b03bd256d", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", - " \n", + " \n", " \n", " \n", - " \n", + " \n", " \n", - " \n", + " \n", " \n", " \n", - " \n", - " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripspct_trips_bunched
16280161377cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c81b678a66d0009c55bc573cfc37aa10292217764130860.00Southbound80.007NaN
162817cc0cb1871dfd558f11a2885c145d144FILLMORE62b7db9e9a7562bbfe649736b913f9c822178660.00Southbound80.00
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_long_name \\\n", + "16137 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + "\n", + " shape_array_key route_id stop_id direction_id \\\n", + "16137 1b678a66d0009c55bc573cfc37aa1029 22 13086 0.00 \n", + "\n", + " route_primary_direction all_trips pct_trips_bunched \n", + "16137 Southbound 7 NaN " + ] + }, + "execution_count": 176, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "final_two_minute.loc[\n", + " (final_two_minute.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (final_two_minute.stop_id == \"13086\")\n", + " & (final_two_minute.direction_id == 0)\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 189, + "id": "bb2c1e1a-e243-4786-b9e1-07e64e8a7fbf", + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "/tmp/ipykernel_476/663165469.py:2: SettingWithCopyWarning: \n", + "A value is trying to be set on a copy of a slice from a DataFrame.\n", + "Try using .loc[row_indexer,col_indexer] = value instead\n", + "\n", + "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", + " transit_matters_fillmore_test['rt_arrival_time'] = pd.to_timedelta(transit_matters_fillmore_test['rt_arrival_sec'], unit='s')\n" + ] + } + ], + "source": [ + "# convert seconds to timestamp\n", + "transit_matters_fillmore_test['rt_arrival_time'] = pd.to_timedelta(transit_matters_fillmore_test['rt_arrival_sec'], unit='s')\n" + ] + }, + { + "cell_type": "code", + "execution_count": 190, + "id": "2ac7215b-82e7-4cf7-92b0-220cb46a4416", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", - " \n", - " \n", + " \n", + " \n", " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headwaypct_actual_schd_headwaybunched_y_nactual_headway_minschd_headway_minrt_arrival_time
1628245230411489969_M31130861367199.007cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfbb73ff68241fdcb9ff5a3f3be424b22686705122132951.00Northbound10.00
162837cc0cb1871dfd558f11a2885c145d1441b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb22173241.00Northbound50.00Southbound7.61-148.00NaNNaNNaNnot bunchedNaNNaN0 days 18:37:31
1628445230511489975_M31130861369106.007cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfbd30242b374225ed75a4aadd78fa8d7be6904822177661.00Northbound51b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-58.001997.001907.001.05not bunched33.2831.780 days 19:10:48
1628545230611489815_M31130861369466.007cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb22177671.00Northbound5186fd89b59a49ddc1e84cb4b89c066d869723221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61257.00675.00360.001.88not bunched11.256.000 days 19:22:03
1628645230711489816_M31130861370006.007cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb5cd2523ccd8c33e277aaae0ac9af35c87042122177681.00Northbound51b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61415.00698.00540.001.29not bunched11.639.000 days 19:33:41
1628745230811489817_M31130861372992.007cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfb45830206e5f4a07c06e520968f4b789f7306422177691.00Northbound51b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6172.002643.002986.000.89not bunched44.0549.770 days 20:17:44
1628845230911489861_M31130861374432.007cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfba28a9fc884812bbb9e404de1dd970ccd7543422177701.00Northbound21b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.611002.002370.001440.001.65not bunched39.5024.000 days 20:57:14
1628945231011489818_M31130861375872.007cc0cb1871dfd558f11a2885c145d144FILLMOREfefbc78a6cf676d7fbd1d25b61ef7bfbc20c26a42e6277dd327fe1280cead6a87594322178651.00Northbound51b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6171.00509.001440.000.35not bunched8.4824.000 days 21:05:43
\n", "
" ], "text/plain": [ - " schedule_gtfs_dataset_key route_long_name \\\n", - "16137 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16138 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16139 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16140 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16141 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16142 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16143 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16144 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16145 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16146 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16147 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16148 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16149 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16150 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16151 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16152 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16153 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16154 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16155 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16156 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16157 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16158 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16159 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16160 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16161 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16162 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16163 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16164 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16165 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16166 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16167 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16168 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16169 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16170 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16171 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16172 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16173 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16174 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16175 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16176 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16177 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16178 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16179 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16180 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16181 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16182 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16183 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16184 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16185 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16186 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16187 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16188 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16189 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16190 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16191 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16192 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16193 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16194 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16195 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16196 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16197 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16198 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16199 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16200 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16201 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16202 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16203 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16204 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16205 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16206 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16207 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16208 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16209 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16210 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16211 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16212 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16213 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16214 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16215 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16216 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16217 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16218 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16219 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16220 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16221 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16222 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16223 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16224 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16225 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16226 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16227 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16228 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16229 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16230 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16231 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16232 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16233 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16234 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16235 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16236 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16237 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16238 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16239 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16240 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16241 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16242 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16243 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16244 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16245 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16246 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16247 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16248 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16249 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16250 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16251 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16252 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16253 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16254 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16255 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16256 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16257 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16258 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16259 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16260 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16261 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16262 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16263 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16264 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16265 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16266 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16267 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16268 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16269 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16270 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16271 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16272 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16273 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16274 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16275 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16276 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16277 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16278 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16279 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16280 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16281 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16282 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16283 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16284 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16285 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16286 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16287 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16288 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16289 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "452304 11489969_M31 13086 13 67199.00 \n", + "452305 11489975_M31 13086 13 69106.00 \n", + "452306 11489815_M31 13086 13 69466.00 \n", + "452307 11489816_M31 13086 13 70006.00 \n", + "452308 11489817_M31 13086 13 72992.00 \n", + "452309 11489861_M31 13086 13 74432.00 \n", + "452310 11489818_M31 13086 13 75872.00 \n", "\n", - " shape_array_key route_id stop_id direction_id \\\n", - "16137 1b678a66d0009c55bc573cfc37aa1029 22 13086 0.00 \n", - "16138 1b678a66d0009c55bc573cfc37aa1029 22 13285 0.00 \n", - "16139 1b678a66d0009c55bc573cfc37aa1029 22 13293 0.00 \n", - "16140 1b678a66d0009c55bc573cfc37aa1029 22 13299 0.00 \n", - "16141 1b678a66d0009c55bc573cfc37aa1029 22 13301 0.00 \n", - "16142 1b678a66d0009c55bc573cfc37aa1029 22 13984 0.00 \n", - "16143 1b678a66d0009c55bc573cfc37aa1029 22 14005 0.00 \n", - "16144 1b678a66d0009c55bc573cfc37aa1029 22 14605 0.00 \n", - "16145 1b678a66d0009c55bc573cfc37aa1029 22 14606 0.00 \n", - "16146 1b678a66d0009c55bc573cfc37aa1029 22 14609 0.00 \n", - "16147 1b678a66d0009c55bc573cfc37aa1029 22 14612 0.00 \n", - "16148 1b678a66d0009c55bc573cfc37aa1029 22 14615 0.00 \n", - "16149 1b678a66d0009c55bc573cfc37aa1029 22 14617 0.00 \n", - "16150 1b678a66d0009c55bc573cfc37aa1029 22 14618 0.00 \n", - "16151 1b678a66d0009c55bc573cfc37aa1029 22 14622 0.00 \n", - "16152 1b678a66d0009c55bc573cfc37aa1029 22 14624 0.00 \n", - "16153 1b678a66d0009c55bc573cfc37aa1029 22 14627 0.00 \n", - "16154 1b678a66d0009c55bc573cfc37aa1029 22 14629 0.00 \n", - "16155 1b678a66d0009c55bc573cfc37aa1029 22 14630 0.00 \n", - "16156 1b678a66d0009c55bc573cfc37aa1029 22 14632 0.00 \n", - "16157 1b678a66d0009c55bc573cfc37aa1029 22 14634 0.00 \n", - "16158 1b678a66d0009c55bc573cfc37aa1029 22 14636 0.00 \n", - "16159 1b678a66d0009c55bc573cfc37aa1029 22 14637 0.00 \n", - "16160 1b678a66d0009c55bc573cfc37aa1029 22 14641 0.00 \n", - "16161 1b678a66d0009c55bc573cfc37aa1029 22 14642 0.00 \n", - "16162 1b678a66d0009c55bc573cfc37aa1029 22 15018 0.00 \n", - "16163 1b678a66d0009c55bc573cfc37aa1029 22 16488 0.00 \n", - "16164 1b678a66d0009c55bc573cfc37aa1029 22 16491 0.00 \n", - "16165 1b678a66d0009c55bc573cfc37aa1029 22 16493 0.00 \n", - "16166 1b678a66d0009c55bc573cfc37aa1029 22 16754 0.00 \n", - "16167 1b678a66d0009c55bc573cfc37aa1029 22 18059 0.00 \n", - "16168 2fe09ae2c449928945abe662a855ffb2 22 13086 0.00 \n", - "16169 2fe09ae2c449928945abe662a855ffb2 22 13282 0.00 \n", - "16170 2fe09ae2c449928945abe662a855ffb2 22 13285 0.00 \n", - "16171 2fe09ae2c449928945abe662a855ffb2 22 13293 0.00 \n", - "16172 2fe09ae2c449928945abe662a855ffb2 22 13296 0.00 \n", - "16173 2fe09ae2c449928945abe662a855ffb2 22 13299 0.00 \n", - "16174 2fe09ae2c449928945abe662a855ffb2 22 13301 0.00 \n", - "16175 2fe09ae2c449928945abe662a855ffb2 22 13984 0.00 \n", - "16176 2fe09ae2c449928945abe662a855ffb2 22 14005 0.00 \n", - "16177 2fe09ae2c449928945abe662a855ffb2 22 14605 0.00 \n", - "16178 2fe09ae2c449928945abe662a855ffb2 22 14606 0.00 \n", - "16179 2fe09ae2c449928945abe662a855ffb2 22 14607 0.00 \n", - "16180 2fe09ae2c449928945abe662a855ffb2 22 14609 0.00 \n", - "16181 2fe09ae2c449928945abe662a855ffb2 22 14610 0.00 \n", - "16182 2fe09ae2c449928945abe662a855ffb2 22 14612 0.00 \n", - "16183 2fe09ae2c449928945abe662a855ffb2 22 14615 0.00 \n", - "16184 2fe09ae2c449928945abe662a855ffb2 22 14617 0.00 \n", - "16185 2fe09ae2c449928945abe662a855ffb2 22 14618 0.00 \n", - "16186 2fe09ae2c449928945abe662a855ffb2 22 14622 0.00 \n", - "16187 2fe09ae2c449928945abe662a855ffb2 22 14624 0.00 \n", - "16188 2fe09ae2c449928945abe662a855ffb2 22 14625 0.00 \n", - "16189 2fe09ae2c449928945abe662a855ffb2 22 14627 0.00 \n", - "16190 2fe09ae2c449928945abe662a855ffb2 22 14629 0.00 \n", - "16191 2fe09ae2c449928945abe662a855ffb2 22 14630 0.00 \n", - "16192 2fe09ae2c449928945abe662a855ffb2 22 14632 0.00 \n", - "16193 2fe09ae2c449928945abe662a855ffb2 22 14634 0.00 \n", - "16194 2fe09ae2c449928945abe662a855ffb2 22 14636 0.00 \n", - "16195 2fe09ae2c449928945abe662a855ffb2 22 14637 0.00 \n", - "16196 2fe09ae2c449928945abe662a855ffb2 22 14641 0.00 \n", - "16197 2fe09ae2c449928945abe662a855ffb2 22 14642 0.00 \n", - "16198 2fe09ae2c449928945abe662a855ffb2 22 15018 0.00 \n", - "16199 2fe09ae2c449928945abe662a855ffb2 22 16488 0.00 \n", - "16200 2fe09ae2c449928945abe662a855ffb2 22 16491 0.00 \n", - "16201 2fe09ae2c449928945abe662a855ffb2 22 16493 0.00 \n", - "16202 2fe09ae2c449928945abe662a855ffb2 22 16754 0.00 \n", - "16203 2fe09ae2c449928945abe662a855ffb2 22 17321 0.00 \n", - "16204 2fe09ae2c449928945abe662a855ffb2 22 17761 0.00 \n", - "16205 2fe09ae2c449928945abe662a855ffb2 22 17762 0.00 \n", - "16206 2fe09ae2c449928945abe662a855ffb2 22 17763 0.00 \n", - "16207 2fe09ae2c449928945abe662a855ffb2 22 17764 0.00 \n", - "16208 2fe09ae2c449928945abe662a855ffb2 22 17866 0.00 \n", - "16209 2fe09ae2c449928945abe662a855ffb2 22 18059 0.00 \n", - "16210 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13085 1.00 \n", - "16211 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13281 1.00 \n", - "16212 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13283 1.00 \n", - "16213 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13284 1.00 \n", - "16214 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13291 1.00 \n", - "16215 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13295 1.00 \n", - "16216 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 13300 1.00 \n", - "16217 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14604 1.00 \n", - "16218 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14608 1.00 \n", - "16219 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14611 1.00 \n", - "16220 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14613 1.00 \n", - "16221 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14614 1.00 \n", - "16222 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14616 1.00 \n", - "16223 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14620 1.00 \n", - "16224 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14621 1.00 \n", - "16225 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14623 1.00 \n", - "16226 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14626 1.00 \n", - "16227 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14628 1.00 \n", - "16228 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14631 1.00 \n", - "16229 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14633 1.00 \n", - "16230 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14635 1.00 \n", - "16231 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14638 1.00 \n", - "16232 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14640 1.00 \n", - "16233 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 14643 1.00 \n", - "16234 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 15017 1.00 \n", - "16235 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 16487 1.00 \n", - "16236 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 16490 1.00 \n", - "16237 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 16492 1.00 \n", - "16238 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17073 1.00 \n", - "16239 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17074 1.00 \n", - "16240 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17289 1.00 \n", - "16241 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17324 1.00 \n", - "16242 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17766 1.00 \n", - "16243 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17767 1.00 \n", - "16244 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17768 1.00 \n", - "16245 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17769 1.00 \n", - "16246 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17770 1.00 \n", - "16247 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17865 1.00 \n", - "16248 498b9a001056ce2b83bdc7e8ca01473f 22 13085 1.00 \n", - "16249 498b9a001056ce2b83bdc7e8ca01473f 22 13283 1.00 \n", - "16250 498b9a001056ce2b83bdc7e8ca01473f 22 13284 1.00 \n", - "16251 498b9a001056ce2b83bdc7e8ca01473f 22 13291 1.00 \n", - "16252 498b9a001056ce2b83bdc7e8ca01473f 22 13300 1.00 \n", - "16253 498b9a001056ce2b83bdc7e8ca01473f 22 14604 1.00 \n", - "16254 498b9a001056ce2b83bdc7e8ca01473f 22 14611 1.00 \n", - "16255 498b9a001056ce2b83bdc7e8ca01473f 22 14613 1.00 \n", - "16256 498b9a001056ce2b83bdc7e8ca01473f 22 14614 1.00 \n", - "16257 498b9a001056ce2b83bdc7e8ca01473f 22 14616 1.00 \n", - "16258 498b9a001056ce2b83bdc7e8ca01473f 22 14620 1.00 \n", - "16259 498b9a001056ce2b83bdc7e8ca01473f 22 14621 1.00 \n", - "16260 498b9a001056ce2b83bdc7e8ca01473f 22 14623 1.00 \n", - "16261 498b9a001056ce2b83bdc7e8ca01473f 22 14626 1.00 \n", - "16262 498b9a001056ce2b83bdc7e8ca01473f 22 14628 1.00 \n", - "16263 498b9a001056ce2b83bdc7e8ca01473f 22 14631 1.00 \n", - "16264 498b9a001056ce2b83bdc7e8ca01473f 22 14633 1.00 \n", - "16265 498b9a001056ce2b83bdc7e8ca01473f 22 14635 1.00 \n", - "16266 498b9a001056ce2b83bdc7e8ca01473f 22 14638 1.00 \n", - "16267 498b9a001056ce2b83bdc7e8ca01473f 22 14640 1.00 \n", - "16268 498b9a001056ce2b83bdc7e8ca01473f 22 14643 1.00 \n", - "16269 498b9a001056ce2b83bdc7e8ca01473f 22 15017 1.00 \n", - "16270 498b9a001056ce2b83bdc7e8ca01473f 22 16487 1.00 \n", - "16271 498b9a001056ce2b83bdc7e8ca01473f 22 16490 1.00 \n", - "16272 498b9a001056ce2b83bdc7e8ca01473f 22 16492 1.00 \n", - "16273 498b9a001056ce2b83bdc7e8ca01473f 22 17073 1.00 \n", - "16274 498b9a001056ce2b83bdc7e8ca01473f 22 17074 1.00 \n", - "16275 498b9a001056ce2b83bdc7e8ca01473f 22 17289 1.00 \n", - "16276 62b7db9e9a7562bbfe649736b913f9c8 22 17321 0.00 \n", - "16277 62b7db9e9a7562bbfe649736b913f9c8 22 17761 0.00 \n", - "16278 62b7db9e9a7562bbfe649736b913f9c8 22 17762 0.00 \n", - "16279 62b7db9e9a7562bbfe649736b913f9c8 22 17763 0.00 \n", - "16280 62b7db9e9a7562bbfe649736b913f9c8 22 17764 0.00 \n", - "16281 62b7db9e9a7562bbfe649736b913f9c8 22 17866 0.00 \n", - "16282 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 13295 1.00 \n", - "16283 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17324 1.00 \n", - "16284 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17766 1.00 \n", - "16285 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17767 1.00 \n", - "16286 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17768 1.00 \n", - "16287 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17769 1.00 \n", - "16288 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17770 1.00 \n", - "16289 fefbc78a6cf676d7fbd1d25b61ef7bfb 22 17865 1.00 \n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "452304 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", + "452305 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "452306 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "452307 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", + "452308 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", + "452309 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", + "452310 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", "\n", - " route_primary_direction all_trips pct_trips_bunched \n", - "16137 Southbound 7 0.00 \n", - "16138 Southbound 5 0.00 \n", - "16139 Southbound 4 0.00 \n", - "16140 Southbound 1 0.00 \n", - "16141 Southbound 5 0.00 \n", - "16142 Southbound 5 0.00 \n", - "16143 Southbound 7 0.00 \n", - "16144 Southbound 7 0.00 \n", - "16145 Southbound 1 0.00 \n", - "16146 Southbound 6 0.00 \n", - "16147 Southbound 7 0.00 \n", - "16148 Southbound 7 0.00 \n", - "16149 Southbound 7 0.00 \n", - "16150 Southbound 7 0.00 \n", - "16151 Southbound 7 0.00 \n", - "16152 Southbound 7 0.00 \n", - "16153 Southbound 6 16.67 \n", - "16154 Southbound 7 0.00 \n", - "16155 Southbound 6 0.00 \n", - "16156 Southbound 7 0.00 \n", - "16157 Southbound 7 0.00 \n", - "16158 Southbound 7 0.00 \n", - "16159 Southbound 7 0.00 \n", - "16160 Southbound 7 0.00 \n", - "16161 Southbound 7 0.00 \n", - "16162 Southbound 7 0.00 \n", - "16163 Southbound 7 0.00 \n", - "16164 Southbound 7 0.00 \n", - "16165 Southbound 7 0.00 \n", - "16166 Southbound 7 0.00 \n", - "16167 Southbound 7 0.00 \n", - "16168 Southbound 138 16.67 \n", - "16169 Southbound 116 9.48 \n", - "16170 Southbound 125 13.60 \n", - "16171 Southbound 126 13.49 \n", - "16172 Southbound 97 11.34 \n", - "16173 Southbound 120 14.17 \n", - "16174 Southbound 128 15.62 \n", - "16175 Southbound 126 16.67 \n", - "16176 Southbound 134 16.42 \n", - "16177 Southbound 137 18.25 \n", - "16178 Southbound 13 0.00 \n", - "16179 Southbound 21 0.00 \n", - "16180 Southbound 96 12.50 \n", - "16181 Southbound 21 0.00 \n", - "16182 Southbound 128 13.28 \n", - "16183 Southbound 129 15.50 \n", - "16184 Southbound 133 15.04 \n", - "16185 Southbound 131 12.21 \n", - "16186 Southbound 133 14.29 \n", - "16187 Southbound 138 18.12 \n", - "16188 Southbound 19 0.00 \n", - "16189 Southbound 122 16.39 \n", - "16190 Southbound 132 14.39 \n", - "16191 Southbound 99 9.09 \n", - "16192 Southbound 130 11.54 \n", - "16193 Southbound 125 15.20 \n", - "16194 Southbound 137 14.60 \n", - "16195 Southbound 138 15.94 \n", - "16196 Southbound 132 13.64 \n", - "16197 Southbound 132 16.67 \n", - "16198 Southbound 135 15.56 \n", - "16199 Southbound 135 15.56 \n", - "16200 Southbound 123 11.38 \n", - "16201 Southbound 139 17.27 \n", - "16202 Southbound 135 14.81 \n", - "16203 Southbound 1 0.00 \n", - "16204 Southbound 81 12.35 \n", - "16205 Southbound 70 15.71 \n", - "16206 Southbound 58 17.24 \n", - "16207 Southbound 2 0.00 \n", - "16208 Southbound 43 9.30 \n", - "16209 Southbound 133 15.79 \n", - "16210 Northbound 99 13.13 \n", - "16211 Northbound 140 14.29 \n", - "16212 Northbound 130 16.92 \n", - "16213 Northbound 132 18.94 \n", - "16214 Northbound 133 17.29 \n", - "16215 Northbound 137 13.87 \n", - "16216 Northbound 133 19.55 \n", - "16217 Northbound 110 18.18 \n", - "16218 Northbound 16 0.00 \n", - "16219 Northbound 126 23.02 \n", - "16220 Northbound 125 20.00 \n", - "16221 Northbound 122 17.21 \n", - "16222 Northbound 127 19.69 \n", - "16223 Northbound 133 21.05 \n", - "16224 Northbound 128 17.19 \n", - "16225 Northbound 112 15.18 \n", - "16226 Northbound 57 12.28 \n", - "16227 Northbound 126 19.84 \n", - "16228 Northbound 132 18.18 \n", - "16229 Northbound 124 22.58 \n", - "16230 Northbound 122 18.85 \n", - "16231 Northbound 111 16.22 \n", - "16232 Northbound 125 18.40 \n", - "16233 Northbound 62 9.68 \n", - "16234 Northbound 130 16.92 \n", - "16235 Northbound 96 12.50 \n", - "16236 Northbound 86 8.14 \n", - "16237 Northbound 107 14.02 \n", - "16238 Northbound 129 11.63 \n", - "16239 Northbound 131 18.32 \n", - "16240 Northbound 133 20.30 \n", - "16241 Northbound 126 18.25 \n", - "16242 Northbound 135 28.15 \n", - "16243 Northbound 120 16.67 \n", - "16244 Northbound 135 14.81 \n", - "16245 Northbound 143 13.99 \n", - "16246 Northbound 141 14.89 \n", - "16247 Northbound 136 21.32 \n", - "16248 Northbound 8 0.00 \n", - "16249 Northbound 10 10.00 \n", - "16250 Northbound 10 10.00 \n", - "16251 Northbound 5 0.00 \n", - "16252 Northbound 7 0.00 \n", - "16253 Northbound 8 0.00 \n", - "16254 Northbound 9 0.00 \n", - "16255 Northbound 10 0.00 \n", - "16256 Northbound 7 0.00 \n", - "16257 Northbound 10 0.00 \n", - "16258 Northbound 10 0.00 \n", - "16259 Northbound 10 0.00 \n", - "16260 Northbound 8 0.00 \n", - "16261 Northbound 3 0.00 \n", - "16262 Northbound 10 0.00 \n", - "16263 Northbound 10 0.00 \n", - "16264 Northbound 9 0.00 \n", - "16265 Northbound 8 0.00 \n", - "16266 Northbound 8 0.00 \n", - "16267 Northbound 7 0.00 \n", - "16268 Northbound 4 0.00 \n", - "16269 Northbound 10 0.00 \n", - "16270 Northbound 8 0.00 \n", - "16271 Northbound 7 0.00 \n", - "16272 Northbound 8 0.00 \n", - "16273 Northbound 10 0.00 \n", - "16274 Northbound 10 0.00 \n", - "16275 Northbound 10 20.00 \n", - "16276 Southbound 5 0.00 \n", - "16277 Southbound 9 0.00 \n", - "16278 Southbound 8 0.00 \n", - "16279 Southbound 9 0.00 \n", - "16280 Southbound 8 0.00 \n", - "16281 Southbound 8 0.00 \n", - "16282 Northbound 1 0.00 \n", - "16283 Northbound 5 0.00 \n", - "16284 Northbound 5 0.00 \n", - "16285 Northbound 5 0.00 \n", - "16286 Northbound 5 0.00 \n", - "16287 Northbound 5 0.00 \n", - "16288 Northbound 2 0.00 \n", - "16289 Northbound 5 0.00 " + " rt_arrival_sec route_id shape_array_key \\\n", + "452304 67051 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452305 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452306 69723 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452307 70421 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452308 73064 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452309 75434 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "452310 75943 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "452304 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452305 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452306 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452307 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452308 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452309 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "452310 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "452304 Southbound 7.61 -148.00 NaN \n", + "452305 Southbound 7.61 -58.00 1997.00 \n", + "452306 Southbound 7.61 257.00 675.00 \n", + "452307 Southbound 7.61 415.00 698.00 \n", + "452308 Southbound 7.61 72.00 2643.00 \n", + "452309 Southbound 7.61 1002.00 2370.00 \n", + "452310 Southbound 7.61 71.00 509.00 \n", + "\n", + " schd_headway pct_actual_schd_headway bunched_y_n \\\n", + "452304 NaN NaN not bunched \n", + "452305 1907.00 1.05 not bunched \n", + "452306 360.00 1.88 not bunched \n", + "452307 540.00 1.29 not bunched \n", + "452308 2986.00 0.89 not bunched \n", + "452309 1440.00 1.65 not bunched \n", + "452310 1440.00 0.35 not bunched \n", + "\n", + " actual_headway_min schd_headway_min rt_arrival_time \n", + "452304 NaN NaN 0 days 18:37:31 \n", + "452305 33.28 31.78 0 days 19:10:48 \n", + "452306 11.25 6.00 0 days 19:22:03 \n", + "452307 11.63 9.00 0 days 19:33:41 \n", + "452308 44.05 49.77 0 days 20:17:44 \n", + "452309 39.50 24.00 0 days 20:57:14 \n", + "452310 8.48 24.00 0 days 21:05:43 " ] }, - "execution_count": 147, + "execution_count": 190, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "transit_matters_m2.loc[transit_matters_m2.route_id == \"22\"]" + "transit_matters_fillmore_test " ] }, { "cell_type": "code", - "execution_count": 150, - "id": "16deec31-3b3f-4d59-8784-aad8e51007cf", + "execution_count": 178, + "id": "b1249289-f44d-468d-90f1-c27d78ea8b15", "metadata": {}, "outputs": [ { "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayschd_headwayavg_schd_headway_secstd_dev_headwaybunching_coefficientavg_schd_headway_minpassenger_op_perspective
1344511489975_M31130861369106.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69048221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-58.001907.001445.50960.660.6624.09Frequent bunching
\n", + "
" + ], "text/plain": [ - "count 153.00\n", - "mean 7.89\n", - "std 8.26\n", - "min 0.00\n", - "25% 0.00\n", - "50% 8.14\n", - "75% 15.62\n", - "max 28.15\n", - "Name: pct_trips_bunched, dtype: float64" + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "13445 11489975_M31 13086 13 69106.00 \n", + "\n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "13445 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "13445 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "13445 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay schd_headway \\\n", + "13445 Southbound 7.61 -58.00 1907.00 \n", + "\n", + " avg_schd_headway_sec std_dev_headway bunching_coefficient \\\n", + "13445 1445.50 960.66 0.66 \n", + "\n", + " avg_schd_headway_min passenger_op_perspective \n", + "13445 24.09 Frequent bunching " ] }, - "execution_count": 150, + "execution_count": 178, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "transit_matters_m2.loc[transit_matters_m2.route_id == \"22\"].pct_trips_bunched.describe()" + "fillmore.loc[\n", + " (fillmore.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (fillmore.stop_id == \"13086\")\n", + " & (fillmore.direction_id == 0)\n", + "]" ] } ], From e75cbb57c5063fd98ceb8e6213a763c4cf2277dd Mon Sep 17 00:00:00 2001 From: amandaha8 Date: Thu, 8 Aug 2024 22:44:53 +0000 Subject: [PATCH 6/6] cleaned up nb --- gtfs_digest/27_transit_bunching_seconds.ipynb | 11944 +++------------- 1 file changed, 1878 insertions(+), 10066 deletions(-) diff --git a/gtfs_digest/27_transit_bunching_seconds.ipynb b/gtfs_digest/27_transit_bunching_seconds.ipynb index e24bf452d..c537da027 100644 --- a/gtfs_digest/27_transit_bunching_seconds.ipynb +++ b/gtfs_digest/27_transit_bunching_seconds.ipynb @@ -5,7 +5,8 @@ "id": "733e5c07-e894-48de-b92a-9cba10b7fc9a", "metadata": {}, "source": [ - "## I tried turning `stop_times` to actual dates but it seems like seconds is easier to manipulate.\n", + "## Transit Bunching\n", + "* I tried turning `stop_times` to actual dates but it seems like seconds is easier to manipulate.\n", "* 10_transit_bunching.ipynb contains timestamps attempts\n", "* cd data-analyses/rt_segment_speeds && pip install -r requirements.txt && cd ../_shared_utils && make setup_env && cd ../gtfs_digest\n", "* [Issue](https://github.com/cal-itp/data-analyses/issues/1099)" @@ -92,7 +93,8 @@ "metadata": {}, "source": [ "### Get high frequency routes\n", - "* Group by mean frequency minutes for the operator-route-direction grain." + "* Group by mean frequency minutes for the operator-route-direction grain.\n", + "* Use mean?" ] }, { @@ -146,63 +148,79 @@ { "cell_type": "code", "execution_count": 9, - "id": "980c7eaa-2edb-40e3-9348-d88ccfc59318", + "id": "f20ecdf1-76e0-4f7f-a10d-97860f6911e8", + "metadata": {}, + "outputs": [], + "source": [ + "route_dir[\"frequency_in_minutes\"] = 60 / route_dir.frequency" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "id": "9bdda27a-0bf4-469f-a485-d85006760566", "metadata": {}, "outputs": [ { "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_iddirection_idroute_primary_directionservice_datefrequencyfrequency_in_minutes
0015d67d5b75b5cf2b710bbadadfb75f5170.00Northbound2024-05-220.9265.22
\n", + "
" + ], "text/plain": [ - "\u001b[0;31mSignature:\u001b[0m \u001b[0mmerge_data\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconcatenate_schedule_by_route_direction\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdate_list\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mlist\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m->\u001b[0m \u001b[0mpandas\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcore\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mframe\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mDataFrame\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mSource:\u001b[0m \n", - "\u001b[0;32mdef\u001b[0m \u001b[0mconcatenate_schedule_by_route_direction\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0mdate_list\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mlist\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m->\u001b[0m \u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mDataFrame\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m\"\"\"\u001b[0m\n", - "\u001b[0;34m Concatenate schedule data that's been \u001b[0m\n", - "\u001b[0;34m aggregated to route-direction-time_period.\u001b[0m\n", - "\u001b[0;34m \"\"\"\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0mFILE\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mGTFS_DATA_DICT\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrt_vs_schedule_tables\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msched_route_direction_metrics\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0mdf\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtime_series_utils\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconcatenate_datasets_across_dates\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0mRT_SCHED_GCS\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0mFILE\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0mdate_list\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0mdata_type\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m\"df\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0mcolumns\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mroute_time_with_cardinal_dir_cols\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m\"avg_scheduled_service_minutes\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m\"avg_stop_miles\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m\"n_trips\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"frequency\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m\"is_express\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"is_rapid\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"is_rail\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m\"is_coverage\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"is_downtown_local\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"is_local\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msort_values\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msort_cols_with_cardinal_dir_cols\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrename\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0mcolumns\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m{\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;31m# rename so we understand data source\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m\"n_trips\"\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;34m\"n_scheduled_trips\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m}\u001b[0m\u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreset_index\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdrop\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;34m\u001b[0m\n", - "\u001b[0;34m\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mdf\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mFile:\u001b[0m ~/data-analyses/gtfs_digest/merge_data.py\n", - "\u001b[0;31mType:\u001b[0m function" + " schedule_gtfs_dataset_key route_id direction_id \\\n", + "0 015d67d5b75b5cf2b710bbadadfb75f5 17 0.00 \n", + "\n", + " route_primary_direction service_date frequency frequency_in_minutes \n", + "0 Northbound 2024-05-22 0.92 65.22 " ] }, + "execution_count": 10, "metadata": {}, - "output_type": "display_data" + "output_type": "execute_result" } ], "source": [ - "merge_data.concatenate_schedule_by_route_direction??" - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "id": "f20ecdf1-76e0-4f7f-a10d-97860f6911e8", - "metadata": {}, - "outputs": [], - "source": [ - "route_dir[\"frequency_in_minutes\"] = 60 / route_dir.frequency" + "route_dir.head(1)" ] }, { @@ -398,22 +416,7 @@ { "cell_type": "code", "execution_count": 21, - "id": "04901f96-76d5-4d99-b3d1-f174ef989357", - "metadata": {}, - "outputs": [], - "source": [ - "trips_freq_routes = pd.merge(\n", - " trips,\n", - " high_frequency_routes2,\n", - " on=[\"schedule_gtfs_dataset_key\", \"route_id\", \"direction_id\"],\n", - " how=\"inner\",\n", - ")" - ] - }, - { - "cell_type": "code", - "execution_count": 22, - "id": "1195177f-0215-4b24-9e47-dccfb3ee542e", + "id": "684d15e7-4a6f-4bc1-abad-087a20a2503a", "metadata": {}, "outputs": [ { @@ -444,34 +447,28 @@ " feed_key\n", " route_long_name\n", " direction_id\n", - " route_primary_direction\n", - " frequency_in_minutes\n", " \n", " \n", " \n", " \n", " 0\n", - " cc53a0dbf5df90e3009b9cb5d89d80ba\n", - " 4869\n", - " cd1d4fc457d3a3fff6e77e47336bbc98\n", - " 7fca7ce64e1b773776b91ec1cf82c9ea\n", - " 2cfdf0e33e9229d6b0ad124d956f5856\n", - " DASH Pico Union/Echo Park\n", + " 1770249a5a2e770ca90628434d4934b1\n", + " 3408\n", + " c256553e28c4bba693e3136240b35419\n", + " 8f644f847e987de68e0cb6fcd339cf41\n", + " 926867fdee73d5fbfe4f011871bcd830\n", + " Route 21\n", " 0.00\n", - " Northbound\n", - " 16.67\n", " \n", " \n", " 1\n", - " cc53a0dbf5df90e3009b9cb5d89d80ba\n", - " 4869\n", - " 180a069ab3aefcf8f3317a788b32c288\n", - " 7fca7ce64e1b773776b91ec1cf82c9ea\n", - " 2cfdf0e33e9229d6b0ad124d956f5856\n", - " DASH Pico Union/Echo Park\n", + " 1770249a5a2e770ca90628434d4934b1\n", + " 3408\n", + " 488e9e227288606249d0508961c0fa15\n", + " 8f644f847e987de68e0cb6fcd339cf41\n", + " 926867fdee73d5fbfe4f011871bcd830\n", + " Route 21\n", " 0.00\n", - " Northbound\n", - " 16.67\n", " \n", " \n", "\n", @@ -479,56 +476,31 @@ ], "text/plain": [ " schedule_gtfs_dataset_key route_id \\\n", - "0 cc53a0dbf5df90e3009b9cb5d89d80ba 4869 \n", - "1 cc53a0dbf5df90e3009b9cb5d89d80ba 4869 \n", + "0 1770249a5a2e770ca90628434d4934b1 3408 \n", + "1 1770249a5a2e770ca90628434d4934b1 3408 \n", "\n", " trip_instance_key shape_array_key \\\n", - "0 cd1d4fc457d3a3fff6e77e47336bbc98 7fca7ce64e1b773776b91ec1cf82c9ea \n", - "1 180a069ab3aefcf8f3317a788b32c288 7fca7ce64e1b773776b91ec1cf82c9ea \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "0 2cfdf0e33e9229d6b0ad124d956f5856 DASH Pico Union/Echo Park 0.00 \n", - "1 2cfdf0e33e9229d6b0ad124d956f5856 DASH Pico Union/Echo Park 0.00 \n", + "0 c256553e28c4bba693e3136240b35419 8f644f847e987de68e0cb6fcd339cf41 \n", + "1 488e9e227288606249d0508961c0fa15 8f644f847e987de68e0cb6fcd339cf41 \n", "\n", - " route_primary_direction frequency_in_minutes \n", - "0 Northbound 16.67 \n", - "1 Northbound 16.67 " - ] - }, - "execution_count": 22, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "trips_freq_routes.head(2)" - ] - }, - { - "cell_type": "code", - "execution_count": 23, - "id": "96f76885-c4ad-4637-95d8-482ede0b7783", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "20090" + " feed_key route_long_name direction_id \n", + "0 926867fdee73d5fbfe4f011871bcd830 Route 21 0.00 \n", + "1 926867fdee73d5fbfe4f011871bcd830 Route 21 0.00 " ] }, - "execution_count": 23, + "execution_count": 21, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "trips_freq_routes.trip_instance_key.nunique()" + "trips.head(2)" ] }, { "cell_type": "code", - "execution_count": 24, - "id": "de16d0ca-cf32-4db0-8344-637da4136df2", + "execution_count": 22, + "id": "6ee718ee-2db1-482e-8ead-9f15c3ac57fb", "metadata": {}, "outputs": [ { @@ -554,10 +526,6 @@ " \n", " schedule_gtfs_dataset_key\n", " route_id\n", - " trip_instance_key\n", - " shape_array_key\n", - " feed_key\n", - " route_long_name\n", " direction_id\n", " route_primary_direction\n", " frequency_in_minutes\n", @@ -565,91 +533,90 @@ " \n", " \n", " \n", - " 0\n", - " cc53a0dbf5df90e3009b9cb5d89d80ba\n", - " 4869\n", - " cd1d4fc457d3a3fff6e77e47336bbc98\n", - " 7fca7ce64e1b773776b91ec1cf82c9ea\n", - " 2cfdf0e33e9229d6b0ad124d956f5856\n", - " DASH Pico Union/Echo Park\n", + " 34\n", + " 0666caf3ec1ecc96b74f4477ee4bc939\n", + " 105-13172\n", " 0.00\n", - " Northbound\n", - " 16.67\n", + " Westbound\n", + " 14.59\n", " \n", " \n", - " 1\n", - " cc53a0dbf5df90e3009b9cb5d89d80ba\n", - " 4869\n", - " 180a069ab3aefcf8f3317a788b32c288\n", - " 7fca7ce64e1b773776b91ec1cf82c9ea\n", - " 2cfdf0e33e9229d6b0ad124d956f5856\n", - " DASH Pico Union/Echo Park\n", - " 0.00\n", - " Northbound\n", - " 16.67\n", + " 35\n", + " 0666caf3ec1ecc96b74f4477ee4bc939\n", + " 105-13172\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", " \n", " \n", "\n", "" ], "text/plain": [ - " schedule_gtfs_dataset_key route_id \\\n", - "0 cc53a0dbf5df90e3009b9cb5d89d80ba 4869 \n", - "1 cc53a0dbf5df90e3009b9cb5d89d80ba 4869 \n", - "\n", - " trip_instance_key shape_array_key \\\n", - "0 cd1d4fc457d3a3fff6e77e47336bbc98 7fca7ce64e1b773776b91ec1cf82c9ea \n", - "1 180a069ab3aefcf8f3317a788b32c288 7fca7ce64e1b773776b91ec1cf82c9ea \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "0 2cfdf0e33e9229d6b0ad124d956f5856 DASH Pico Union/Echo Park 0.00 \n", - "1 2cfdf0e33e9229d6b0ad124d956f5856 DASH Pico Union/Echo Park 0.00 \n", + " schedule_gtfs_dataset_key route_id direction_id \\\n", + "34 0666caf3ec1ecc96b74f4477ee4bc939 105-13172 0.00 \n", + "35 0666caf3ec1ecc96b74f4477ee4bc939 105-13172 1.00 \n", "\n", - " route_primary_direction frequency_in_minutes \n", - "0 Northbound 16.67 \n", - "1 Northbound 16.67 " + " route_primary_direction frequency_in_minutes \n", + "34 Westbound 14.59 \n", + "35 Eastbound 14.43 " ] }, - "execution_count": 24, + "execution_count": 22, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "trips_freq_routes.head(2)" + "high_frequency_routes2.head(2)" ] }, { - "cell_type": "markdown", - "id": "e3be8778-84ff-479f-a3b2-178e374da5f2", + "cell_type": "code", + "execution_count": 23, + "id": "04901f96-76d5-4d99-b3d1-f174ef989357", "metadata": {}, + "outputs": [], "source": [ - "### `rt_stop_times2`: Get Stop Times of High Frequency Routes/Trips\n", - "* What's the difference btwn `trip_id` and `trip_instance_key`?" + "trips_freq_routes = pd.merge(\n", + " trips,\n", + " high_frequency_routes2,\n", + " on=[\"schedule_gtfs_dataset_key\", \"route_id\", \"direction_id\"],\n", + " how=\"inner\",\n", + ")" ] }, { "cell_type": "code", "execution_count": 25, - "id": "3f6727c6-205f-4cc8-8a68-42e8dec6e4b3", + "id": "1195177f-0215-4b24-9e47-dccfb3ee542e", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "(20090, 9)" + ] + }, + "execution_count": 25, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ - "rt_stop_times = pd.read_parquet(\n", - " \"gs://calitp-analytics-data/data-analyses/rt_vs_schedule/schedule_rt_stop_times_2024-05-22.parquet\"\n", - ")" + "trips_freq_routes.shape" ] }, { "cell_type": "code", "execution_count": 26, - "id": "b9db22cf-e498-4e99-993c-b373231c8bd6", + "id": "96f76885-c4ad-4637-95d8-482ede0b7783", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "(2601262, 7)" + "20090" ] }, "execution_count": 26, @@ -658,32 +625,55 @@ } ], "source": [ - "rt_stop_times.shape" + "trips_freq_routes.trip_instance_key.nunique()" ] }, { "cell_type": "code", "execution_count": 27, - "id": "049a2833-f132-431a-8f44-92f31cd11d8a", + "id": "de16d0ca-cf32-4db0-8344-637da4136df2", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(96398, 7)" + ] + }, + "execution_count": 27, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "trips.shape" + ] + }, + { + "cell_type": "markdown", + "id": "e3be8778-84ff-479f-a3b2-178e374da5f2", + "metadata": {}, + "source": [ + "### `rt_stop_times2`: Get Stop Times of High Frequency Routes/Trips\n", + "* What's the difference btwn `trip_id` and `trip_instance_key`?" + ] + }, + { + "cell_type": "code", + "execution_count": 28, + "id": "3f6727c6-205f-4cc8-8a68-42e8dec6e4b3", "metadata": {}, "outputs": [], "source": [ - "# Find only stop times of trips that belong to high frequency trips\n", - "rt_stop_times2 = pd.merge(\n", - " rt_stop_times,\n", - " trips_freq_routes,\n", - " on=[\n", - " \"schedule_gtfs_dataset_key\",\n", - " \"trip_instance_key\",\n", - " ],\n", - " how=\"inner\",\n", + "rt_stop_times = pd.read_parquet(\n", + " \"gs://calitp-analytics-data/data-analyses/rt_vs_schedule/schedule_rt_stop_times_2024-05-22.parquet\"\n", ")" ] }, { "cell_type": "code", - "execution_count": 28, - "id": "00efb64d-a3a0-4050-802d-40828779a51d", + "execution_count": 29, + "id": "cabd8f5a-9638-4299-a019-bb21bf56abae", "metadata": {}, "outputs": [ { @@ -714,95 +704,45 @@ " schedule_gtfs_dataset_key\n", " trip_instance_key\n", " rt_arrival_sec\n", - " route_id\n", - " shape_array_key\n", - " feed_key\n", - " route_long_name\n", - " direction_id\n", - " route_primary_direction\n", - " frequency_in_minutes\n", " \n", " \n", " \n", " \n", " 0\n", - " 922552\n", - " 258\n", - " 2\n", - " 61249.00\n", - " efbbd5293be71f7a5de0cf82b59febe1\n", - " 50617e0d3c1bbedd9803836728767a69\n", - " 61995\n", - " 3730\n", - " e10d20177f6b29f7d2de52645301f18f\n", - " 0e75eaae4dc791180f05782fa8825254\n", - " Main St & Santa Monica Blvd/UCLA\n", - " 1.00\n", - " Southbound\n", - " 16.08\n", + " 1d105244-776c-4b3f-af78-9c7ad78c2103\n", + " 0b2443b6-b50f-452b-a749-464588ca93b8\n", + " 8\n", + " 60991.00\n", + " 1fd2f07342d966919b15d5d37fda8cc8\n", + " 45ae17540ca9fb5030c84dbb12e48e9a\n", + " 61434\n", " \n", " \n", " 1\n", - " 922552\n", - " 310\n", + " 1d105244-776c-4b3f-af78-9c7ad78c2103\n", + " cd5650b0-9a18-4e78-aedc-385f3094fa0f\n", " 9\n", - " 62012.00\n", - " efbbd5293be71f7a5de0cf82b59febe1\n", - " 50617e0d3c1bbedd9803836728767a69\n", - " 62826\n", - " 3730\n", - " e10d20177f6b29f7d2de52645301f18f\n", - " 0e75eaae4dc791180f05782fa8825254\n", - " Main St & Santa Monica Blvd/UCLA\n", - " 1.00\n", - " Southbound\n", - " 16.08\n", + " 61179.00\n", + " 1fd2f07342d966919b15d5d37fda8cc8\n", + " 45ae17540ca9fb5030c84dbb12e48e9a\n", + " 61616\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "0 922552 258 2 61249.00 \n", - "1 922552 310 9 62012.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "0 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", - "1 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "0 61995 3730 e10d20177f6b29f7d2de52645301f18f \n", - "1 62826 3730 e10d20177f6b29f7d2de52645301f18f \n", + " trip_id stop_id \\\n", + "0 1d105244-776c-4b3f-af78-9c7ad78c2103 0b2443b6-b50f-452b-a749-464588ca93b8 \n", + "1 1d105244-776c-4b3f-af78-9c7ad78c2103 cd5650b0-9a18-4e78-aedc-385f3094fa0f \n", "\n", - " feed_key route_long_name \\\n", - "0 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", - "1 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", + " stop_sequence scheduled_arrival_sec schedule_gtfs_dataset_key \\\n", + "0 8 60991.00 1fd2f07342d966919b15d5d37fda8cc8 \n", + "1 9 61179.00 1fd2f07342d966919b15d5d37fda8cc8 \n", "\n", - " direction_id route_primary_direction frequency_in_minutes \n", - "0 1.00 Southbound 16.08 \n", - "1 1.00 Southbound 16.08 " - ] - }, - "execution_count": 28, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times2.head(2)" - ] - }, - { - "cell_type": "code", - "execution_count": 29, - "id": "a4ebc7fa-19b9-480b-8b39-d9ef20fd9037", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "1903905" + " trip_instance_key rt_arrival_sec \n", + "0 45ae17540ca9fb5030c84dbb12e48e9a 61434 \n", + "1 45ae17540ca9fb5030c84dbb12e48e9a 61616 " ] }, "execution_count": 29, @@ -811,34 +751,13 @@ } ], "source": [ - "len(rt_stop_times) - len(rt_stop_times2)" + "rt_stop_times.head(2)" ] }, { "cell_type": "code", "execution_count": 30, - "id": "d1abbbd0-0cee-4f03-a4bb-497209a62498", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "(697357, 14)" - ] - }, - "execution_count": 30, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times2.shape" - ] - }, - { - "cell_type": "code", - "execution_count": 31, - "id": "e09d96f4-bb51-4ab8-89cb-eddefff4bd9a", + "id": "4cac9095-c002-4b32-ae0c-bd061ee04453", "metadata": {}, "outputs": [ { @@ -862,14 +781,9 @@ " \n", " \n", " \n", - " trip_id\n", - " stop_id\n", - " stop_sequence\n", - " scheduled_arrival_sec\n", " schedule_gtfs_dataset_key\n", - " trip_instance_key\n", - " rt_arrival_sec\n", " route_id\n", + " trip_instance_key\n", " shape_array_key\n", " feed_key\n", " route_long_name\n", @@ -881,76 +795,123 @@ " \n", " \n", " 0\n", - " 922552\n", - " 258\n", - " 2\n", - " 61249.00\n", - " efbbd5293be71f7a5de0cf82b59febe1\n", - " 50617e0d3c1bbedd9803836728767a69\n", - " 61995\n", - " 3730\n", - " e10d20177f6b29f7d2de52645301f18f\n", - " 0e75eaae4dc791180f05782fa8825254\n", - " Main St & Santa Monica Blvd/UCLA\n", - " 1.00\n", - " Southbound\n", - " 16.08\n", + " cc53a0dbf5df90e3009b9cb5d89d80ba\n", + " 4869\n", + " cd1d4fc457d3a3fff6e77e47336bbc98\n", + " 7fca7ce64e1b773776b91ec1cf82c9ea\n", + " 2cfdf0e33e9229d6b0ad124d956f5856\n", + " DASH Pico Union/Echo Park\n", + " 0.00\n", + " Northbound\n", + " 16.67\n", " \n", " \n", " 1\n", - " 922552\n", - " 310\n", - " 9\n", - " 62012.00\n", - " efbbd5293be71f7a5de0cf82b59febe1\n", - " 50617e0d3c1bbedd9803836728767a69\n", - " 62826\n", - " 3730\n", - " e10d20177f6b29f7d2de52645301f18f\n", - " 0e75eaae4dc791180f05782fa8825254\n", - " Main St & Santa Monica Blvd/UCLA\n", - " 1.00\n", - " Southbound\n", - " 16.08\n", + " cc53a0dbf5df90e3009b9cb5d89d80ba\n", + " 4869\n", + " 180a069ab3aefcf8f3317a788b32c288\n", + " 7fca7ce64e1b773776b91ec1cf82c9ea\n", + " 2cfdf0e33e9229d6b0ad124d956f5856\n", + " DASH Pico Union/Echo Park\n", + " 0.00\n", + " Northbound\n", + " 16.67\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "0 922552 258 2 61249.00 \n", - "1 922552 310 9 62012.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "0 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", - "1 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", + " schedule_gtfs_dataset_key route_id \\\n", + "0 cc53a0dbf5df90e3009b9cb5d89d80ba 4869 \n", + "1 cc53a0dbf5df90e3009b9cb5d89d80ba 4869 \n", "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "0 61995 3730 e10d20177f6b29f7d2de52645301f18f \n", - "1 62826 3730 e10d20177f6b29f7d2de52645301f18f \n", + " trip_instance_key shape_array_key \\\n", + "0 cd1d4fc457d3a3fff6e77e47336bbc98 7fca7ce64e1b773776b91ec1cf82c9ea \n", + "1 180a069ab3aefcf8f3317a788b32c288 7fca7ce64e1b773776b91ec1cf82c9ea \n", "\n", - " feed_key route_long_name \\\n", - "0 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", - "1 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", + " feed_key route_long_name direction_id \\\n", + "0 2cfdf0e33e9229d6b0ad124d956f5856 DASH Pico Union/Echo Park 0.00 \n", + "1 2cfdf0e33e9229d6b0ad124d956f5856 DASH Pico Union/Echo Park 0.00 \n", "\n", - " direction_id route_primary_direction frequency_in_minutes \n", - "0 1.00 Southbound 16.08 \n", - "1 1.00 Southbound 16.08 " + " route_primary_direction frequency_in_minutes \n", + "0 Northbound 16.67 \n", + "1 Northbound 16.67 " ] }, - "execution_count": 31, + "execution_count": 30, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times2.head(2)" + "trips_freq_routes.head(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 31, + "id": "049a2833-f132-431a-8f44-92f31cd11d8a", + "metadata": {}, + "outputs": [], + "source": [ + "# Find only stop times of trips that belong to high frequency trips\n", + "rt_stop_times2 = pd.merge(\n", + " rt_stop_times,\n", + " trips_freq_routes,\n", + " on=[\n", + " \"schedule_gtfs_dataset_key\",\n", + " \"trip_instance_key\",\n", + " ],\n", + " how=\"inner\",\n", + ")" ] }, { "cell_type": "code", "execution_count": 32, + "id": "a4ebc7fa-19b9-480b-8b39-d9ef20fd9037", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "1903905" + ] + }, + "execution_count": 32, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(rt_stop_times) - len(rt_stop_times2)" + ] + }, + { + "cell_type": "code", + "execution_count": 33, + "id": "d1abbbd0-0cee-4f03-a4bb-497209a62498", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(697357, 14)" + ] + }, + "execution_count": 33, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 34, "id": "6464ea15-574a-4976-a41f-26440f7ca1ed", "metadata": {}, "outputs": [ @@ -960,7 +921,7 @@ "(17213, 17213)" ] }, - "execution_count": 32, + "execution_count": 34, "metadata": {}, "output_type": "execute_result" } @@ -980,7 +941,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 35, "id": "269116cd-242f-4834-a2fa-08f4ae94f14d", "metadata": {}, "outputs": [ @@ -998,7 +959,7 @@ "Name: scheduled_arrival_sec, dtype: float64" ] }, - "execution_count": 33, + "execution_count": 35, "metadata": {}, "output_type": "execute_result" } @@ -1009,61 +970,61 @@ }, { "cell_type": "code", - "execution_count": 34, - "id": "0749c6d5-e8e3-49a6-8877-2517a1ebe178", + "execution_count": 37, + "id": "daae9784-aa88-4dd7-b2dd-56a0743aa1b7", + "metadata": {}, + "outputs": [], + "source": [ + "rt_stop_times3 = rt_stop_times2.loc[\n", + " rt_stop_times2.scheduled_arrival_sec < 86400\n", + "].reset_index(drop=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 39, + "id": "ca2165ab-8553-4874-a774-de7f52ac2028", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "27472" + "27611" ] }, - "execution_count": 34, + "execution_count": 39, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "len(rt_stop_times2.loc[rt_stop_times2.scheduled_arrival_sec > 86400])" - ] - }, - { - "cell_type": "code", - "execution_count": 35, - "id": "daae9784-aa88-4dd7-b2dd-56a0743aa1b7", - "metadata": {}, - "outputs": [], - "source": [ - "rt_stop_times3 = rt_stop_times2.loc[\n", - " rt_stop_times2.scheduled_arrival_sec < 86400\n", - "].reset_index(drop=True)" + "len(rt_stop_times2) - len(rt_stop_times3)" ] }, { "cell_type": "code", - "execution_count": 36, - "id": "ca2165ab-8553-4874-a774-de7f52ac2028", + "execution_count": 43, + "id": "9b1cedf5-c7e5-4a17-a0f8-cdd1d121da34", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "669746" + "1931516" ] }, - "execution_count": 36, + "execution_count": 43, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "len(rt_stop_times3)" + "len(rt_stop_times) - len(rt_stop_times3)" ] }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 40, "id": "3fbcd8f2-d394-4d03-b183-edb28f3638b7", "metadata": {}, "outputs": [ @@ -1081,7 +1042,7 @@ "Name: scheduled_arrival_sec, dtype: float64" ] }, - "execution_count": 37, + "execution_count": 40, "metadata": {}, "output_type": "execute_result" } @@ -1092,7 +1053,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 41, "id": "69002d94-5d7c-42b5-a465-c710ec7d678f", "metadata": {}, "outputs": [ @@ -1110,7 +1071,7 @@ "Name: rt_arrival_sec, dtype: float64" ] }, - "execution_count": 38, + "execution_count": 41, "metadata": {}, "output_type": "execute_result" } @@ -1124,93 +1085,14 @@ "id": "b15440a8-298b-4943-bf59-bc79e9977c3a", "metadata": {}, "source": [ - "### `rt_stop_times4`: Sort so stop sequence for the `operator-stop_id-route-id_direction_id` will be in order.\n", - "* Comparing bunching by STOP, so we have to look at the stop sequence-stop_id." + "### `rt_stop_times4`: Sort so `stop sequence` for the `operator-stop_id-route-id_direction_id` will be in order.\n", + "* Comparing bunching by STOP, so we have to look at the `stop sequence-stop_id.`" ] }, { "cell_type": "code", - "execution_count": 39, - "id": "0ef36e93-79ed-4f86-b16a-9d28d90aea1a", - "metadata": {}, - "outputs": [], - "source": [ - "# Rearrange: I want the stop sequence to be 1,2,3,4.\n", - "# stop ids can differ between trips of the same route and the same stop sequence is the same\n", - "rt_stop_times4 = rt_stop_times3.sort_values(\n", - " by=[\n", - " \"schedule_gtfs_dataset_key\",\n", - " \"route_id\",\n", - " \"direction_id\",\n", - " \"shape_array_key\",\n", - " \"stop_sequence\",\n", - " \"scheduled_arrival_sec\",\n", - " ]\n", - ").reset_index(drop=True)" - ] - }, - { - "cell_type": "code", - "execution_count": 180, - "id": "34428686-98f8-40e4-b181-13e255931f3d", - "metadata": {}, - "outputs": [], - "source": [ - "fillmore_stop_seq_13 = rt_stop_times4.loc[\n", - " (rt_stop_times4.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", - " & (rt_stop_times4.stop_id == \"13086\")\n", - " & (rt_stop_times4.direction_id == 0)\n", - "]" - ] - }, - { - "cell_type": "code", - "execution_count": 184, - "id": "ec80b47e-5a9e-4549-af42-fc96257e4868", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/tmp/ipykernel_476/3289452328.py:1: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame.\n", - "Try using .loc[row_indexer,col_indexer] = value instead\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " fillmore_stop_seq_13['rt_arrival_min'] = fillmore_stop_seq_13.rt_arrival_sec/(60*60)\n" - ] - } - ], - "source": [ - "fillmore_stop_seq_13['rt_arrival_min'] = fillmore_stop_seq_13.rt_arrival_sec/(60*60)" - ] - }, - { - "cell_type": "code", - "execution_count": 187, - "id": "7bb4908c-c7e8-40dd-b1dd-60c908913e43", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/tmp/ipykernel_476/715837793.py:2: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame.\n", - "Try using .loc[row_indexer,col_indexer] = value instead\n", - "\n", - "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " fillmore_stop_seq_13['rt_arrival_time'] = pd.to_timedelta(fillmore_stop_seq_13['rt_arrival_sec'], unit='s')\n" - ] - } - ], - "source": [] - }, - { - "cell_type": "code", - "execution_count": 188, - "id": "d00c75b8-717c-4e7b-a3b7-31d308da3748", + "execution_count": 44, + "id": "00c66387-deef-466b-97c6-41851c601f2d", "metadata": {}, "outputs": [ { @@ -1248,248 +1130,118 @@ " direction_id\n", " route_primary_direction\n", " frequency_in_minutes\n", - " delay\n", - " rt_arrival_min\n", - " rt_arrival_time\n", " \n", " \n", " \n", " \n", - " 452745\n", - " 11489969_M31\n", - " 13086\n", - " 13\n", - " 67199.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " b73ff68241fdcb9ff5a3f3be424b2268\n", - " 67051\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " -148.00\n", - " 18.63\n", - " 0 days 18:37:31\n", - " \n", - " \n", - " 452746\n", - " 11489975_M31\n", - " 13086\n", - " 13\n", - " 69106.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " d30242b374225ed75a4aadd78fa8d7be\n", - " 69048\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " -58.00\n", - " 19.18\n", - " 0 days 19:10:48\n", - " \n", - " \n", - " 452747\n", - " 11489815_M31\n", - " 13086\n", - " 13\n", - " 69466.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 186fd89b59a49ddc1e84cb4b89c066d8\n", - " 69723\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 257.00\n", - " 19.37\n", - " 0 days 19:22:03\n", - " \n", - " \n", - " 452748\n", - " 11489816_M31\n", - " 13086\n", - " 13\n", - " 70006.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 5cd2523ccd8c33e277aaae0ac9af35c8\n", - " 70421\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 415.00\n", - " 19.56\n", - " 0 days 19:33:41\n", - " \n", - " \n", - " 452749\n", - " 11489817_M31\n", - " 13086\n", - " 13\n", - " 72992.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 45830206e5f4a07c06e520968f4b789f\n", - " 73064\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 72.00\n", - " 20.30\n", - " 0 days 20:17:44\n", - " \n", - " \n", - " 452750\n", - " 11489861_M31\n", - " 13086\n", - " 13\n", - " 74432.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " a28a9fc884812bbb9e404de1dd970ccd\n", - " 75434\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 1002.00\n", - " 20.95\n", - " 0 days 20:57:14\n", - " \n", - " \n", - " 452751\n", - " 11489818_M31\n", - " 13086\n", - " 13\n", - " 75872.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " c20c26a42e6277dd327fe1280cead6a8\n", - " 75943\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", + " 0\n", + " 922552\n", + " 258\n", + " 2\n", + " 61249.00\n", + " efbbd5293be71f7a5de0cf82b59febe1\n", + " 50617e0d3c1bbedd9803836728767a69\n", + " 61995\n", + " 3730\n", + " e10d20177f6b29f7d2de52645301f18f\n", + " 0e75eaae4dc791180f05782fa8825254\n", + " Main St & Santa Monica Blvd/UCLA\n", + " 1.00\n", " Southbound\n", - " 7.61\n", - " 71.00\n", - " 21.10\n", - " 0 days 21:05:43\n", + " 16.08\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "452745 11489969_M31 13086 13 67199.00 \n", - "452746 11489975_M31 13086 13 69106.00 \n", - "452747 11489815_M31 13086 13 69466.00 \n", - "452748 11489816_M31 13086 13 70006.00 \n", - "452749 11489817_M31 13086 13 72992.00 \n", - "452750 11489861_M31 13086 13 74432.00 \n", - "452751 11489818_M31 13086 13 75872.00 \n", + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "0 922552 258 2 61249.00 \n", "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "452745 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", - "452746 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "452747 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "452748 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", - "452749 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", - "452750 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", - "452751 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "0 efbbd5293be71f7a5de0cf82b59febe1 50617e0d3c1bbedd9803836728767a69 \n", "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "452745 67051 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452746 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452747 69723 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452748 70421 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452749 73064 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452750 75434 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452751 75943 22 1b678a66d0009c55bc573cfc37aa1029 \n", + " rt_arrival_sec route_id shape_array_key \\\n", + "0 61995 3730 e10d20177f6b29f7d2de52645301f18f \n", "\n", - " feed_key route_long_name direction_id \\\n", - "452745 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452746 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452747 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452748 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452749 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452750 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452751 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay rt_arrival_min \\\n", - "452745 Southbound 7.61 -148.00 18.63 \n", - "452746 Southbound 7.61 -58.00 19.18 \n", - "452747 Southbound 7.61 257.00 19.37 \n", - "452748 Southbound 7.61 415.00 19.56 \n", - "452749 Southbound 7.61 72.00 20.30 \n", - "452750 Southbound 7.61 1002.00 20.95 \n", - "452751 Southbound 7.61 71.00 21.10 \n", - "\n", - " rt_arrival_time \n", - "452745 0 days 18:37:31 \n", - "452746 0 days 19:10:48 \n", - "452747 0 days 19:22:03 \n", - "452748 0 days 19:33:41 \n", - "452749 0 days 20:17:44 \n", - "452750 0 days 20:57:14 \n", - "452751 0 days 21:05:43 " + " feed_key route_long_name \\\n", + "0 0e75eaae4dc791180f05782fa8825254 Main St & Santa Monica Blvd/UCLA \n", + "\n", + " direction_id route_primary_direction frequency_in_minutes \n", + "0 1.00 Southbound 16.08 " ] }, - "execution_count": 188, + "execution_count": 44, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "fillmore_stop_seq_13" + "rt_stop_times3.head(1)" ] }, { - "cell_type": "markdown", - "id": "8a83b6e8-fbab-4ce2-b91e-bf32890bda18", + "cell_type": "code", + "execution_count": 45, + "id": "0ef36e93-79ed-4f86-b16a-9d28d90aea1a", "metadata": {}, + "outputs": [], "source": [ - "### Calculate the difference btwn actual vs scheduled arrival." + "# Rearrange: I want the stop sequence to be 1,2,3,4.\n", + "# stop ids can differ between trips of the same route and the same stop sequence is the same\n", + "rt_stop_times4 = rt_stop_times3.sort_values(\n", + " by=[\n", + " \"schedule_gtfs_dataset_key\",\n", + " \"route_id\",\n", + " \"shape_array_key\",\n", + " \"direction_id\",\n", + " \"stop_sequence\",\n", + " \"scheduled_arrival_sec\",\n", + " ]\n", + ").reset_index(drop=True)" ] }, { "cell_type": "code", - "execution_count": 40, - "id": "dcb53dcc-95e1-41fc-961b-da222c6e4580", + "execution_count": 46, + "id": "34428686-98f8-40e4-b181-13e255931f3d", "metadata": {}, "outputs": [], "source": [ - "def check_delay(df):\n", - " df = df.assign(delay=df.rt_arrival_sec - df.scheduled_arrival_sec)\n", - "\n", - " print(df.delay.describe(percentiles=[0.05, 0.1, 0.9, 0.95]))\n", - "\n", - " max_delay_min = df.delay.max() / 60\n", - " p95_delay_min = df.delay.quantile(q=0.95) / 60\n", - "\n", - " min_delay_min = df.delay.min() / 60\n", - " p5_delay_min = df.delay.quantile(q=0.05) / 60\n", - "\n", - " print(f\"min / max delay (minutes): {min_delay_min}, {max_delay_min}\")\n", + "fillmore_stop_seq_13 = rt_stop_times4.loc[\n", + " (rt_stop_times4.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (rt_stop_times4.stop_id == \"13086\")\n", + " & (rt_stop_times4.direction_id == 0)\n", + "]" + ] + }, + { + "cell_type": "markdown", + "id": "8a83b6e8-fbab-4ce2-b91e-bf32890bda18", + "metadata": {}, + "source": [ + "### Calculate the difference btwn actual vs scheduled arrival." + ] + }, + { + "cell_type": "code", + "execution_count": 49, + "id": "dcb53dcc-95e1-41fc-961b-da222c6e4580", + "metadata": {}, + "outputs": [], + "source": [ + "def check_delay(df):\n", + " df = df.assign(delay=df.rt_arrival_sec - df.scheduled_arrival_sec)\n", + "\n", + " print(df.delay.describe(percentiles=[0.05, 0.1, 0.9, 0.95]))\n", + "\n", + " max_delay_min = df.delay.max() / 60\n", + " p95_delay_min = df.delay.quantile(q=0.95) / 60\n", + "\n", + " min_delay_min = df.delay.min() / 60\n", + " p5_delay_min = df.delay.quantile(q=0.05) / 60\n", + "\n", + " print(f\"min / max delay (minutes): {min_delay_min}, {max_delay_min}\")\n", " print(f\"5th / 95th delay (minutes): {p5_delay_min}, {p95_delay_min}\")\n", "\n", " return df" @@ -1497,7 +1249,7 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": 50, "id": "e6c251c4-a7e9-475e-8f58-9ce98f2016b8", "metadata": {}, "outputs": [ @@ -1525,38 +1277,18 @@ "rt_stop_times4 = check_delay(rt_stop_times4)" ] }, - { - "cell_type": "code", - "execution_count": 42, - "id": "67998e54-6716-4333-b6f0-822f4d714b79", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "23.983333333333334" - ] - }, - "execution_count": 42, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "1439 / 60" - ] - }, { "cell_type": "markdown", "id": "bc8f529b-afee-4d3c-993f-b8ff5dcdb8de", "metadata": {}, "source": [ - "#### `rt_stop_times5`: Filter out values in `delay` that are in the +/- hour zone" + "#### `rt_stop_times5`: Filter out values in `delay` that are in the 1 hour zone\n", + "* Actual times should not exceed more than an hour or less than hour." ] }, { "cell_type": "code", - "execution_count": 43, + "execution_count": 51, "id": "bbd1cbc3-9762-44b8-a564-c33e57879d10", "metadata": {}, "outputs": [], @@ -1569,7 +1301,7 @@ }, { "cell_type": "code", - "execution_count": 44, + "execution_count": 52, "id": "9c19be36-0e5b-428d-bc4f-da52821208f4", "metadata": {}, "outputs": [], @@ -1580,7 +1312,7 @@ }, { "cell_type": "code", - "execution_count": 45, + "execution_count": 53, "id": "813c65e5-8ee6-4896-82d7-c3e6dec8a92f", "metadata": {}, "outputs": [ @@ -1590,7 +1322,7 @@ "1100" ] }, - "execution_count": 45, + "execution_count": 53, "metadata": {}, "output_type": "execute_result" } @@ -1601,7 +1333,7 @@ }, { "cell_type": "code", - "execution_count": 46, + "execution_count": 54, "id": "5d44f2e7-c2ea-472b-9c9b-e53bb69e446c", "metadata": {}, "outputs": [ @@ -1611,7 +1343,7 @@ "1932616" ] }, - "execution_count": 46, + "execution_count": 54, "metadata": {}, "output_type": "execute_result" } @@ -1620,56 +1352,6 @@ "len(rt_stop_times) - len(rt_stop_times5)" ] }, - { - "cell_type": "code", - "execution_count": 47, - "id": "4adcf7da-3155-4891-82cb-693e2dbad07d", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "28711" - ] - }, - "execution_count": 47, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "len(rt_stop_times2) - len(rt_stop_times5)" - ] - }, - { - "cell_type": "code", - "execution_count": 48, - "id": "43c7f278-063c-4c94-b184-eabbc143df3b", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "count 668646.00\n", - "mean 158.11\n", - "std 306.54\n", - "min -3559.00\n", - "25% -24.00\n", - "50% 89.00\n", - "75% 269.00\n", - "max 3592.00\n", - "Name: delay, dtype: float64" - ] - }, - "execution_count": 48, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times5.delay.describe()" - ] - }, { "cell_type": "markdown", "id": "81bd753a-08ee-4d09-ac79-213e1e605405", @@ -1681,15 +1363,16 @@ }, { "cell_type": "code", - "execution_count": 49, + "execution_count": 60, "id": "b9171520-7358-4f22-9d9c-c5156e710f1b", "metadata": {}, "outputs": [], "source": [ "groupby_cols = [\n", " \"schedule_gtfs_dataset_key\",\n", - " \"shape_array_key\",\n", + " \n", " \"route_id\",\n", + " \"shape_array_key\",\n", " \"direction_id\",\n", " \"route_primary_direction\",\n", " \"stop_sequence\",\n", @@ -1699,11 +1382,13 @@ }, { "cell_type": "code", - "execution_count": 50, + "execution_count": 57, "id": "f5b62023-ab77-4634-a526-3d822bb7a63f", "metadata": {}, "outputs": [], "source": [ + "# Subtract rt_arrival_sec from the previous row to the target row\n", + "# using groupby columns\n", "rt_stop_times5[\"actual_headway\"] = rt_stop_times5.groupby(groupby_cols)[\n", " \"rt_arrival_sec\"\n", "].diff()" @@ -1714,12 +1399,13 @@ "id": "0c9377cb-cb25-43da-9f3b-752a8107b6b7", "metadata": {}, "source": [ - "### Calculate scheduled headway" + "### Calculate scheduled headway\n", + "* Using the same grain." ] }, { "cell_type": "code", - "execution_count": 51, + "execution_count": 58, "id": "6328c5fb-205e-4a78-a3d3-62fafa88a4cd", "metadata": {}, "outputs": [], @@ -1731,7 +1417,7 @@ }, { "cell_type": "code", - "execution_count": 52, + "execution_count": 61, "id": "b7da74af-42e0-463f-852b-e22877574a7b", "metadata": {}, "outputs": [ @@ -1773,151 +1459,151 @@ " \n", " \n", " 0\n", - " 4201\n", + " 14261\n", " 2\n", - " 56100.00\n", - " 56133\n", + " 14400.00\n", + " 14421\n", " 105-13172\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 33.00\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", + " 21.00\n", " NaN\n", " NaN\n", " \n", " \n", - " 9\n", - " 4198\n", + " 10\n", + " 14289\n", " 3\n", - " 56160.00\n", - " 56211\n", + " 14460.00\n", + " 14455\n", " 105-13172\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 51.00\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", + " -5.00\n", " NaN\n", " NaN\n", " \n", " \n", - " 19\n", - " 10256\n", + " 20\n", + " 10997\n", " 4\n", - " 56280.00\n", - " 56262\n", + " 14520.00\n", + " 14492\n", " 105-13172\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " -18.00\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", + " -28.00\n", " NaN\n", " NaN\n", " \n", " \n", - " 29\n", - " 10249\n", + " 30\n", + " 10998\n", " 5\n", - " 56340.00\n", - " 56337\n", + " 14580.00\n", + " 14531\n", " 105-13172\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " -3.00\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", + " -49.00\n", " NaN\n", " NaN\n", " \n", " \n", - " 39\n", - " 36572\n", + " 40\n", + " 12150\n", " 6\n", - " 56460.00\n", - " 56478\n", + " 14640.00\n", + " 14581\n", " 105-13172\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 18.00\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", + " -59.00\n", " NaN\n", " NaN\n", " \n", " \n", - " 49\n", - " 10243\n", + " 50\n", + " 12151\n", " 7\n", - " 56580.00\n", - " 56589\n", + " 14700.00\n", + " 14606\n", " 105-13172\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " 9.00\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", + " -94.00\n", " NaN\n", " NaN\n", " \n", " \n", - " 59\n", - " 10244\n", + " 60\n", + " 12148\n", " 8\n", - " 56700.00\n", - " 56695\n", + " 14760.00\n", + " 14650\n", " 105-13172\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " -5.00\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", + " -110.00\n", " NaN\n", " NaN\n", " \n", " \n", - " 69\n", - " 10251\n", + " 70\n", + " 12149\n", " 9\n", - " 56820.00\n", - " 56743\n", + " 14760.00\n", + " 14666\n", " 105-13172\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " -77.00\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", + " -94.00\n", " NaN\n", " NaN\n", " \n", " \n", - " 79\n", - " 10247\n", + " 80\n", + " 12146\n", " 10\n", - " 56940.00\n", - " 56832\n", + " 14820.00\n", + " 14699\n", " 105-13172\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " -108.00\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", + " -121.00\n", " NaN\n", " NaN\n", " \n", " \n", - " 89\n", - " 10250\n", + " 90\n", + " 70500002\n", " 11\n", - " 57060.00\n", - " 56955\n", + " 14880.00\n", + " 14742\n", " 105-13172\n", " Metro Local Line\n", - " 0.00\n", - " Westbound\n", - " 14.59\n", - " -105.00\n", + " 1.00\n", + " Eastbound\n", + " 14.43\n", + " -138.00\n", " NaN\n", " NaN\n", " \n", @@ -1926,44 +1612,44 @@ "" ], "text/plain": [ - " stop_id stop_sequence scheduled_arrival_sec rt_arrival_sec route_id \\\n", - "0 4201 2 56100.00 56133 105-13172 \n", - "9 4198 3 56160.00 56211 105-13172 \n", - "19 10256 4 56280.00 56262 105-13172 \n", - "29 10249 5 56340.00 56337 105-13172 \n", - "39 36572 6 56460.00 56478 105-13172 \n", - "49 10243 7 56580.00 56589 105-13172 \n", - "59 10244 8 56700.00 56695 105-13172 \n", - "69 10251 9 56820.00 56743 105-13172 \n", - "79 10247 10 56940.00 56832 105-13172 \n", - "89 10250 11 57060.00 56955 105-13172 \n", + " stop_id stop_sequence scheduled_arrival_sec rt_arrival_sec route_id \\\n", + "0 14261 2 14400.00 14421 105-13172 \n", + "10 14289 3 14460.00 14455 105-13172 \n", + "20 10997 4 14520.00 14492 105-13172 \n", + "30 10998 5 14580.00 14531 105-13172 \n", + "40 12150 6 14640.00 14581 105-13172 \n", + "50 12151 7 14700.00 14606 105-13172 \n", + "60 12148 8 14760.00 14650 105-13172 \n", + "70 12149 9 14760.00 14666 105-13172 \n", + "80 12146 10 14820.00 14699 105-13172 \n", + "90 70500002 11 14880.00 14742 105-13172 \n", "\n", " route_long_name direction_id route_primary_direction \\\n", - "0 Metro Local Line 0.00 Westbound \n", - "9 Metro Local Line 0.00 Westbound \n", - "19 Metro Local Line 0.00 Westbound \n", - "29 Metro Local Line 0.00 Westbound \n", - "39 Metro Local Line 0.00 Westbound \n", - "49 Metro Local Line 0.00 Westbound \n", - "59 Metro Local Line 0.00 Westbound \n", - "69 Metro Local Line 0.00 Westbound \n", - "79 Metro Local Line 0.00 Westbound \n", - "89 Metro Local Line 0.00 Westbound \n", + "0 Metro Local Line 1.00 Eastbound \n", + "10 Metro Local Line 1.00 Eastbound \n", + "20 Metro Local Line 1.00 Eastbound \n", + "30 Metro Local Line 1.00 Eastbound \n", + "40 Metro Local Line 1.00 Eastbound \n", + "50 Metro Local Line 1.00 Eastbound \n", + "60 Metro Local Line 1.00 Eastbound \n", + "70 Metro Local Line 1.00 Eastbound \n", + "80 Metro Local Line 1.00 Eastbound \n", + "90 Metro Local Line 1.00 Eastbound \n", "\n", " frequency_in_minutes delay actual_headway schd_headway \n", - "0 14.59 33.00 NaN NaN \n", - "9 14.59 51.00 NaN NaN \n", - "19 14.59 -18.00 NaN NaN \n", - "29 14.59 -3.00 NaN NaN \n", - "39 14.59 18.00 NaN NaN \n", - "49 14.59 9.00 NaN NaN \n", - "59 14.59 -5.00 NaN NaN \n", - "69 14.59 -77.00 NaN NaN \n", - "79 14.59 -108.00 NaN NaN \n", - "89 14.59 -105.00 NaN NaN " + "0 14.43 21.00 NaN NaN \n", + "10 14.43 -5.00 NaN NaN \n", + "20 14.43 -28.00 NaN NaN \n", + "30 14.43 -49.00 NaN NaN \n", + "40 14.43 -59.00 NaN NaN \n", + "50 14.43 -94.00 NaN NaN \n", + "60 14.43 -110.00 NaN NaN \n", + "70 14.43 -94.00 NaN NaN \n", + "80 14.43 -121.00 NaN NaN \n", + "90 14.43 -138.00 NaN NaN " ] }, - "execution_count": 52, + "execution_count": 61, "metadata": {}, "output_type": "execute_result" } @@ -1986,7 +1672,7 @@ }, { "cell_type": "code", - "execution_count": 53, + "execution_count": 64, "id": "cd2ec7a7-f0be-4575-9b55-d9f229a26ca1", "metadata": {}, "outputs": [ @@ -2035,7 +1721,7 @@ }, { "cell_type": "code", - "execution_count": 54, + "execution_count": 65, "id": "2c3a4e87-e6f5-46d3-bce8-ad998c9343d7", "metadata": {}, "outputs": [], @@ -2045,7 +1731,7 @@ }, { "cell_type": "code", - "execution_count": 55, + "execution_count": 66, "id": "588f17d2-5ffb-4bac-b2a1-d96ce2f6d9d9", "metadata": {}, "outputs": [], @@ -2057,7 +1743,7 @@ }, { "cell_type": "code", - "execution_count": 56, + "execution_count": 67, "id": "194fd116-fecf-4a68-a658-7bfc9fd351ce", "metadata": {}, "outputs": [ @@ -2067,7 +1753,7 @@ "21439" ] }, - "execution_count": 56, + "execution_count": 67, "metadata": {}, "output_type": "execute_result" } @@ -2078,7 +1764,28 @@ }, { "cell_type": "code", - "execution_count": 57, + "execution_count": 70, + "id": "7bfa3fb8-2087-4e10-b4ec-c98ea48630d6", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "1954055" + ] + }, + "execution_count": 70, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(rt_stop_times) - len(rt_stop_times6)" + ] + }, + { + "cell_type": "code", + "execution_count": 68, "id": "d769cda1-f7bd-415c-8a78-7c3e1b6519d7", "metadata": {}, "outputs": [ @@ -2088,7 +1795,7 @@ "(647207, 17)" ] }, - "execution_count": 57, + "execution_count": 68, "metadata": {}, "output_type": "execute_result" } @@ -2097,17 +1804,39 @@ "rt_stop_times6.shape" ] }, + { + "cell_type": "code", + "execution_count": 69, + "id": "5effbfaa-be6b-41ea-bdd7-4408248f9331", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(2601262, 7)" + ] + }, + "execution_count": 69, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times.shape" + ] + }, { "cell_type": "markdown", "id": "9b940ef3-76e6-40a0-bea5-91391827ad99", "metadata": {}, "source": [ - "### Find the mean scheduled headway for the `operator-route-direction_id-stop_sequence-stop_id-` grain" + "### Use Coefficient\n", + "* Find the mean scheduled headway for the `operator-route-direction_id-stop_sequence-stop_id-` grain" ] }, { "cell_type": "code", - "execution_count": 58, + "execution_count": 71, "id": "a1a2713d-bb47-4762-9617-ad090dc2d964", "metadata": {}, "outputs": [], @@ -2122,7 +1851,7 @@ }, { "cell_type": "code", - "execution_count": 59, + "execution_count": 72, "id": "dcaadfa9-2e8e-4164-9ef1-a007ef53e522", "metadata": {}, "outputs": [ @@ -2136,8 +1865,8 @@ " # Column Non-Null Count Dtype \n", "--- ------ -------------- ----- \n", " 0 schedule_gtfs_dataset_key 19260 non-null object \n", - " 1 shape_array_key 19260 non-null object \n", - " 2 route_id 19260 non-null object \n", + " 1 route_id 19260 non-null object \n", + " 2 shape_array_key 19260 non-null object \n", " 3 direction_id 19260 non-null float64\n", " 4 route_primary_direction 19260 non-null object \n", " 5 stop_sequence 19260 non-null int64 \n", @@ -2157,12 +1886,12 @@ "id": "ca901a25-4d12-4b06-8c3b-50cfc9f41be0", "metadata": {}, "source": [ - "#### Merge" + "#### Merge " ] }, { "cell_type": "code", - "execution_count": 60, + "execution_count": 73, "id": "9c0f62d9-a794-4223-8b1a-ac14ae48e51f", "metadata": {}, "outputs": [], @@ -2176,7 +1905,7 @@ }, { "cell_type": "code", - "execution_count": 61, + "execution_count": 74, "id": "750f9b60-d0ab-43e3-8b0c-8cf0089b3f30", "metadata": {}, "outputs": [ @@ -2186,12 +1915,13 @@ "0" ] }, - "execution_count": 61, + "execution_count": 74, "metadata": {}, "output_type": "execute_result" } ], "source": [ + "# Make sure the lengths make sense\n", "len(rt_stop_times6) - len(m1)" ] }, @@ -2205,7 +1935,7 @@ }, { "cell_type": "code", - "execution_count": 62, + "execution_count": 75, "id": "56e3767e-bfbc-47d0-8b21-4264fa3561a3", "metadata": {}, "outputs": [], @@ -2220,16 +1950,16 @@ }, { "cell_type": "markdown", - "id": "4e5365b0-a652-4331-954d-03de8e08416c", + "id": "2a5b721a-41ef-4c82-a0bc-8c2b3f194549", "metadata": {}, "source": [ - "##### Why are so many missing? Case 1\n", - "Why are some Groupby and transform: When using groupby and transform, if a group has only one element, the standard deviation is NaN (Not a Number). This is because standard deviation requires at least two data points to calculate." + "##### Investigate missing rows\n", + "* This one seems to have some very unrealistic time stamps, like the time between scheduled versus actual arrival times are more than an hour." ] }, { "cell_type": "code", - "execution_count": 63, + "execution_count": 76, "id": "0daab2ac-1a4c-49e2-8324-83cada3f66c8", "metadata": {}, "outputs": [ @@ -2243,8 +1973,8 @@ " # Column Non-Null Count Dtype \n", "--- ------ -------------- ----- \n", " 0 schedule_gtfs_dataset_key 19260 non-null object \n", - " 1 shape_array_key 19260 non-null object \n", - " 2 route_id 19260 non-null object \n", + " 1 route_id 19260 non-null object \n", + " 2 shape_array_key 19260 non-null object \n", " 3 direction_id 19260 non-null float64\n", " 4 route_primary_direction 19260 non-null object \n", " 5 stop_sequence 19260 non-null int64 \n", @@ -2261,8 +1991,8 @@ }, { "cell_type": "code", - "execution_count": 64, - "id": "d0adea67-57ed-4c34-8ff6-bced21899ab0", + "execution_count": 81, + "id": "654cb4b7-7043-4453-b1d2-85829c4e609a", "metadata": {}, "outputs": [ { @@ -2286,132 +2016,40 @@ " \n", " \n", " \n", + " trip_id\n", + " stop_id\n", + " stop_sequence\n", + " scheduled_arrival_sec\n", " schedule_gtfs_dataset_key\n", - " shape_array_key\n", + " trip_instance_key\n", + " rt_arrival_sec\n", " route_id\n", + " shape_array_key\n", + " feed_key\n", + " route_long_name\n", " direction_id\n", " route_primary_direction\n", - " stop_sequence\n", - " stop_id\n", - " std_dev_headway\n", + " frequency_in_minutes\n", + " delay\n", + " actual_headway\n", + " schd_headway\n", + " avg_schd_headway_sec\n", " \n", " \n", " \n", " \n", - " 3550\n", + " 157700\n", + " 10217003302323-DEC23\n", + " 15434\n", + " 3\n", + " 84360.00\n", " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " 43830ca4ffb5effb3c34da7ae108a0b3\n", - " 60-13172\n", - " 1.00\n", - " Southbound\n", - " 46\n", - " 11510\n", - " NaN\n", - " \n", - " \n", - "\n", - "" - ], - "text/plain": [ - " schedule_gtfs_dataset_key shape_array_key \\\n", - "3550 0666caf3ec1ecc96b74f4477ee4bc939 43830ca4ffb5effb3c34da7ae108a0b3 \n", - "\n", - " route_id direction_id route_primary_direction stop_sequence stop_id \\\n", - "3550 60-13172 1.00 Southbound 46 11510 \n", - "\n", - " std_dev_headway \n", - "3550 NaN " - ] - }, - "execution_count": 64, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "std_dev.loc[std_dev.std_dev_headway.isna()].sample(1)" - ] - }, - { - "cell_type": "code", - "execution_count": 65, - "id": "317dfcc5-b35b-463f-aad2-6d9446fd236f", - "metadata": {}, - "outputs": [], - "source": [ - "std_dev2 = std_dev.loc[~std_dev.std_dev_headway.isna()].reset_index(drop=True)" - ] - }, - { - "cell_type": "markdown", - "id": "2a5b721a-41ef-4c82-a0bc-8c2b3f194549", - "metadata": {}, - "source": [ - "#### Investigate missing rows\n", - "* This one seems to have some very unrealistic time stamps, like the time between scheduled versus actual arrival times are more than an hour." - ] - }, - { - "cell_type": "code", - "execution_count": 66, - "id": "654cb4b7-7043-4453-b1d2-85829c4e609a", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", " \n", @@ -2426,25 +2064,25 @@ ], "text/plain": [ " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "161685 10217003302323-DEC23 15434 3 84360.00 \n", + "157700 10217003302323-DEC23 15434 3 84360.00 \n", "\n", " schedule_gtfs_dataset_key trip_instance_key \\\n", - "161685 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", + "157700 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", "\n", " rt_arrival_sec route_id shape_array_key \\\n", - "161685 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "157700 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", "\n", " feed_key route_long_name direction_id \\\n", - "161685 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "157700 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", "\n", " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "161685 Southbound 13.92 48.00 1818.00 \n", + "157700 Southbound 13.92 48.00 1818.00 \n", "\n", " schd_headway avg_schd_headway_sec \n", - "161685 1800.00 1800.00 " + "157700 1800.00 1800.00 " ] }, - "execution_count": 66, + "execution_count": 81, "metadata": {}, "output_type": "execute_result" } @@ -2469,7 +2107,7 @@ }, { "cell_type": "code", - "execution_count": 67, + "execution_count": 84, "id": "97d704fb-6033-40d5-a972-d763b0c45507", "metadata": {}, "outputs": [ @@ -2615,7 +2253,7 @@ "479447 Southbound 13.92 " ] }, - "execution_count": 67, + "execution_count": 84, "metadata": {}, "output_type": "execute_result" } @@ -2632,7 +2270,7 @@ }, { "cell_type": "code", - "execution_count": 68, + "execution_count": 85, "id": "54544648-3f26-4ef1-934d-0859f14a82ce", "metadata": {}, "outputs": [ @@ -2756,7 +2394,7 @@ "462159 Southbound 13.92 " ] }, - "execution_count": 68, + "execution_count": 85, "metadata": {}, "output_type": "execute_result" } @@ -2773,7 +2411,7 @@ }, { "cell_type": "code", - "execution_count": 69, + "execution_count": 86, "id": "606ad2db-e50e-44d4-ac73-16701cadef16", "metadata": {}, "outputs": [ @@ -2817,7 +2455,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2835,7 +2473,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2853,7 +2491,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2876,32 +2514,32 @@ ], "text/plain": [ " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "168196 10217003302253-DEC23 15434 3 82560.00 \n", - "168197 10217003302323-DEC23 15434 3 84360.00 \n", - "168198 10217003302354-DEC23 15434 3 86220.00 \n", + "164067 10217003302253-DEC23 15434 3 82560.00 \n", + "164068 10217003302323-DEC23 15434 3 84360.00 \n", + "164069 10217003302354-DEC23 15434 3 86220.00 \n", "\n", " schedule_gtfs_dataset_key trip_instance_key \\\n", - "168196 0666caf3ec1ecc96b74f4477ee4bc939 27d29b3a92104fdcb72b4095ef46fed6 \n", - "168197 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", - "168198 0666caf3ec1ecc96b74f4477ee4bc939 2f10227a381957bbf2b4f388e7f2a3e9 \n", + "164067 0666caf3ec1ecc96b74f4477ee4bc939 27d29b3a92104fdcb72b4095ef46fed6 \n", + "164068 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", + "164069 0666caf3ec1ecc96b74f4477ee4bc939 2f10227a381957bbf2b4f388e7f2a3e9 \n", "\n", " rt_arrival_sec route_id shape_array_key \\\n", - "168196 82590 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", - "168197 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", - "168198 303 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "164067 82590 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "164068 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "164069 303 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", "\n", " feed_key route_long_name direction_id \\\n", - "168196 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", - "168197 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", - "168198 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "164067 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "164068 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "164069 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", "\n", " route_primary_direction frequency_in_minutes delay \n", - "168196 Southbound 13.92 30.00 \n", - "168197 Southbound 13.92 48.00 \n", - "168198 Southbound 13.92 -85917.00 " + "164067 Southbound 13.92 30.00 \n", + "164068 Southbound 13.92 48.00 \n", + "164069 Southbound 13.92 -85917.00 " ] }, - "execution_count": 69, + "execution_count": 86, "metadata": {}, "output_type": "execute_result" } @@ -2918,7 +2556,7 @@ }, { "cell_type": "code", - "execution_count": 70, + "execution_count": 87, "id": "520e0c9e-5e53-4354-8587-2e55794432b7", "metadata": {}, "outputs": [ @@ -2964,7 +2602,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -2984,7 +2622,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -3009,31 +2647,31 @@ ], "text/plain": [ " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "168062 10217003302253-DEC23 15434 3 82560.00 \n", - "168063 10217003302323-DEC23 15434 3 84360.00 \n", + "163937 10217003302253-DEC23 15434 3 82560.00 \n", + "163938 10217003302323-DEC23 15434 3 84360.00 \n", "\n", " schedule_gtfs_dataset_key trip_instance_key \\\n", - "168062 0666caf3ec1ecc96b74f4477ee4bc939 27d29b3a92104fdcb72b4095ef46fed6 \n", - "168063 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", + "163937 0666caf3ec1ecc96b74f4477ee4bc939 27d29b3a92104fdcb72b4095ef46fed6 \n", + "163938 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", "\n", " rt_arrival_sec route_id shape_array_key \\\n", - "168062 82590 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", - "168063 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "163937 82590 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "163938 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", "\n", " feed_key route_long_name direction_id \\\n", - "168062 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", - "168063 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "163937 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "163938 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", "\n", " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "168062 Southbound 13.92 30.00 NaN \n", - "168063 Southbound 13.92 48.00 1818.00 \n", + "163937 Southbound 13.92 30.00 NaN \n", + "163938 Southbound 13.92 48.00 1818.00 \n", "\n", " schd_headway \n", - "168062 NaN \n", - "168063 1800.00 " + "163937 NaN \n", + "163938 1800.00 " ] }, - "execution_count": 70, + "execution_count": 87, "metadata": {}, "output_type": "execute_result" } @@ -3050,7 +2688,7 @@ }, { "cell_type": "code", - "execution_count": 71, + "execution_count": 88, "id": "261ebbfe-03c2-47c8-8f44-66daa95e5ace", "metadata": {}, "outputs": [ @@ -3096,7 +2734,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -3121,25 +2759,25 @@ ], "text/plain": [ " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "161685 10217003302323-DEC23 15434 3 84360.00 \n", + "157700 10217003302323-DEC23 15434 3 84360.00 \n", "\n", " schedule_gtfs_dataset_key trip_instance_key \\\n", - "161685 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", + "157700 0666caf3ec1ecc96b74f4477ee4bc939 bc7a2481002d5e5b5938a991db4e69d1 \n", "\n", " rt_arrival_sec route_id shape_array_key \\\n", - "161685 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", + "157700 84408 217-13172 0688a14c97a2ebfe90f5674c1262d741 \n", "\n", " feed_key route_long_name direction_id \\\n", - "161685 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "157700 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", "\n", " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "161685 Southbound 13.92 48.00 1818.00 \n", + "157700 Southbound 13.92 48.00 1818.00 \n", "\n", " schd_headway \n", - "161685 1800.00 " + "157700 1800.00 " ] }, - "execution_count": 71, + "execution_count": 88, "metadata": {}, "output_type": "execute_result" } @@ -3165,7 +2803,7 @@ }, { "cell_type": "code", - "execution_count": 72, + "execution_count": 89, "id": "75d0abfa-ead3-4c11-a34d-275920500052", "metadata": {}, "outputs": [ @@ -3212,7 +2850,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -3238,25 +2876,25 @@ ], "text/plain": [ " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "179405 10234000780433-DEC23 15383 58 19380.00 \n", + "179345 10234000780433-DEC23 15383 58 19380.00 \n", "\n", " schedule_gtfs_dataset_key trip_instance_key \\\n", - "179405 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", + "179345 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", "\n", " rt_arrival_sec route_id shape_array_key \\\n", - "179405 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "179345 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", "\n", " feed_key route_long_name direction_id \\\n", - "179405 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "179345 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", "\n", " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "179405 Southbound 14.42 38.00 1841.00 \n", + "179345 Southbound 14.42 38.00 1841.00 \n", "\n", " schd_headway avg_schd_headway_sec \n", - "179405 1800.00 1800.00 " + "179345 1800.00 1800.00 " ] }, - "execution_count": 72, + "execution_count": 89, "metadata": {}, "output_type": "execute_result" } @@ -3273,7 +2911,7 @@ }, { "cell_type": "code", - "execution_count": 73, + "execution_count": 90, "id": "e942226b-bb2a-4ab7-ae0f-055c8b7fc048", "metadata": {}, "outputs": [ @@ -3375,7 +3013,7 @@ "482097 Southbound 14.42 " ] }, - "execution_count": 73, + "execution_count": 90, "metadata": {}, "output_type": "execute_result" } @@ -3392,7 +3030,7 @@ }, { "cell_type": "code", - "execution_count": 74, + "execution_count": 91, "id": "b460d441-2d2d-42ec-b8af-a196561c2774", "metadata": {}, "outputs": [ @@ -3494,7 +3132,7 @@ "462564 Southbound 14.42 " ] }, - "execution_count": 74, + "execution_count": 91, "metadata": {}, "output_type": "execute_result" } @@ -3511,7 +3149,7 @@ }, { "cell_type": "code", - "execution_count": 75, + "execution_count": 92, "id": "33068379-3c4a-400c-baad-94487cad9d72", "metadata": {}, "outputs": [ @@ -3555,7 +3193,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -3573,7 +3211,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -3596,27 +3234,27 @@ ], "text/plain": [ " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "186848 10234000780403-DEC23 15383 58 17580.00 \n", - "186849 10234000780433-DEC23 15383 58 19380.00 \n", + "186728 10234000780403-DEC23 15383 58 17580.00 \n", + "186729 10234000780433-DEC23 15383 58 19380.00 \n", "\n", " schedule_gtfs_dataset_key trip_instance_key \\\n", - "186848 0666caf3ec1ecc96b74f4477ee4bc939 bd2c7c473164147ae73920b7ea99c3b6 \n", - "186849 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", + "186728 0666caf3ec1ecc96b74f4477ee4bc939 bd2c7c473164147ae73920b7ea99c3b6 \n", + "186729 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", "\n", " rt_arrival_sec route_id shape_array_key \\\n", - "186848 17577 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", - "186849 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "186728 17577 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "186729 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", "\n", " feed_key route_long_name direction_id \\\n", - "186848 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", - "186849 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "186728 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "186729 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", "\n", " route_primary_direction frequency_in_minutes delay \n", - "186848 Southbound 14.42 -3.00 \n", - "186849 Southbound 14.42 38.00 " + "186728 Southbound 14.42 -3.00 \n", + "186729 Southbound 14.42 38.00 " ] }, - "execution_count": 75, + "execution_count": 92, "metadata": {}, "output_type": "execute_result" } @@ -3633,7 +3271,7 @@ }, { "cell_type": "code", - "execution_count": 76, + "execution_count": 93, "id": "0e84b0ae-c08b-43bb-9c4c-253c4cee3fa1", "metadata": {}, "outputs": [ @@ -3679,7 +3317,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -3699,7 +3337,7 @@ " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", " \n", @@ -3724,31 +3362,31 @@ ], "text/plain": [ " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "186708 10234000780403-DEC23 15383 58 17580.00 \n", - "186709 10234000780433-DEC23 15383 58 19380.00 \n", + "186588 10234000780403-DEC23 15383 58 17580.00 \n", + "186589 10234000780433-DEC23 15383 58 19380.00 \n", "\n", " schedule_gtfs_dataset_key trip_instance_key \\\n", - "186708 0666caf3ec1ecc96b74f4477ee4bc939 bd2c7c473164147ae73920b7ea99c3b6 \n", - "186709 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", + "186588 0666caf3ec1ecc96b74f4477ee4bc939 bd2c7c473164147ae73920b7ea99c3b6 \n", + "186589 0666caf3ec1ecc96b74f4477ee4bc939 3741cc1a8fd3d2ea5ddc59ba1766c0f5 \n", "\n", " rt_arrival_sec route_id shape_array_key \\\n", - "186708 17577 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", - "186709 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "186588 17577 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", + "186589 19418 234-13172 6f33c9cd019664d5085f94294aeacfd3 \n", "\n", " feed_key route_long_name direction_id \\\n", - "186708 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", - "186709 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "186588 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", + "186589 608992664173210532aa3e6cc573be2f Metro Local Line 1.00 \n", "\n", " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "186708 Southbound 14.42 -3.00 NaN \n", - "186709 Southbound 14.42 38.00 1841.00 \n", + "186588 Southbound 14.42 -3.00 NaN \n", + "186589 Southbound 14.42 38.00 1841.00 \n", "\n", " schd_headway \n", - "186708 NaN \n", - "186709 1800.00 " + "186588 NaN \n", + "186589 1800.00 " ] }, - "execution_count": 76, + "execution_count": 93, "metadata": {}, "output_type": "execute_result" } @@ -3773,7 +3411,90 @@ }, { "cell_type": "code", - "execution_count": 77, + "execution_count": 95, + "id": "ef154dbf-8af8-468d-b0b9-57c4c0023458", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headwayavg_schd_headway_sec
16168510217003302323-DEC2315434384360.000666caf3ec1ecc96b74f4477ee4bc939bc7a2481002d5e5b5938a991db4e69d184408217-131720688a14c97a2ebfe90f5674c1262d741608992664173210532aa3e6cc573be2fMetro Local Linebc7a2481002d5e5b5938a991db4e69d184408217-131720688a14c97a2ebfe90f5674c1262d741608992664173210532aa3e6cc573be2fMetro Local Line1.00Southbound13.92
16819616406710217003302253-DEC2315434330.00
16819716406810217003302323-DEC2315434348.00
16819816406910217003302354-DEC23154343
16806216393710217003302253-DEC23154343NaN
16806316393810217003302323-DEC23154343
16168515770010217003302323-DEC23154343
17940517934510234000780433-DEC231538358
18684818672810234000780403-DEC231538358-3.00
18684918672910234000780433-DEC231538358
18670818658810234000780403-DEC231538358NaN
18670918658910234000780433-DEC231538358
\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
schedule_gtfs_dataset_keyroute_idshape_array_keydirection_idroute_primary_directionstop_sequencestop_idstd_dev_headway
00666caf3ec1ecc96b74f4477ee4bc939105-1317246445899dfaef107a695f7a6af906c181.00Eastbound2142619784.55
\n", + "
" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_id \\\n", + "0 0666caf3ec1ecc96b74f4477ee4bc939 105-13172 \n", + "\n", + " shape_array_key direction_id route_primary_direction \\\n", + "0 46445899dfaef107a695f7a6af906c18 1.00 Eastbound \n", + "\n", + " stop_sequence stop_id std_dev_headway \n", + "0 2 14261 9784.55 " + ] + }, + "execution_count": 95, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "std_dev.head(1)" + ] + }, + { + "cell_type": "code", + "execution_count": 96, + "id": "205da3bc-9401-418f-af8e-72b1895dd75b", + "metadata": {}, + "outputs": [], + "source": [ + "std_dev2 = std_dev.loc[~std_dev.std_dev_headway.isna()].reset_index(drop = True)" + ] + }, + { + "cell_type": "code", + "execution_count": 97, "id": "44023236-a5ed-412c-bd08-3c68b6a92faf", "metadata": {}, "outputs": [], @@ -3795,7 +3516,7 @@ }, { "cell_type": "code", - "execution_count": 78, + "execution_count": 98, "id": "0dd50953-19b9-473c-b072-7d47b686dbf1", "metadata": {}, "outputs": [], @@ -3805,7 +3526,7 @@ }, { "cell_type": "code", - "execution_count": 79, + "execution_count": 99, "id": "ff8ed9e9-4575-4866-a38e-b8a554bf5dad", "metadata": {}, "outputs": [ @@ -3823,7 +3544,7 @@ "Name: bunching_coefficient, dtype: float64" ] }, - "execution_count": 79, + "execution_count": 99, "metadata": {}, "output_type": "execute_result" } @@ -3834,7 +3555,7 @@ }, { "cell_type": "code", - "execution_count": 80, + "execution_count": 100, "id": "8beaaddc-6bf0-4ff2-917e-5a855feabe2b", "metadata": {}, "outputs": [], @@ -3844,7 +3565,7 @@ }, { "cell_type": "code", - "execution_count": 81, + "execution_count": 101, "id": "4ea00728-6f29-4a58-9c4b-ced7c485c7f2", "metadata": {}, "outputs": [], @@ -3854,7 +3575,7 @@ }, { "cell_type": "code", - "execution_count": 82, + "execution_count": 102, "id": "b053889d-310e-4c22-b58d-e86fe6f4bbc5", "metadata": {}, "outputs": [], @@ -3872,7 +3593,7 @@ }, { "cell_type": "code", - "execution_count": 83, + "execution_count": 104, "id": "f91fe6e5-9a03-48ad-a1ec-dedb3c0c7a2e", "metadata": {}, "outputs": [], @@ -3886,28 +3607,7 @@ }, { "cell_type": "code", - "execution_count": 84, - "id": "9c20690d-2d15-4c8c-a137-8b889ce45849", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "627947" - ] - }, - "execution_count": 84, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "len(m2) - len(bunching_by_stops)" - ] - }, - { - "cell_type": "code", - "execution_count": 85, + "execution_count": 106, "id": "8d5f66bb-6e25-4548-afb9-7603ae794cf4", "metadata": {}, "outputs": [ @@ -3917,7 +3617,7 @@ "17781" ] }, - "execution_count": 85, + "execution_count": 106, "metadata": {}, "output_type": "execute_result" } @@ -3928,7 +3628,7 @@ }, { "cell_type": "code", - "execution_count": 86, + "execution_count": 107, "id": "67a7eb7c-1662-482a-8adc-28353e7ccacc", "metadata": {}, "outputs": [ @@ -3980,7 +3680,7 @@ }, { "cell_type": "code", - "execution_count": 87, + "execution_count": 108, "id": "5e0595a1-13b6-4b2a-b633-907af8aa579d", "metadata": {}, "outputs": [], @@ -4007,7 +3707,7 @@ }, { "cell_type": "code", - "execution_count": 88, + "execution_count": 109, "id": "b9ece34e-5ad6-4137-93d4-68db20b9762b", "metadata": {}, "outputs": [ @@ -4023,7 +3723,7 @@ "Name: passenger_op_perspective, dtype: float64" ] }, - "execution_count": 88, + "execution_count": 109, "metadata": {}, "output_type": "execute_result" } @@ -4043,7 +3743,7 @@ }, { "cell_type": "code", - "execution_count": 89, + "execution_count": 110, "id": "d4df0c20-b3fb-4f9f-aecb-d925f2532fe4", "metadata": {}, "outputs": [ @@ -4060,7 +3760,7 @@ " 'mposa'}" ] }, - "execution_count": 89, + "execution_count": 110, "metadata": {}, "output_type": "execute_result" } @@ -4073,7 +3773,7 @@ }, { "cell_type": "code", - "execution_count": 90, + "execution_count": 111, "id": "34d0b206-5fe7-4a20-b9ff-5f76b22f02a6", "metadata": {}, "outputs": [ @@ -4126,7 +3826,7 @@ "597 Eastbound 10.00 " ] }, - "execution_count": 90, + "execution_count": 111, "metadata": {}, "output_type": "execute_result" } @@ -4140,6122 +3840,141 @@ { "cell_type": "markdown", "id": "71192c42-6af6-4c74-9a00-f2a558eb8030", - "metadata": {}, - "source": [ - "#### Check out one route" - ] - }, - { - "cell_type": "code", - "execution_count": 91, - "id": "5508346c-442a-4f22-9bc3-1037cb1e727b", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", - "
" - ], - "text/plain": [ - "Empty DataFrame\n", - "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", - "Index: []" - ] - }, - "execution_count": 91, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times2.loc[rt_stop_times2.route_id == \"West Field Garage\"].head(1)" - ] - }, - { - "cell_type": "code", - "execution_count": 92, - "id": "7ec57b66-9600-4667-9fad-114c5d570cd1", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", - "
" - ], - "text/plain": [ - "Empty DataFrame\n", - "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", - "Index: []" - ] - }, - "execution_count": 92, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times2.loc[rt_stop_times2.route_id == \"eastvalley\"].head(1)" - ] - }, - { - "cell_type": "code", - "execution_count": 93, - "id": "37422b12-4ef4-4e5e-8388-5ff91e25d04a", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
schedule_gtfs_dataset_keyroute_idtrip_instance_keyshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
1991531152914d10e2d0977b8b2fabb167922eastvalley77a45a5bbd6e7b87ef670d90e16fdbc3aebd18679bd2170ee61d7522bcfc11ab7900b8b29688af30a699822f84ae2753East Valley Shuttle1.00Eastbound16.05
\n", - "
" - ], - "text/plain": [ - " schedule_gtfs_dataset_key route_id \\\n", - "19915 31152914d10e2d0977b8b2fabb167922 eastvalley \n", - "\n", - " trip_instance_key shape_array_key \\\n", - "19915 77a45a5bbd6e7b87ef670d90e16fdbc3 aebd18679bd2170ee61d7522bcfc11ab \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "19915 7900b8b29688af30a699822f84ae2753 East Valley Shuttle 1.00 \n", - "\n", - " route_primary_direction frequency_in_minutes \n", - "19915 Eastbound 16.05 " - ] - }, - "execution_count": 93, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "trips_freq_routes.loc[trips_freq_routes.route_id == \"eastvalley\"].head(1)" - ] - }, - { - "cell_type": "code", - "execution_count": 94, - "id": "3e27a3c0-7573-4c1a-abf8-79364d9fd8c9", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", - "
" - ], - "text/plain": [ - "Empty DataFrame\n", - "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", - "Index: []" - ] - }, - "execution_count": 94, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times2.loc[\n", - " (rt_stop_times2.trip_instance_key == \"77a45a5bbd6e7b87ef670d90e16fdbc3\")\n", - "]" - ] - }, - { - "cell_type": "code", - "execution_count": 95, - "id": "5b0fae1c-828b-47e8-8188-4f58cdc901f9", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_sec
\n", - "
" - ], - "text/plain": [ - "Empty DataFrame\n", - "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec]\n", - "Index: []" - ] - }, - "execution_count": 95, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times.loc[\n", - " (rt_stop_times.trip_instance_key == \"77a45a5bbd6e7b87ef670d90e16fdbc3\")\n", - "]" - ] - }, - { - "cell_type": "markdown", - "id": "4203f8de-1d1f-484f-82b8-d1d3908d3b79", - "metadata": {}, - "source": [ - "#### Second Route" - ] - }, - { - "cell_type": "code", - "execution_count": 96, - "id": "25c9d598-1334-4cbc-a628-48febf86eddf", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
schedule_gtfs_dataset_keyroute_idtrip_instance_keyshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
23548a1405af8da1379acc062e346187ac98Beige-S1922398e65e4994e1ba867bda56134ea93312729ad2928439c75cbbd97191b663e22f1090d0d12096ee943c621298225Coliseum to Oakland Airport1.00Southbound7.90
22808a1405af8da1379acc062e346187ac98Beige-S19f402df3a38e24f5b905549890a997e93312729ad2928439c75cbbd97191b663e22f1090d0d12096ee943c621298225Coliseum to Oakland Airport1.00Southbound7.90
\n", - "
" - ], - "text/plain": [ - " schedule_gtfs_dataset_key route_id \\\n", - "2354 8a1405af8da1379acc062e346187ac98 Beige-S \n", - "2280 8a1405af8da1379acc062e346187ac98 Beige-S \n", - "\n", - " trip_instance_key shape_array_key \\\n", - "2354 1922398e65e4994e1ba867bda56134ea 93312729ad2928439c75cbbd97191b66 \n", - "2280 19f402df3a38e24f5b905549890a997e 93312729ad2928439c75cbbd97191b66 \n", - "\n", - " feed_key route_long_name \\\n", - "2354 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", - "2280 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", - "\n", - " direction_id route_primary_direction frequency_in_minutes \n", - "2354 1.00 Southbound 7.90 \n", - "2280 1.00 Southbound 7.90 " - ] - }, - "execution_count": 96, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "trips_freq_routes.loc[trips_freq_routes.route_id == \"Beige-S\"].sample(2)" - ] - }, - { - "cell_type": "code", - "execution_count": 97, - "id": "a8bbb8d6-f285-4c91-bb73-16dc89071f43", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", - "
" - ], - "text/plain": [ - "Empty DataFrame\n", - "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", - "Index: []" - ] - }, - "execution_count": 97, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times2.loc[\n", - " (rt_stop_times2.trip_instance_key == \"96e2844c6ce2bcc5ede547c32c220efb\")\n", - "]" - ] - }, - { - "cell_type": "code", - "execution_count": 98, - "id": "b37e2d7a-52ae-41e9-8474-9e193b67b2c8", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", - "
" - ], - "text/plain": [ - "Empty DataFrame\n", - "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", - "Index: []" - ] - }, - "execution_count": 98, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times2.loc[\n", - " (rt_stop_times2.trip_instance_key == \"4f9e575f015b6bf05e69af9da50d9579\")\n", - "]" - ] - }, - { - "cell_type": "markdown", - "id": "cf41d925-a7d5-48e2-8e48-ef1b09752b6d", - "metadata": {}, - "source": [ - "### Fillmore Test" - ] - }, - { - "cell_type": "code", - "execution_count": 99, - "id": "f0cd0242-5605-4fe8-ab72-21bdf8cd432b", - "metadata": {}, - "outputs": [], - "source": [ - "more_values = [\n", - " \"scheduled_arrival_sec\",\n", - " \"std_dev_headway\",\n", - " \"avg_schd_headway_sec\",\n", - " \"schd_headway\",\n", - " \"rt_arrival_sec\",\n", - "]" - ] - }, - { - "cell_type": "code", - "execution_count": 100, - "id": "899bd6e4-02be-43f4-931b-872072960cc6", - "metadata": {}, - "outputs": [], - "source": [ - "drop_for_preview = drop_for_preview + more_values" - ] - }, - { - "cell_type": "code", - "execution_count": 101, - "id": "480ca3cd-592d-4f2a-9984-015d6b598871", - "metadata": {}, - "outputs": [], - "source": [ - "fillmore = bunching_by_stops.loc[bunching_by_stops.route_long_name == \"FILLMORE\"]" - ] - }, - { - "cell_type": "code", - "execution_count": 102, - "id": "6a05dfcc-f938-44ce-80e3-09c9279a1cb5", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "Most vehicles bunched 120\n", - "Frequent bunching 24\n", - "Irregular headways, with some bunching 1\n", - "Vehicles slightly off headway 1\n", - "Service provided like clockwork 1\n", - "Name: passenger_op_perspective, dtype: int64" - ] - }, - "execution_count": 102, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "fillmore.passenger_op_perspective.value_counts()" - ] - }, - { - "cell_type": "code", - "execution_count": 103, - "id": "ce80809f-266d-44d5-9b9c-7dc1ac7459f2", - "metadata": { - "scrolled": true, - "tags": [] - }, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayschd_headwayavg_schd_headway_secstd_dev_headwaybunching_coefficientavg_schd_headway_minpassenger_op_perspective
1343811489815_M3114630268903.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869064221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61161.002280.001750.80859.580.4929.18Irregular headways, with some bunching
1343911489815_M3114609769120.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869067221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-53.00360.001356.00987.750.7322.60Frequent bunching
1344011489815_M3114627869175.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d869077221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-98.00360.001356.001338.730.9922.60Most vehicles bunched
1344111489975_M3116754968926.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69041221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61115.001920.001450.001193.620.8224.17Most vehicles bunched
1344211489975_M31164911069000.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69043221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6143.001920.001450.001055.870.7324.17Frequent bunching
1344311489975_M31164881169023.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69044221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6121.001917.001449.00984.310.6824.15Frequent bunching
1344411489975_M31164931269066.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69046221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-20.001912.001447.33969.720.6724.12Frequent bunching
1344511489975_M31130861369106.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69048221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-58.001907.001445.50960.660.6624.09Frequent bunching
1344611489975_M31146051469164.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69051221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-113.001900.001443.171062.230.7424.05Frequent bunching
1344711489975_M31146241569217.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69133221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-84.001893.001441.00967.760.6724.02Frequent bunching
1344811489975_M31146371669308.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69276221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-32.001881.001437.171001.170.7023.95Frequent bunching
1344911489975_M31146361769391.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69283221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-108.001871.001433.67886.530.6223.89Frequent bunching
1345011489975_M31146411869480.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69333221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-147.001860.001430.00803.930.5623.83Frequent bunching
1345111489975_M31146151969587.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69752221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61165.001860.001427.50941.180.6623.79Frequent bunching
1345211489975_M31146342069644.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69753221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61109.001860.001426.00932.350.6523.77Frequent bunching
1345311489975_M31146122169732.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69756221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6124.001860.001424.00930.600.6523.73Frequent bunching
1345411489975_M31146422269809.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69758221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-51.001860.001422.17917.040.6423.70Frequent bunching
1345511489975_M31146292369900.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69761221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-139.001860.001420.00890.350.6323.67Frequent bunching
1345611489975_M31146172469978.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69764221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-214.001860.001417.33842.140.5923.62Frequent bunching
1345711489975_M31146222570044.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69783221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-261.001860.001415.17853.780.6023.59Frequent bunching
1345811489975_M31146322670140.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be70021221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-119.001860.001412.00877.260.6223.53Frequent bunching
1345911489975_M31146182770200.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be70028221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-172.001860.001410.00847.240.6023.50Frequent bunching
1346011489975_M31150182870293.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be70175221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-118.001860.001410.00894.360.6323.50Frequent bunching
1346111489975_M31140052970344.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be70187221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-157.001860.001410.00889.160.6323.50Frequent bunching
1346211489975_M31180593070440.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be70211221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-229.001860.001410.00816.530.5823.50Frequent bunching
1346311489975_M31139843170566.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be70363221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-203.001860.001747.252038.941.1729.12Most vehicles bunched
1346411489975_M31132853270661.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be70380221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-281.001860.001741.252009.711.1529.02Most vehicles bunched
1346511489975_M31133013370820.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be70666221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-154.001860.001731.252018.871.1728.85Most vehicles bunched
1346611489815_M31132933471280.007cc0cb1871dfd558f11a2885c145d144186fd89b59a49ddc1e84cb4b89c066d870831221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-449.002220.002300.001964.530.8538.33Most vehicles bunched
1346711489877_M3114630222577.007cc0cb1871dfd558f11a2885c145d144d1d3596406ffd26b7b4d935686b0e45722761222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61184.002460.00667.41607.170.9111.12Most vehicles bunched
1346811489884_M3114607327884.007cc0cb1871dfd558f11a2885c145d14424c071114425eaa11a3e2c623343977327885222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.611.001080.002847.003207.451.1347.45Most vehicles bunched
1346911489884_M3114625427912.007cc0cb1871dfd558f11a2885c145d14424c071114425eaa11a3e2c623343977327837222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-75.001080.003163.333716.391.1752.72Most vehicles bunched
1347011489897_M3114606532300.007cc0cb1871dfd558f11a2885c145d144d34e8a8b26b0d004cf1838558d2d129532493222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61193.003240.004080.002585.230.6368.00Frequent bunching
1347111489897_M3114610632339.007cc0cb1871dfd558f11a2885c145d144d34e8a8b26b0d004cf1838558d2d129532639222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61300.003240.002448.002267.960.9340.80Most vehicles bunched
1347211489876_M3114609722020.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b22812222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61792.00840.00670.11697.521.0411.17Most vehicles bunched
1347311489876_M3114627822047.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b22813222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61766.001740.00541.11585.821.089.02Most vehicles bunched
1347411489875_M3116754921263.007cc0cb1871dfd558f11a2885c145d1443cda70b9af1e8e0dcc9d9df5d738016e21475222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61212.00900.00488.81490.901.008.15Most vehicles bunched
1347511489875_M31164911021300.007cc0cb1871dfd558f11a2885c145d1443cda70b9af1e8e0dcc9d9df5d738016e21477222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61177.00900.00537.05473.990.888.95Most vehicles bunched
1347611489875_M31164881121317.007cc0cb1871dfd558f11a2885c145d1443cda70b9af1e8e0dcc9d9df5d738016e21478222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61161.00900.00488.96447.400.928.15Most vehicles bunched
1347711489875_M31164931221349.007cc0cb1871dfd558f11a2885c145d1443cda70b9af1e8e0dcc9d9df5d738016e21480222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61131.00900.00474.78510.221.077.91Most vehicles bunched
1347811489875_M31130861321379.007cc0cb1871dfd558f11a2885c145d1443cda70b9af1e8e0dcc9d9df5d738016e21482222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61103.00900.00478.25465.590.977.97Most vehicles bunched
1347911489875_M31146051421423.007cc0cb1871dfd558f11a2885c145d1443cda70b9af1e8e0dcc9d9df5d738016e21485222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6162.00900.00481.76506.551.058.03Most vehicles bunched
1348011489875_M31146241521462.007cc0cb1871dfd558f11a2885c145d1443cda70b9af1e8e0dcc9d9df5d738016e21490222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6128.00900.00478.25460.540.967.97Most vehicles bunched
1348111489876_M31146371622371.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b22820222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61449.00840.00471.68456.520.977.86Most vehicles bunched
1348211489876_M31146361722433.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b22821222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61388.00840.00475.15440.510.937.92Most vehicles bunched
1348311489876_M31146411822500.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b22822222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61322.00840.00493.28433.740.888.22Most vehicles bunched
1348411489877_M31146151923296.007cc0cb1871dfd558f11a2885c145d144d1d3596406ffd26b7b4d935686b0e45723564222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61268.001575.00505.09429.180.858.42Most vehicles bunched
1348511489876_M31146342022593.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b22823222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61230.00840.00514.25454.350.888.57Most vehicles bunched
1348611489876_M31146122122644.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b22824222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61180.00840.00502.30418.430.838.37Most vehicles bunched
1348711489876_M31146422222688.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b22825222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61137.00840.00487.13428.070.888.12Most vehicles bunched
1348811489876_M31146292322740.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b22916222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61176.00840.00487.33398.890.828.12Most vehicles bunched
1348911489876_M31146172422786.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b22989222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61203.00840.00483.76428.270.898.06Most vehicles bunched
1349011489876_M31146222522826.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23051222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61225.00840.00483.86415.210.868.06Most vehicles bunched
1349111489876_M31146322622884.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23061222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61177.00840.00495.26441.330.898.25Most vehicles bunched
1349211489876_M31146182722920.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23069222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61149.00840.00491.54461.850.948.19Most vehicles bunched
1349311489876_M31150182822990.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23354222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61364.00840.00476.69477.071.007.94Most vehicles bunched
1349411489876_M31140052923028.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23361222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61333.00840.00480.18465.280.978.00Most vehicles bunched
1349511489876_M31180593023100.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23375222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61275.00840.00483.64480.040.998.06Most vehicles bunched
1349611489876_M31139843123179.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23391222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61212.00840.00510.72504.530.998.51Most vehicles bunched
1349711489876_M31132853223238.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23406222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61168.00840.00514.84463.110.908.58Most vehicles bunched
1349811489876_M31133013323337.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23636222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61299.00840.00502.68451.790.908.38Most vehicles bunched
1349911489876_M31132933423400.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23649222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61249.00840.00503.52471.390.948.39Most vehicles bunched
1350011489876_M31132993523474.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23938222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61464.00840.00528.91491.230.938.82Most vehicles bunched
1350111489876_M31132823623580.007cc0cb1871dfd558f11a2885c145d144d69b2d5fc7574b90199314cddf8e673b23945222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61365.00840.00547.30522.610.959.12Most vehicles bunched
1350211489878_M31132963725200.007cc0cb1871dfd558f11a2885c145d1444d0664d8becb5754441c8f6866d162af25560222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61360.00720.00638.12670.021.0510.64Most vehicles bunched
1350311489878_M31177613825320.007cc0cb1871dfd558f11a2885c145d1444d0664d8becb5754441c8f6866d162af25639222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61319.00720.00685.95609.840.8911.43Most vehicles bunched
1350411489881_M31177623927554.007cc0cb1871dfd558f11a2885c145d1441f4162ccf2a270a5fd579a6e40abc4f228091222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61537.002880.00784.65726.810.9313.08Most vehicles bunched
1350511489881_M31177634027627.007cc0cb1871dfd558f11a2885c145d1441f4162ccf2a270a5fd579a6e40abc4f228095222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61468.002880.00949.60901.100.9515.83Most vehicles bunched
1350611489881_M31178664127741.007cc0cb1871dfd558f11a2885c145d1441f4162ccf2a270a5fd579a6e40abc4f228102222fe09ae2c449928945abe662a855ffb27f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61361.002880.001288.171136.060.8821.47Most vehicles bunched
1350711489845_M3117761218610.007cc0cb1871dfd558f11a2885c145d144dd2db06e83875c5e9eb93212fc4761be186852262b7db9e9a7562bbfe649736b913f9c87f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6175.001200.001998.001930.330.9733.30Most vehicles bunched
1350811489845_M3117762318655.007cc0cb1871dfd558f11a2885c145d144dd2db06e83875c5e9eb93212fc4761be187212262b7db9e9a7562bbfe649736b913f9c87f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6166.001200.002285.572086.170.9138.09Most vehicles bunched
1350911489845_M3117763418699.007cc0cb1871dfd558f11a2885c145d144dd2db06e83875c5e9eb93212fc4761be187412262b7db9e9a7562bbfe649736b913f9c87f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.6142.001200.002001.621915.690.9633.36Most vehicles bunched
1351011489846_M3117866519967.007cc0cb1871dfd558f11a2885c145d14490f2da63ad252223ee16676fe9c7b766202022262b7db9e9a7562bbfe649736b913f9c87f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61235.001200.002119.432074.160.9835.32Most vehicles bunched
1351111489846_M3117764619994.007cc0cb1871dfd558f11a2885c145d14490f2da63ad252223ee16676fe9c7b766202032262b7db9e9a7562bbfe649736b913f9c87f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61209.001200.002120.712127.131.0035.35Most vehicles bunched
1351211489846_M3117321720060.007cc0cb1871dfd558f11a2885c145d14490f2da63ad252223ee16676fe9c7b766202072262b7db9e9a7562bbfe649736b913f9c87f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61147.001200.002203.502721.051.2336.73Most vehicles bunched
1351311490050_M3117766219297.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19333223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6036.001200.00494.23774.161.578.24Most vehicles bunched
1351411490050_M3117324319376.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19340223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-36.001200.00522.41662.841.278.71Most vehicles bunched
1351511490050_M3117767419457.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19358223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-99.001200.00548.52673.531.239.14Most vehicles bunched
1351611490050_M3117865519494.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19869223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60375.001200.00490.09579.191.188.17Most vehicles bunched
1351711490050_M3117768619577.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19874223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60297.001200.00493.54458.910.938.23Most vehicles bunched
1351811490050_M3117769719633.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19877223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60244.001200.00465.61497.401.077.76Most vehicles bunched
1351911490050_M3117770819692.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19880223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60188.001200.00472.11474.281.007.87Most vehicles bunched
1352011490050_M3113295919800.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19885223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6085.001200.00485.74501.371.038.10Most vehicles bunched
1352111490050_M31132811019860.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19888223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6028.001200.00475.25562.811.187.92Most vehicles bunched
1352211490050_M31172891119961.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19894223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-67.001200.00500.45595.671.198.34Most vehicles bunched
1352311490050_M31132911220040.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d19898223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-142.001200.00500.45571.381.148.34Most vehicles bunched
1352411490050_M31133001320090.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d20146223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6056.001200.00500.38529.741.068.34Most vehicles bunched
1352511490050_M31132841420202.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d20157223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-45.001200.00504.02559.891.118.40Most vehicles bunched
1352611490050_M31132831520249.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d20162223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-87.001200.00511.77589.861.158.53Most vehicles bunched
1352711490050_M31170731620340.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d20171223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-169.001200.00515.62569.041.108.59Most vehicles bunched
1352811490050_M31170741720377.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d20273223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-104.001200.00507.69578.801.148.46Most vehicles bunched
1352911490050_M31150171820410.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d20285223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-125.001200.00511.63588.331.158.53Most vehicles bunched
1353011490050_M31146201920460.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d20303223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-157.001200.00500.00637.631.288.33Most vehicles bunched
1353111490050_M31146312020516.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d20783223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60267.001200.00503.96602.801.208.40Most vehicles bunched
1353211490050_M31146212120562.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d21179223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60617.001200.00519.96553.411.068.67Most vehicles bunched
1353311490050_M31146162220585.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d21180223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60595.001200.00524.14565.721.088.74Most vehicles bunched
1353411490050_M31146282320640.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d21181223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60541.001200.00528.48541.851.038.81Most vehicles bunched
1353511490050_M31146132420684.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d21182223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60498.001200.00532.83599.571.138.88Most vehicles bunched
1353611490050_M31146112520746.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d21183223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60437.001200.00528.70542.011.038.81Most vehicles bunched
1353711490050_M31146332620796.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d21184223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60388.001200.00537.39531.920.998.96Most vehicles bunched
1353811490110_M31146142723007.007cc0cb1871dfd558f11a2885c145d144435bb30228592bdf9ea0c1bdd583f19823403223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60396.003360.00546.38587.421.089.11Most vehicles bunched
1353911490050_M31146402820880.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d21185223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60305.001200.00533.23498.350.938.89Most vehicles bunched
1354011490050_M31146352920935.007cc0cb1871dfd558f11a2885c145d144fd986222506afb5c4eb5af6ce1c7da6d21187223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60252.001200.00546.37507.600.939.11Most vehicles bunched
1354111490051_M31146383022183.007cc0cb1871dfd558f11a2885c145d14455df941578c8f1d7745695cbbe4b2e1222405223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60222.001200.00573.66526.240.929.56Most vehicles bunched
1354211490051_M31146233122267.007cc0cb1871dfd558f11a2885c145d14455df941578c8f1d7745695cbbe4b2e1222523223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60256.001200.00576.48517.800.909.61Most vehicles bunched
1354311490051_M31146043222306.007cc0cb1871dfd558f11a2885c145d14455df941578c8f1d7745695cbbe4b2e1222611223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60305.001200.00587.00547.590.939.78Most vehicles bunched
1354411490111_M31130853324144.007cc0cb1871dfd558f11a2885c145d144e2a8f36aec8f1cabf4ca727bf73a08ab24500223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60356.001800.00640.57587.360.9210.68Most vehicles bunched
1354511490051_M31164923422369.007cc0cb1871dfd558f11a2885c145d14455df941578c8f1d7745695cbbe4b2e1222756223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60387.001200.00603.51556.830.9210.06Most vehicles bunched
1354611490051_M31164873522396.007cc0cb1871dfd558f11a2885c145d14455df941578c8f1d7745695cbbe4b2e1222758223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60362.001200.00673.34596.400.8911.22Most vehicles bunched
1354711490051_M31164903622440.007cc0cb1871dfd558f11a2885c145d14455df941578c8f1d7745695cbbe4b2e1222759223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60319.001200.00752.47602.340.8012.54Most vehicles bunched
1354811490051_M31146433722482.007cc0cb1871dfd558f11a2885c145d14455df941578c8f1d7745695cbbe4b2e1222763223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60281.001200.001048.52996.680.9517.48Most vehicles bunched
1354911490051_M31146263822541.007cc0cb1871dfd558f11a2885c145d14455df941578c8f1d7745695cbbe4b2e1222864223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60323.001200.001142.141083.960.9519.04Most vehicles bunched
1355011490113_M31146083925996.007cc0cb1871dfd558f11a2885c145d14432ce76603438e958f31799f4df8244da26135223c9fd7a0a26e2a9dd9c0a22ffe55dec47f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60139.003420.003536.002775.640.7858.93Most vehicles bunched
1355111490036_M3117289219297.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c1980922498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60512.001380.001180.441271.491.0819.67Most vehicles bunched
1355211490036_M3113291319380.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c1981422498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60434.001380.002310.001951.500.8438.50Most vehicles bunched
1355311490036_M3113300419430.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c1981622498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60386.001390.001785.001202.440.6729.75Frequent bunching
1355411490036_M3113284519542.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c1982222498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60280.001413.001197.561059.360.8819.96Most vehicles bunched
1355511490036_M3113283619589.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c1982422498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60235.001422.001200.561059.230.8820.01Most vehicles bunched
1355611490036_M3117073719680.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c1982922498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60149.001440.001206.671062.960.8820.11Most vehicles bunched
1355711490036_M3117074819736.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c1983222498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6096.001440.001208.781057.160.8720.15Most vehicles bunched
1355811490036_M3115017919786.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c1983422498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6048.001440.001210.561046.980.8620.18Most vehicles bunched
1355911490036_M31146201019860.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c1983722498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-23.001440.001213.331039.300.8620.22Most vehicles bunched
1356011490036_M31146311119916.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c2030122498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60385.001440.001217.561006.330.8320.29Most vehicles bunched
1356111490036_M31146211219962.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c2030422498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60342.001440.001221.001000.550.8220.35Most vehicles bunched
1356211490036_M31146161319985.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c2030522498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60320.001440.001222.67977.230.8020.38Most vehicles bunched
1356311490036_M31146281420040.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c2030622498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60266.001440.001226.67971.520.7920.44Most vehicles bunched
1356411490036_M31146131520084.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c2030822498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60224.001440.001229.11962.780.7820.49Most vehicles bunched
1356511490036_M31146111620146.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c2031022498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60164.001440.001386.751154.440.8323.11Most vehicles bunched
1356611490036_M31146331720196.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c2031222498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60116.001440.001389.751133.430.8223.16Most vehicles bunched
1356711490036_M31146141820247.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c2031422498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6067.001440.001607.331269.400.7926.79Most vehicles bunched
1356811490036_M31146401920280.007cc0cb1871dfd558f11a2885c145d14497bef7e452e70e0b39dd8267d149e38c2031522498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6035.001440.001610.001944.431.2126.83Most vehicles bunched
1356911490037_M31146352021535.007cc0cb1871dfd558f11a2885c145d14475b0173aee7e0dd42b99b29252f3b1ec2226622498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60731.002649.001597.001277.630.8026.62Most vehicles bunched
1357011490037_M31146382121583.007cc0cb1871dfd558f11a2885c145d14475b0173aee7e0dd42b99b29252f3b1ec2252222498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60939.002657.001599.141254.370.7826.65Most vehicles bunched
1357111490037_M31146232221667.007cc0cb1871dfd558f11a2885c145d14475b0173aee7e0dd42b99b29252f3b1ec2252422498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60857.002671.001603.291282.640.8026.72Most vehicles bunched
1357211490037_M31146042321706.007cc0cb1871dfd558f11a2885c145d14475b0173aee7e0dd42b99b29252f3b1ec2252522498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60819.002677.001605.001314.580.8226.75Most vehicles bunched
1357311490037_M31130852421744.007cc0cb1871dfd558f11a2885c145d14475b0173aee7e0dd42b99b29252f3b1ec2252622498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60782.002684.001606.861345.900.8426.78Most vehicles bunched
1357411490037_M31164922521769.007cc0cb1871dfd558f11a2885c145d14475b0173aee7e0dd42b99b29252f3b1ec2252722498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60758.002688.001608.141345.930.8426.80Most vehicles bunched
1357511490037_M31164872621796.007cc0cb1871dfd558f11a2885c145d14475b0173aee7e0dd42b99b29252f3b1ec2252822498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60732.002693.001609.431346.130.8426.82Most vehicles bunched
1357611490037_M31164902721840.007cc0cb1871dfd558f11a2885c145d14475b0173aee7e0dd42b99b29252f3b1ec2252922498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60689.002700.001880.001414.440.7531.33Most vehicles bunched
1357711490037_M31146432821896.007cc0cb1871dfd558f11a2885c145d14475b0173aee7e0dd42b99b29252f3b1ec2253022498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60634.002700.003044.67858.810.2850.74Vehicles slightly off headway
1357811490037_M31146262921974.007cc0cb1871dfd558f11a2885c145d14475b0173aee7e0dd42b99b29252f3b1ec2253222498b9a001056ce2b83bdc7e8ca01473f7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60558.002700.003570.00547.300.1559.50Service provided like clockwork
1357911490047_M3117766267473.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316759822fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60125.0026032.0010060.7511234.061.12167.68Most vehicles bunched
1358011490047_M3117324367543.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316761222fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6069.0026014.0010052.0011137.091.11167.53Most vehicles bunched
1358111490047_M3117767467615.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316776222fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60147.0025997.0010043.2511127.561.11167.39Most vehicles bunched
1358211490047_M3117865567648.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316783222fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60184.0025988.0010039.0011171.841.11167.32Most vehicles bunched
1358311490047_M3117768667722.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316798822fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60266.0025969.0010029.5011270.501.12167.16Most vehicles bunched
1358411490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60315.0025957.0010023.5011333.781.13167.06Most vehicles bunched
\n", - "
" - ], - "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "13438 11489815_M31 14630 2 68903.00 \n", - "13439 11489815_M31 14609 7 69120.00 \n", - "13440 11489815_M31 14627 8 69175.00 \n", - "13441 11489975_M31 16754 9 68926.00 \n", - "13442 11489975_M31 16491 10 69000.00 \n", - "13443 11489975_M31 16488 11 69023.00 \n", - "13444 11489975_M31 16493 12 69066.00 \n", - "13445 11489975_M31 13086 13 69106.00 \n", - "13446 11489975_M31 14605 14 69164.00 \n", - "13447 11489975_M31 14624 15 69217.00 \n", - "13448 11489975_M31 14637 16 69308.00 \n", - "13449 11489975_M31 14636 17 69391.00 \n", - "13450 11489975_M31 14641 18 69480.00 \n", - "13451 11489975_M31 14615 19 69587.00 \n", - "13452 11489975_M31 14634 20 69644.00 \n", - "13453 11489975_M31 14612 21 69732.00 \n", - "13454 11489975_M31 14642 22 69809.00 \n", - "13455 11489975_M31 14629 23 69900.00 \n", - "13456 11489975_M31 14617 24 69978.00 \n", - "13457 11489975_M31 14622 25 70044.00 \n", - "13458 11489975_M31 14632 26 70140.00 \n", - "13459 11489975_M31 14618 27 70200.00 \n", - "13460 11489975_M31 15018 28 70293.00 \n", - "13461 11489975_M31 14005 29 70344.00 \n", - "13462 11489975_M31 18059 30 70440.00 \n", - "13463 11489975_M31 13984 31 70566.00 \n", - "13464 11489975_M31 13285 32 70661.00 \n", - "13465 11489975_M31 13301 33 70820.00 \n", - "13466 11489815_M31 13293 34 71280.00 \n", - "13467 11489877_M31 14630 2 22577.00 \n", - "13468 11489884_M31 14607 3 27884.00 \n", - "13469 11489884_M31 14625 4 27912.00 \n", - "13470 11489897_M31 14606 5 32300.00 \n", - "13471 11489897_M31 14610 6 32339.00 \n", - "13472 11489876_M31 14609 7 22020.00 \n", - "13473 11489876_M31 14627 8 22047.00 \n", - "13474 11489875_M31 16754 9 21263.00 \n", - "13475 11489875_M31 16491 10 21300.00 \n", - "13476 11489875_M31 16488 11 21317.00 \n", - "13477 11489875_M31 16493 12 21349.00 \n", - "13478 11489875_M31 13086 13 21379.00 \n", - "13479 11489875_M31 14605 14 21423.00 \n", - "13480 11489875_M31 14624 15 21462.00 \n", - "13481 11489876_M31 14637 16 22371.00 \n", - "13482 11489876_M31 14636 17 22433.00 \n", - "13483 11489876_M31 14641 18 22500.00 \n", - "13484 11489877_M31 14615 19 23296.00 \n", - "13485 11489876_M31 14634 20 22593.00 \n", - "13486 11489876_M31 14612 21 22644.00 \n", - "13487 11489876_M31 14642 22 22688.00 \n", - "13488 11489876_M31 14629 23 22740.00 \n", - "13489 11489876_M31 14617 24 22786.00 \n", - "13490 11489876_M31 14622 25 22826.00 \n", - "13491 11489876_M31 14632 26 22884.00 \n", - "13492 11489876_M31 14618 27 22920.00 \n", - "13493 11489876_M31 15018 28 22990.00 \n", - "13494 11489876_M31 14005 29 23028.00 \n", - "13495 11489876_M31 18059 30 23100.00 \n", - "13496 11489876_M31 13984 31 23179.00 \n", - "13497 11489876_M31 13285 32 23238.00 \n", - "13498 11489876_M31 13301 33 23337.00 \n", - "13499 11489876_M31 13293 34 23400.00 \n", - "13500 11489876_M31 13299 35 23474.00 \n", - "13501 11489876_M31 13282 36 23580.00 \n", - "13502 11489878_M31 13296 37 25200.00 \n", - "13503 11489878_M31 17761 38 25320.00 \n", - "13504 11489881_M31 17762 39 27554.00 \n", - "13505 11489881_M31 17763 40 27627.00 \n", - "13506 11489881_M31 17866 41 27741.00 \n", - "13507 11489845_M31 17761 2 18610.00 \n", - "13508 11489845_M31 17762 3 18655.00 \n", - "13509 11489845_M31 17763 4 18699.00 \n", - "13510 11489846_M31 17866 5 19967.00 \n", - "13511 11489846_M31 17764 6 19994.00 \n", - "13512 11489846_M31 17321 7 20060.00 \n", - "13513 11490050_M31 17766 2 19297.00 \n", - "13514 11490050_M31 17324 3 19376.00 \n", - "13515 11490050_M31 17767 4 19457.00 \n", - "13516 11490050_M31 17865 5 19494.00 \n", - "13517 11490050_M31 17768 6 19577.00 \n", - "13518 11490050_M31 17769 7 19633.00 \n", - "13519 11490050_M31 17770 8 19692.00 \n", - "13520 11490050_M31 13295 9 19800.00 \n", - "13521 11490050_M31 13281 10 19860.00 \n", - "13522 11490050_M31 17289 11 19961.00 \n", - "13523 11490050_M31 13291 12 20040.00 \n", - "13524 11490050_M31 13300 13 20090.00 \n", - "13525 11490050_M31 13284 14 20202.00 \n", - "13526 11490050_M31 13283 15 20249.00 \n", - "13527 11490050_M31 17073 16 20340.00 \n", - "13528 11490050_M31 17074 17 20377.00 \n", - "13529 11490050_M31 15017 18 20410.00 \n", - "13530 11490050_M31 14620 19 20460.00 \n", - "13531 11490050_M31 14631 20 20516.00 \n", - "13532 11490050_M31 14621 21 20562.00 \n", - "13533 11490050_M31 14616 22 20585.00 \n", - "13534 11490050_M31 14628 23 20640.00 \n", - "13535 11490050_M31 14613 24 20684.00 \n", - "13536 11490050_M31 14611 25 20746.00 \n", - "13537 11490050_M31 14633 26 20796.00 \n", - "13538 11490110_M31 14614 27 23007.00 \n", - "13539 11490050_M31 14640 28 20880.00 \n", - "13540 11490050_M31 14635 29 20935.00 \n", - "13541 11490051_M31 14638 30 22183.00 \n", - "13542 11490051_M31 14623 31 22267.00 \n", - "13543 11490051_M31 14604 32 22306.00 \n", - "13544 11490111_M31 13085 33 24144.00 \n", - "13545 11490051_M31 16492 34 22369.00 \n", - "13546 11490051_M31 16487 35 22396.00 \n", - "13547 11490051_M31 16490 36 22440.00 \n", - "13548 11490051_M31 14643 37 22482.00 \n", - "13549 11490051_M31 14626 38 22541.00 \n", - "13550 11490113_M31 14608 39 25996.00 \n", - "13551 11490036_M31 17289 2 19297.00 \n", - "13552 11490036_M31 13291 3 19380.00 \n", - "13553 11490036_M31 13300 4 19430.00 \n", - "13554 11490036_M31 13284 5 19542.00 \n", - "13555 11490036_M31 13283 6 19589.00 \n", - "13556 11490036_M31 17073 7 19680.00 \n", - "13557 11490036_M31 17074 8 19736.00 \n", - "13558 11490036_M31 15017 9 19786.00 \n", - "13559 11490036_M31 14620 10 19860.00 \n", - "13560 11490036_M31 14631 11 19916.00 \n", - "13561 11490036_M31 14621 12 19962.00 \n", - "13562 11490036_M31 14616 13 19985.00 \n", - "13563 11490036_M31 14628 14 20040.00 \n", - "13564 11490036_M31 14613 15 20084.00 \n", - "13565 11490036_M31 14611 16 20146.00 \n", - "13566 11490036_M31 14633 17 20196.00 \n", - "13567 11490036_M31 14614 18 20247.00 \n", - "13568 11490036_M31 14640 19 20280.00 \n", - "13569 11490037_M31 14635 20 21535.00 \n", - "13570 11490037_M31 14638 21 21583.00 \n", - "13571 11490037_M31 14623 22 21667.00 \n", - "13572 11490037_M31 14604 23 21706.00 \n", - "13573 11490037_M31 13085 24 21744.00 \n", - "13574 11490037_M31 16492 25 21769.00 \n", - "13575 11490037_M31 16487 26 21796.00 \n", - "13576 11490037_M31 16490 27 21840.00 \n", - "13577 11490037_M31 14643 28 21896.00 \n", - "13578 11490037_M31 14626 29 21974.00 \n", - "13579 11490047_M31 17766 2 67473.00 \n", - "13580 11490047_M31 17324 3 67543.00 \n", - "13581 11490047_M31 17767 4 67615.00 \n", - "13582 11490047_M31 17865 5 67648.00 \n", - "13583 11490047_M31 17768 6 67722.00 \n", - "13584 11490047_M31 17769 7 67772.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "13438 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "13439 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "13440 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "13441 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13442 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13443 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13444 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13445 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13446 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13447 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13448 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13449 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13450 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13451 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13452 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13453 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13454 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13455 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13456 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13457 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13458 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13459 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13460 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13461 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13462 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13463 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13464 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13465 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "13466 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "13467 7cc0cb1871dfd558f11a2885c145d144 d1d3596406ffd26b7b4d935686b0e457 \n", - "13468 7cc0cb1871dfd558f11a2885c145d144 24c071114425eaa11a3e2c6233439773 \n", - "13469 7cc0cb1871dfd558f11a2885c145d144 24c071114425eaa11a3e2c6233439773 \n", - "13470 7cc0cb1871dfd558f11a2885c145d144 d34e8a8b26b0d004cf1838558d2d1295 \n", - "13471 7cc0cb1871dfd558f11a2885c145d144 d34e8a8b26b0d004cf1838558d2d1295 \n", - "13472 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13473 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13474 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", - "13475 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", - "13476 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", - "13477 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", - "13478 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", - "13479 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", - "13480 7cc0cb1871dfd558f11a2885c145d144 3cda70b9af1e8e0dcc9d9df5d738016e \n", - "13481 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13482 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13483 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13484 7cc0cb1871dfd558f11a2885c145d144 d1d3596406ffd26b7b4d935686b0e457 \n", - "13485 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13486 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13487 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13488 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13489 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13490 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13491 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13492 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13493 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13494 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13495 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13496 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13497 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13498 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13499 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13500 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13501 7cc0cb1871dfd558f11a2885c145d144 d69b2d5fc7574b90199314cddf8e673b \n", - "13502 7cc0cb1871dfd558f11a2885c145d144 4d0664d8becb5754441c8f6866d162af \n", - "13503 7cc0cb1871dfd558f11a2885c145d144 4d0664d8becb5754441c8f6866d162af \n", - "13504 7cc0cb1871dfd558f11a2885c145d144 1f4162ccf2a270a5fd579a6e40abc4f2 \n", - "13505 7cc0cb1871dfd558f11a2885c145d144 1f4162ccf2a270a5fd579a6e40abc4f2 \n", - "13506 7cc0cb1871dfd558f11a2885c145d144 1f4162ccf2a270a5fd579a6e40abc4f2 \n", - "13507 7cc0cb1871dfd558f11a2885c145d144 dd2db06e83875c5e9eb93212fc4761be \n", - "13508 7cc0cb1871dfd558f11a2885c145d144 dd2db06e83875c5e9eb93212fc4761be \n", - "13509 7cc0cb1871dfd558f11a2885c145d144 dd2db06e83875c5e9eb93212fc4761be \n", - "13510 7cc0cb1871dfd558f11a2885c145d144 90f2da63ad252223ee16676fe9c7b766 \n", - "13511 7cc0cb1871dfd558f11a2885c145d144 90f2da63ad252223ee16676fe9c7b766 \n", - "13512 7cc0cb1871dfd558f11a2885c145d144 90f2da63ad252223ee16676fe9c7b766 \n", - "13513 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13514 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13515 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13516 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13517 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13518 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13519 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13520 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13521 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13522 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13523 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13524 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13525 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13526 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13527 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13528 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13529 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13530 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13531 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13532 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13533 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13534 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13535 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13536 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13537 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13538 7cc0cb1871dfd558f11a2885c145d144 435bb30228592bdf9ea0c1bdd583f198 \n", - "13539 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13540 7cc0cb1871dfd558f11a2885c145d144 fd986222506afb5c4eb5af6ce1c7da6d \n", - "13541 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", - "13542 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", - "13543 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", - "13544 7cc0cb1871dfd558f11a2885c145d144 e2a8f36aec8f1cabf4ca727bf73a08ab \n", - "13545 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", - "13546 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", - "13547 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", - "13548 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", - "13549 7cc0cb1871dfd558f11a2885c145d144 55df941578c8f1d7745695cbbe4b2e12 \n", - "13550 7cc0cb1871dfd558f11a2885c145d144 32ce76603438e958f31799f4df8244da \n", - "13551 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13552 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13553 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13554 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13555 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13556 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13557 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13558 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13559 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13560 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13561 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13562 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13563 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13564 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13565 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13566 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13567 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13568 7cc0cb1871dfd558f11a2885c145d144 97bef7e452e70e0b39dd8267d149e38c \n", - "13569 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", - "13570 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", - "13571 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", - "13572 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", - "13573 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", - "13574 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", - "13575 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", - "13576 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", - "13577 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", - "13578 7cc0cb1871dfd558f11a2885c145d144 75b0173aee7e0dd42b99b29252f3b1ec \n", - "13579 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "13580 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "13581 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "13582 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "13583 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "13584 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "13438 69064 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13439 69067 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13440 69077 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13441 69041 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13442 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13443 69044 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13444 69046 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13445 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13446 69051 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13447 69133 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13448 69276 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13449 69283 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13450 69333 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13451 69752 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13452 69753 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13453 69756 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13454 69758 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13455 69761 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13456 69764 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13457 69783 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13458 70021 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13459 70028 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13460 70175 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13461 70187 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13462 70211 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13463 70363 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13464 70380 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13465 70666 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13466 70831 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "13467 22761 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13468 27885 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13469 27837 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13470 32493 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13471 32639 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13472 22812 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13473 22813 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13474 21475 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13475 21477 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13476 21478 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13477 21480 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13478 21482 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13479 21485 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13480 21490 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13481 22820 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13482 22821 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13483 22822 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13484 23564 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13485 22823 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13486 22824 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13487 22825 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13488 22916 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13489 22989 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13490 23051 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13491 23061 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13492 23069 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13493 23354 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13494 23361 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13495 23375 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13496 23391 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13497 23406 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13498 23636 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13499 23649 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13500 23938 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13501 23945 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13502 25560 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13503 25639 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13504 28091 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13505 28095 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13506 28102 22 2fe09ae2c449928945abe662a855ffb2 \n", - "13507 18685 22 62b7db9e9a7562bbfe649736b913f9c8 \n", - "13508 18721 22 62b7db9e9a7562bbfe649736b913f9c8 \n", - "13509 18741 22 62b7db9e9a7562bbfe649736b913f9c8 \n", - "13510 20202 22 62b7db9e9a7562bbfe649736b913f9c8 \n", - "13511 20203 22 62b7db9e9a7562bbfe649736b913f9c8 \n", - "13512 20207 22 62b7db9e9a7562bbfe649736b913f9c8 \n", - "13513 19333 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13514 19340 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13515 19358 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13516 19869 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13517 19874 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13518 19877 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13519 19880 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13520 19885 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13521 19888 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13522 19894 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13523 19898 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13524 20146 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13525 20157 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13526 20162 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13527 20171 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13528 20273 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13529 20285 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13530 20303 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13531 20783 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13532 21179 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13533 21180 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13534 21181 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13535 21182 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13536 21183 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13537 21184 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13538 23403 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13539 21185 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13540 21187 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13541 22405 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13542 22523 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13543 22611 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13544 24500 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13545 22756 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13546 22758 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13547 22759 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13548 22763 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13549 22864 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13550 26135 22 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 \n", - "13551 19809 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13552 19814 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13553 19816 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13554 19822 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13555 19824 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13556 19829 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13557 19832 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13558 19834 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13559 19837 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13560 20301 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13561 20304 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13562 20305 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13563 20306 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13564 20308 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13565 20310 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13566 20312 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13567 20314 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13568 20315 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13569 22266 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13570 22522 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13571 22524 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13572 22525 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13573 22526 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13574 22527 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13575 22528 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13576 22529 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13577 22530 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13578 22532 22 498b9a001056ce2b83bdc7e8ca01473f \n", - "13579 67598 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "13580 67612 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "13581 67762 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "13582 67832 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "13583 67988 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "13584 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "13438 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13439 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13440 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13441 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13442 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13443 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13444 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13445 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13446 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13447 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13448 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13449 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13450 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13451 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13452 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13453 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13454 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13455 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13456 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13457 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13458 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13459 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13460 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13461 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13462 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13463 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13464 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13465 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13466 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13467 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13468 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13469 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13470 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13471 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13472 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13473 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13474 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13475 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13476 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13477 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13478 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13479 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13480 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13481 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13482 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13483 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13484 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13485 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13486 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13487 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13488 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13489 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13490 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13491 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13492 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13493 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13494 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13495 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13496 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13497 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13498 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13499 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13500 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13501 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13502 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13503 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13504 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13505 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13506 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13507 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13508 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13509 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13510 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13511 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13512 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "13513 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13514 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13515 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13516 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13517 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13518 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13519 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13520 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13521 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13522 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13523 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13524 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13525 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13526 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13527 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13528 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13529 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13530 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13531 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13532 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13533 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13534 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13535 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13536 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13537 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13538 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13539 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13540 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13541 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13542 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13543 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13544 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13545 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13546 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13547 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13548 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13549 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13550 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13551 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13552 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13553 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13554 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13555 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13556 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13557 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13558 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13559 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13560 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13561 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13562 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13563 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13564 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13565 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13566 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13567 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13568 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13569 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13570 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13571 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13572 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13573 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13574 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13575 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13576 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13577 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13578 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13579 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13580 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13581 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13582 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13583 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "13584 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay schd_headway \\\n", - "13438 Southbound 7.61 161.00 2280.00 \n", - "13439 Southbound 7.61 -53.00 360.00 \n", - "13440 Southbound 7.61 -98.00 360.00 \n", - "13441 Southbound 7.61 115.00 1920.00 \n", - "13442 Southbound 7.61 43.00 1920.00 \n", - "13443 Southbound 7.61 21.00 1917.00 \n", - "13444 Southbound 7.61 -20.00 1912.00 \n", - "13445 Southbound 7.61 -58.00 1907.00 \n", - "13446 Southbound 7.61 -113.00 1900.00 \n", - "13447 Southbound 7.61 -84.00 1893.00 \n", - "13448 Southbound 7.61 -32.00 1881.00 \n", - "13449 Southbound 7.61 -108.00 1871.00 \n", - "13450 Southbound 7.61 -147.00 1860.00 \n", - "13451 Southbound 7.61 165.00 1860.00 \n", - "13452 Southbound 7.61 109.00 1860.00 \n", - "13453 Southbound 7.61 24.00 1860.00 \n", - "13454 Southbound 7.61 -51.00 1860.00 \n", - "13455 Southbound 7.61 -139.00 1860.00 \n", - "13456 Southbound 7.61 -214.00 1860.00 \n", - "13457 Southbound 7.61 -261.00 1860.00 \n", - "13458 Southbound 7.61 -119.00 1860.00 \n", - "13459 Southbound 7.61 -172.00 1860.00 \n", - "13460 Southbound 7.61 -118.00 1860.00 \n", - "13461 Southbound 7.61 -157.00 1860.00 \n", - "13462 Southbound 7.61 -229.00 1860.00 \n", - "13463 Southbound 7.61 -203.00 1860.00 \n", - "13464 Southbound 7.61 -281.00 1860.00 \n", - "13465 Southbound 7.61 -154.00 1860.00 \n", - "13466 Southbound 7.61 -449.00 2220.00 \n", - "13467 Southbound 7.61 184.00 2460.00 \n", - "13468 Southbound 7.61 1.00 1080.00 \n", - "13469 Southbound 7.61 -75.00 1080.00 \n", - "13470 Southbound 7.61 193.00 3240.00 \n", - "13471 Southbound 7.61 300.00 3240.00 \n", - "13472 Southbound 7.61 792.00 840.00 \n", - "13473 Southbound 7.61 766.00 1740.00 \n", - "13474 Southbound 7.61 212.00 900.00 \n", - "13475 Southbound 7.61 177.00 900.00 \n", - "13476 Southbound 7.61 161.00 900.00 \n", - "13477 Southbound 7.61 131.00 900.00 \n", - "13478 Southbound 7.61 103.00 900.00 \n", - "13479 Southbound 7.61 62.00 900.00 \n", - "13480 Southbound 7.61 28.00 900.00 \n", - "13481 Southbound 7.61 449.00 840.00 \n", - "13482 Southbound 7.61 388.00 840.00 \n", - "13483 Southbound 7.61 322.00 840.00 \n", - "13484 Southbound 7.61 268.00 1575.00 \n", - "13485 Southbound 7.61 230.00 840.00 \n", - "13486 Southbound 7.61 180.00 840.00 \n", - "13487 Southbound 7.61 137.00 840.00 \n", - "13488 Southbound 7.61 176.00 840.00 \n", - "13489 Southbound 7.61 203.00 840.00 \n", - "13490 Southbound 7.61 225.00 840.00 \n", - "13491 Southbound 7.61 177.00 840.00 \n", - "13492 Southbound 7.61 149.00 840.00 \n", - "13493 Southbound 7.61 364.00 840.00 \n", - "13494 Southbound 7.61 333.00 840.00 \n", - "13495 Southbound 7.61 275.00 840.00 \n", - "13496 Southbound 7.61 212.00 840.00 \n", - "13497 Southbound 7.61 168.00 840.00 \n", - "13498 Southbound 7.61 299.00 840.00 \n", - "13499 Southbound 7.61 249.00 840.00 \n", - "13500 Southbound 7.61 464.00 840.00 \n", - "13501 Southbound 7.61 365.00 840.00 \n", - "13502 Southbound 7.61 360.00 720.00 \n", - "13503 Southbound 7.61 319.00 720.00 \n", - "13504 Southbound 7.61 537.00 2880.00 \n", - "13505 Southbound 7.61 468.00 2880.00 \n", - "13506 Southbound 7.61 361.00 2880.00 \n", - "13507 Southbound 7.61 75.00 1200.00 \n", - "13508 Southbound 7.61 66.00 1200.00 \n", - "13509 Southbound 7.61 42.00 1200.00 \n", - "13510 Southbound 7.61 235.00 1200.00 \n", - "13511 Southbound 7.61 209.00 1200.00 \n", - "13512 Southbound 7.61 147.00 1200.00 \n", - "13513 Northbound 7.60 36.00 1200.00 \n", - "13514 Northbound 7.60 -36.00 1200.00 \n", - "13515 Northbound 7.60 -99.00 1200.00 \n", - "13516 Northbound 7.60 375.00 1200.00 \n", - "13517 Northbound 7.60 297.00 1200.00 \n", - "13518 Northbound 7.60 244.00 1200.00 \n", - "13519 Northbound 7.60 188.00 1200.00 \n", - "13520 Northbound 7.60 85.00 1200.00 \n", - "13521 Northbound 7.60 28.00 1200.00 \n", - "13522 Northbound 7.60 -67.00 1200.00 \n", - "13523 Northbound 7.60 -142.00 1200.00 \n", - "13524 Northbound 7.60 56.00 1200.00 \n", - "13525 Northbound 7.60 -45.00 1200.00 \n", - "13526 Northbound 7.60 -87.00 1200.00 \n", - "13527 Northbound 7.60 -169.00 1200.00 \n", - "13528 Northbound 7.60 -104.00 1200.00 \n", - "13529 Northbound 7.60 -125.00 1200.00 \n", - "13530 Northbound 7.60 -157.00 1200.00 \n", - "13531 Northbound 7.60 267.00 1200.00 \n", - "13532 Northbound 7.60 617.00 1200.00 \n", - "13533 Northbound 7.60 595.00 1200.00 \n", - "13534 Northbound 7.60 541.00 1200.00 \n", - "13535 Northbound 7.60 498.00 1200.00 \n", - "13536 Northbound 7.60 437.00 1200.00 \n", - "13537 Northbound 7.60 388.00 1200.00 \n", - "13538 Northbound 7.60 396.00 3360.00 \n", - "13539 Northbound 7.60 305.00 1200.00 \n", - "13540 Northbound 7.60 252.00 1200.00 \n", - "13541 Northbound 7.60 222.00 1200.00 \n", - "13542 Northbound 7.60 256.00 1200.00 \n", - "13543 Northbound 7.60 305.00 1200.00 \n", - "13544 Northbound 7.60 356.00 1800.00 \n", - "13545 Northbound 7.60 387.00 1200.00 \n", - "13546 Northbound 7.60 362.00 1200.00 \n", - "13547 Northbound 7.60 319.00 1200.00 \n", - "13548 Northbound 7.60 281.00 1200.00 \n", - "13549 Northbound 7.60 323.00 1200.00 \n", - "13550 Northbound 7.60 139.00 3420.00 \n", - "13551 Northbound 7.60 512.00 1380.00 \n", - "13552 Northbound 7.60 434.00 1380.00 \n", - "13553 Northbound 7.60 386.00 1390.00 \n", - "13554 Northbound 7.60 280.00 1413.00 \n", - "13555 Northbound 7.60 235.00 1422.00 \n", - "13556 Northbound 7.60 149.00 1440.00 \n", - "13557 Northbound 7.60 96.00 1440.00 \n", - "13558 Northbound 7.60 48.00 1440.00 \n", - "13559 Northbound 7.60 -23.00 1440.00 \n", - "13560 Northbound 7.60 385.00 1440.00 \n", - "13561 Northbound 7.60 342.00 1440.00 \n", - "13562 Northbound 7.60 320.00 1440.00 \n", - "13563 Northbound 7.60 266.00 1440.00 \n", - "13564 Northbound 7.60 224.00 1440.00 \n", - "13565 Northbound 7.60 164.00 1440.00 \n", - "13566 Northbound 7.60 116.00 1440.00 \n", - "13567 Northbound 7.60 67.00 1440.00 \n", - "13568 Northbound 7.60 35.00 1440.00 \n", - "13569 Northbound 7.60 731.00 2649.00 \n", - "13570 Northbound 7.60 939.00 2657.00 \n", - "13571 Northbound 7.60 857.00 2671.00 \n", - "13572 Northbound 7.60 819.00 2677.00 \n", - "13573 Northbound 7.60 782.00 2684.00 \n", - "13574 Northbound 7.60 758.00 2688.00 \n", - "13575 Northbound 7.60 732.00 2693.00 \n", - "13576 Northbound 7.60 689.00 2700.00 \n", - "13577 Northbound 7.60 634.00 2700.00 \n", - "13578 Northbound 7.60 558.00 2700.00 \n", - "13579 Northbound 7.60 125.00 26032.00 \n", - "13580 Northbound 7.60 69.00 26014.00 \n", - "13581 Northbound 7.60 147.00 25997.00 \n", - "13582 Northbound 7.60 184.00 25988.00 \n", - "13583 Northbound 7.60 266.00 25969.00 \n", - "13584 Northbound 7.60 315.00 25957.00 \n", - "\n", - " avg_schd_headway_sec std_dev_headway bunching_coefficient \\\n", - "13438 1750.80 859.58 0.49 \n", - "13439 1356.00 987.75 0.73 \n", - "13440 1356.00 1338.73 0.99 \n", - "13441 1450.00 1193.62 0.82 \n", - "13442 1450.00 1055.87 0.73 \n", - "13443 1449.00 984.31 0.68 \n", - "13444 1447.33 969.72 0.67 \n", - "13445 1445.50 960.66 0.66 \n", - "13446 1443.17 1062.23 0.74 \n", - "13447 1441.00 967.76 0.67 \n", - "13448 1437.17 1001.17 0.70 \n", - "13449 1433.67 886.53 0.62 \n", - "13450 1430.00 803.93 0.56 \n", - "13451 1427.50 941.18 0.66 \n", - "13452 1426.00 932.35 0.65 \n", - "13453 1424.00 930.60 0.65 \n", - "13454 1422.17 917.04 0.64 \n", - "13455 1420.00 890.35 0.63 \n", - "13456 1417.33 842.14 0.59 \n", - "13457 1415.17 853.78 0.60 \n", - "13458 1412.00 877.26 0.62 \n", - "13459 1410.00 847.24 0.60 \n", - "13460 1410.00 894.36 0.63 \n", - "13461 1410.00 889.16 0.63 \n", - "13462 1410.00 816.53 0.58 \n", - "13463 1747.25 2038.94 1.17 \n", - "13464 1741.25 2009.71 1.15 \n", - "13465 1731.25 2018.87 1.17 \n", - "13466 2300.00 1964.53 0.85 \n", - "13467 667.41 607.17 0.91 \n", - "13468 2847.00 3207.45 1.13 \n", - "13469 3163.33 3716.39 1.17 \n", - "13470 4080.00 2585.23 0.63 \n", - "13471 2448.00 2267.96 0.93 \n", - "13472 670.11 697.52 1.04 \n", - "13473 541.11 585.82 1.08 \n", - "13474 488.81 490.90 1.00 \n", - "13475 537.05 473.99 0.88 \n", - "13476 488.96 447.40 0.92 \n", - "13477 474.78 510.22 1.07 \n", - "13478 478.25 465.59 0.97 \n", - "13479 481.76 506.55 1.05 \n", - "13480 478.25 460.54 0.96 \n", - "13481 471.68 456.52 0.97 \n", - "13482 475.15 440.51 0.93 \n", - "13483 493.28 433.74 0.88 \n", - "13484 505.09 429.18 0.85 \n", - "13485 514.25 454.35 0.88 \n", - "13486 502.30 418.43 0.83 \n", - "13487 487.13 428.07 0.88 \n", - "13488 487.33 398.89 0.82 \n", - "13489 483.76 428.27 0.89 \n", - "13490 483.86 415.21 0.86 \n", - "13491 495.26 441.33 0.89 \n", - "13492 491.54 461.85 0.94 \n", - "13493 476.69 477.07 1.00 \n", - "13494 480.18 465.28 0.97 \n", - "13495 483.64 480.04 0.99 \n", - "13496 510.72 504.53 0.99 \n", - "13497 514.84 463.11 0.90 \n", - "13498 502.68 451.79 0.90 \n", - "13499 503.52 471.39 0.94 \n", - "13500 528.91 491.23 0.93 \n", - "13501 547.30 522.61 0.95 \n", - "13502 638.12 670.02 1.05 \n", - "13503 685.95 609.84 0.89 \n", - "13504 784.65 726.81 0.93 \n", - "13505 949.60 901.10 0.95 \n", - "13506 1288.17 1136.06 0.88 \n", - "13507 1998.00 1930.33 0.97 \n", - "13508 2285.57 2086.17 0.91 \n", - "13509 2001.62 1915.69 0.96 \n", - "13510 2119.43 2074.16 0.98 \n", - "13511 2120.71 2127.13 1.00 \n", - "13512 2203.50 2721.05 1.23 \n", - "13513 494.23 774.16 1.57 \n", - "13514 522.41 662.84 1.27 \n", - "13515 548.52 673.53 1.23 \n", - "13516 490.09 579.19 1.18 \n", - "13517 493.54 458.91 0.93 \n", - "13518 465.61 497.40 1.07 \n", - "13519 472.11 474.28 1.00 \n", - "13520 485.74 501.37 1.03 \n", - "13521 475.25 562.81 1.18 \n", - "13522 500.45 595.67 1.19 \n", - "13523 500.45 571.38 1.14 \n", - "13524 500.38 529.74 1.06 \n", - "13525 504.02 559.89 1.11 \n", - "13526 511.77 589.86 1.15 \n", - "13527 515.62 569.04 1.10 \n", - "13528 507.69 578.80 1.14 \n", - "13529 511.63 588.33 1.15 \n", - "13530 500.00 637.63 1.28 \n", - "13531 503.96 602.80 1.20 \n", - "13532 519.96 553.41 1.06 \n", - "13533 524.14 565.72 1.08 \n", - "13534 528.48 541.85 1.03 \n", - "13535 532.83 599.57 1.13 \n", - "13536 528.70 542.01 1.03 \n", - "13537 537.39 531.92 0.99 \n", - "13538 546.38 587.42 1.08 \n", - "13539 533.23 498.35 0.93 \n", - "13540 546.37 507.60 0.93 \n", - "13541 573.66 526.24 0.92 \n", - "13542 576.48 517.80 0.90 \n", - "13543 587.00 547.59 0.93 \n", - "13544 640.57 587.36 0.92 \n", - "13545 603.51 556.83 0.92 \n", - "13546 673.34 596.40 0.89 \n", - "13547 752.47 602.34 0.80 \n", - "13548 1048.52 996.68 0.95 \n", - "13549 1142.14 1083.96 0.95 \n", - "13550 3536.00 2775.64 0.78 \n", - "13551 1180.44 1271.49 1.08 \n", - "13552 2310.00 1951.50 0.84 \n", - "13553 1785.00 1202.44 0.67 \n", - "13554 1197.56 1059.36 0.88 \n", - "13555 1200.56 1059.23 0.88 \n", - "13556 1206.67 1062.96 0.88 \n", - "13557 1208.78 1057.16 0.87 \n", - "13558 1210.56 1046.98 0.86 \n", - "13559 1213.33 1039.30 0.86 \n", - "13560 1217.56 1006.33 0.83 \n", - "13561 1221.00 1000.55 0.82 \n", - "13562 1222.67 977.23 0.80 \n", - "13563 1226.67 971.52 0.79 \n", - "13564 1229.11 962.78 0.78 \n", - "13565 1386.75 1154.44 0.83 \n", - "13566 1389.75 1133.43 0.82 \n", - "13567 1607.33 1269.40 0.79 \n", - "13568 1610.00 1944.43 1.21 \n", - "13569 1597.00 1277.63 0.80 \n", - "13570 1599.14 1254.37 0.78 \n", - "13571 1603.29 1282.64 0.80 \n", - "13572 1605.00 1314.58 0.82 \n", - "13573 1606.86 1345.90 0.84 \n", - "13574 1608.14 1345.93 0.84 \n", - "13575 1609.43 1346.13 0.84 \n", - "13576 1880.00 1414.44 0.75 \n", - "13577 3044.67 858.81 0.28 \n", - "13578 3570.00 547.30 0.15 \n", - "13579 10060.75 11234.06 1.12 \n", - "13580 10052.00 11137.09 1.11 \n", - "13581 10043.25 11127.56 1.11 \n", - "13582 10039.00 11171.84 1.11 \n", - "13583 10029.50 11270.50 1.12 \n", - "13584 10023.50 11333.78 1.13 \n", - "\n", - " avg_schd_headway_min passenger_op_perspective \n", - "13438 29.18 Irregular headways, with some bunching \n", - "13439 22.60 Frequent bunching \n", - "13440 22.60 Most vehicles bunched \n", - "13441 24.17 Most vehicles bunched \n", - "13442 24.17 Frequent bunching \n", - "13443 24.15 Frequent bunching \n", - "13444 24.12 Frequent bunching \n", - "13445 24.09 Frequent bunching \n", - "13446 24.05 Frequent bunching \n", - "13447 24.02 Frequent bunching \n", - "13448 23.95 Frequent bunching \n", - "13449 23.89 Frequent bunching \n", - "13450 23.83 Frequent bunching \n", - "13451 23.79 Frequent bunching \n", - "13452 23.77 Frequent bunching \n", - "13453 23.73 Frequent bunching \n", - "13454 23.70 Frequent bunching \n", - "13455 23.67 Frequent bunching \n", - "13456 23.62 Frequent bunching \n", - "13457 23.59 Frequent bunching \n", - "13458 23.53 Frequent bunching \n", - "13459 23.50 Frequent bunching \n", - "13460 23.50 Frequent bunching \n", - "13461 23.50 Frequent bunching \n", - "13462 23.50 Frequent bunching \n", - "13463 29.12 Most vehicles bunched \n", - "13464 29.02 Most vehicles bunched \n", - "13465 28.85 Most vehicles bunched \n", - "13466 38.33 Most vehicles bunched \n", - "13467 11.12 Most vehicles bunched \n", - "13468 47.45 Most vehicles bunched \n", - "13469 52.72 Most vehicles bunched \n", - "13470 68.00 Frequent bunching \n", - "13471 40.80 Most vehicles bunched \n", - "13472 11.17 Most vehicles bunched \n", - "13473 9.02 Most vehicles bunched \n", - "13474 8.15 Most vehicles bunched \n", - "13475 8.95 Most vehicles bunched \n", - "13476 8.15 Most vehicles bunched \n", - "13477 7.91 Most vehicles bunched \n", - "13478 7.97 Most vehicles bunched \n", - "13479 8.03 Most vehicles bunched \n", - "13480 7.97 Most vehicles bunched \n", - "13481 7.86 Most vehicles bunched \n", - "13482 7.92 Most vehicles bunched \n", - "13483 8.22 Most vehicles bunched \n", - "13484 8.42 Most vehicles bunched \n", - "13485 8.57 Most vehicles bunched \n", - "13486 8.37 Most vehicles bunched \n", - "13487 8.12 Most vehicles bunched \n", - "13488 8.12 Most vehicles bunched \n", - "13489 8.06 Most vehicles bunched \n", - "13490 8.06 Most vehicles bunched \n", - "13491 8.25 Most vehicles bunched \n", - "13492 8.19 Most vehicles bunched \n", - "13493 7.94 Most vehicles bunched \n", - "13494 8.00 Most vehicles bunched \n", - "13495 8.06 Most vehicles bunched \n", - "13496 8.51 Most vehicles bunched \n", - "13497 8.58 Most vehicles bunched \n", - "13498 8.38 Most vehicles bunched \n", - "13499 8.39 Most vehicles bunched \n", - "13500 8.82 Most vehicles bunched \n", - "13501 9.12 Most vehicles bunched \n", - "13502 10.64 Most vehicles bunched \n", - "13503 11.43 Most vehicles bunched \n", - "13504 13.08 Most vehicles bunched \n", - "13505 15.83 Most vehicles bunched \n", - "13506 21.47 Most vehicles bunched \n", - "13507 33.30 Most vehicles bunched \n", - "13508 38.09 Most vehicles bunched \n", - "13509 33.36 Most vehicles bunched \n", - "13510 35.32 Most vehicles bunched \n", - "13511 35.35 Most vehicles bunched \n", - "13512 36.73 Most vehicles bunched \n", - "13513 8.24 Most vehicles bunched \n", - "13514 8.71 Most vehicles bunched \n", - "13515 9.14 Most vehicles bunched \n", - "13516 8.17 Most vehicles bunched \n", - "13517 8.23 Most vehicles bunched \n", - "13518 7.76 Most vehicles bunched \n", - "13519 7.87 Most vehicles bunched \n", - "13520 8.10 Most vehicles bunched \n", - "13521 7.92 Most vehicles bunched \n", - "13522 8.34 Most vehicles bunched \n", - "13523 8.34 Most vehicles bunched \n", - "13524 8.34 Most vehicles bunched \n", - "13525 8.40 Most vehicles bunched \n", - "13526 8.53 Most vehicles bunched \n", - "13527 8.59 Most vehicles bunched \n", - "13528 8.46 Most vehicles bunched \n", - "13529 8.53 Most vehicles bunched \n", - "13530 8.33 Most vehicles bunched \n", - "13531 8.40 Most vehicles bunched \n", - "13532 8.67 Most vehicles bunched \n", - "13533 8.74 Most vehicles bunched \n", - "13534 8.81 Most vehicles bunched \n", - "13535 8.88 Most vehicles bunched \n", - "13536 8.81 Most vehicles bunched \n", - "13537 8.96 Most vehicles bunched \n", - "13538 9.11 Most vehicles bunched \n", - "13539 8.89 Most vehicles bunched \n", - "13540 9.11 Most vehicles bunched \n", - "13541 9.56 Most vehicles bunched \n", - "13542 9.61 Most vehicles bunched \n", - "13543 9.78 Most vehicles bunched \n", - "13544 10.68 Most vehicles bunched \n", - "13545 10.06 Most vehicles bunched \n", - "13546 11.22 Most vehicles bunched \n", - "13547 12.54 Most vehicles bunched \n", - "13548 17.48 Most vehicles bunched \n", - "13549 19.04 Most vehicles bunched \n", - "13550 58.93 Most vehicles bunched \n", - "13551 19.67 Most vehicles bunched \n", - "13552 38.50 Most vehicles bunched \n", - "13553 29.75 Frequent bunching \n", - "13554 19.96 Most vehicles bunched \n", - "13555 20.01 Most vehicles bunched \n", - "13556 20.11 Most vehicles bunched \n", - "13557 20.15 Most vehicles bunched \n", - "13558 20.18 Most vehicles bunched \n", - "13559 20.22 Most vehicles bunched \n", - "13560 20.29 Most vehicles bunched \n", - "13561 20.35 Most vehicles bunched \n", - "13562 20.38 Most vehicles bunched \n", - "13563 20.44 Most vehicles bunched \n", - "13564 20.49 Most vehicles bunched \n", - "13565 23.11 Most vehicles bunched \n", - "13566 23.16 Most vehicles bunched \n", - "13567 26.79 Most vehicles bunched \n", - "13568 26.83 Most vehicles bunched \n", - "13569 26.62 Most vehicles bunched \n", - "13570 26.65 Most vehicles bunched \n", - "13571 26.72 Most vehicles bunched \n", - "13572 26.75 Most vehicles bunched \n", - "13573 26.78 Most vehicles bunched \n", - "13574 26.80 Most vehicles bunched \n", - "13575 26.82 Most vehicles bunched \n", - "13576 31.33 Most vehicles bunched \n", - "13577 50.74 Vehicles slightly off headway \n", - "13578 59.50 Service provided like clockwork \n", - "13579 167.68 Most vehicles bunched \n", - "13580 167.53 Most vehicles bunched \n", - "13581 167.39 Most vehicles bunched \n", - "13582 167.32 Most vehicles bunched \n", - "13583 167.16 Most vehicles bunched \n", - "13584 167.06 Most vehicles bunched " - ] - }, - "execution_count": 103, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "fillmore" - ] - }, - { - "cell_type": "markdown", - "id": "fb80489d-124b-4331-9b31-f6950c882bde", - "metadata": {}, - "source": [ - "#### Test 1: What do you do with scheduled headways that are pretty extreme compared to the other rows?\n", - "* One headway is scheduled for 7 hours?" - ] - }, - { - "cell_type": "code", - "execution_count": 104, - "id": "dc7dfad6-3972-4a84-8524-fec4f7beb9bf", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "7.266666666666667" - ] - }, - "execution_count": 104, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "436 / 60" - ] - }, - { - "cell_type": "code", - "execution_count": 105, - "id": "6f817056-5594-45d1-9bfa-fdd1343fbea7", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headwayavg_schd_headway_secstd_dev_headwaybunching_coefficientavg_schd_headway_minactual_headway_minsched_headway_min
44391711490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60315.0026178.0025957.0010023.5011333.781.13167.06436.30432.62
44391811490090_M3117769772092.007cc0cb1871dfd558f11a2885c145d1446aaf49dfccb82109a1f77471fee6e43a7168922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-403.003602.004320.0010023.5011333.781.13167.0660.0372.00
44391911490091_M3117769773892.007cc0cb1871dfd558f11a2885c145d144e8ff0c3ae23fd4ba4ab3d251d0c110697269022fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-1202.001001.001800.0010023.5011333.781.13167.0616.6830.00
44392011490099_M3117769781909.007cc0cb1871dfd558f11a2885c145d1442c824de8cf7a1b5338f76d2501e6ebd58134922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-560.008659.008017.0010023.5011333.781.13167.06144.32133.62
\n", - "
" - ], - "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "443917 11490047_M31 17769 7 67772.00 \n", - "443918 11490090_M31 17769 7 72092.00 \n", - "443919 11490091_M31 17769 7 73892.00 \n", - "443920 11490099_M31 17769 7 81909.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "443917 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "443918 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", - "443919 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", - "443920 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "443917 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "443918 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "443919 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "443920 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "443917 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "443918 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "443919 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "443920 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "443917 Northbound 7.60 315.00 26178.00 \n", - "443918 Northbound 7.60 -403.00 3602.00 \n", - "443919 Northbound 7.60 -1202.00 1001.00 \n", - "443920 Northbound 7.60 -560.00 8659.00 \n", - "\n", - " schd_headway avg_schd_headway_sec std_dev_headway \\\n", - "443917 25957.00 10023.50 11333.78 \n", - "443918 4320.00 10023.50 11333.78 \n", - "443919 1800.00 10023.50 11333.78 \n", - "443920 8017.00 10023.50 11333.78 \n", - "\n", - " bunching_coefficient avg_schd_headway_min actual_headway_min \\\n", - "443917 1.13 167.06 436.30 \n", - "443918 1.13 167.06 60.03 \n", - "443919 1.13 167.06 16.68 \n", - "443920 1.13 167.06 144.32 \n", - "\n", - " sched_headway_min \n", - "443917 432.62 \n", - "443918 72.00 \n", - "443919 30.00 \n", - "443920 133.62 " - ] - }, - "execution_count": 105, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "m2.loc[\n", - " (m2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (m2.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", - " & (m2.route_id == \"22\")\n", - " & (m2.direction_id == 1)\n", - " & (m2.stop_id == \"17769\")\n", - "]" - ] - }, - { - "cell_type": "code", - "execution_count": 106, - "id": "5139303d-7405-46c8-b789-5a1926a04f00", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
52887511490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
52975311490091_M3117769773892.007cc0cb1871dfd558f11a2885c145d144e8ff0c3ae23fd4ba4ab3d251d0c110697269022fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
55618911490099_M3117769781909.007cc0cb1871dfd558f11a2885c145d1442c824de8cf7a1b5338f76d2501e6ebd58134922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
68895511490090_M3117769772092.007cc0cb1871dfd558f11a2885c145d1446aaf49dfccb82109a1f77471fee6e43a7168922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
68907311490074_M3117769741815.007cc0cb1871dfd558f11a2885c145d14459dbf32fbb998fc9837ad6fe10146b644190922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
\n", - "
" - ], - "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "528875 11490047_M31 17769 7 67772.00 \n", - "529753 11490091_M31 17769 7 73892.00 \n", - "556189 11490099_M31 17769 7 81909.00 \n", - "688955 11490090_M31 17769 7 72092.00 \n", - "689073 11490074_M31 17769 7 41815.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "528875 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "529753 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", - "556189 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", - "688955 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", - "689073 7cc0cb1871dfd558f11a2885c145d144 59dbf32fbb998fc9837ad6fe10146b64 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "528875 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "529753 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "556189 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "688955 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "689073 41909 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "528875 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "529753 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "556189 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "688955 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "689073 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "\n", - " route_primary_direction frequency_in_minutes \n", - "528875 Northbound 7.60 \n", - "529753 Northbound 7.60 \n", - "556189 Northbound 7.60 \n", - "688955 Northbound 7.60 \n", - "689073 Northbound 7.60 " - ] - }, - "execution_count": 106, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times2.loc[\n", - " (rt_stop_times2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (rt_stop_times2.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", - " & (rt_stop_times2.route_id == \"22\")\n", - " & (rt_stop_times2.direction_id == 1)\n", - " & (rt_stop_times2.stop_id == \"17769\")\n", - "]" - ] - }, - { - "cell_type": "code", - "execution_count": 107, - "id": "439550dd-7c0b-42df-9696-df40111a54c4", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
50853611490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
50936611490091_M3117769773892.007cc0cb1871dfd558f11a2885c145d144e8ff0c3ae23fd4ba4ab3d251d0c110697269022fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
53453811490099_M3117769781909.007cc0cb1871dfd558f11a2885c145d1442c824de8cf7a1b5338f76d2501e6ebd58134922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
66154511490090_M3117769772092.007cc0cb1871dfd558f11a2885c145d1446aaf49dfccb82109a1f77471fee6e43a7168922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
66166311490074_M3117769741815.007cc0cb1871dfd558f11a2885c145d14459dbf32fbb998fc9837ad6fe10146b644190922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60
\n", - "
" - ], - "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "508536 11490047_M31 17769 7 67772.00 \n", - "509366 11490091_M31 17769 7 73892.00 \n", - "534538 11490099_M31 17769 7 81909.00 \n", - "661545 11490090_M31 17769 7 72092.00 \n", - "661663 11490074_M31 17769 7 41815.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "508536 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "509366 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", - "534538 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", - "661545 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", - "661663 7cc0cb1871dfd558f11a2885c145d144 59dbf32fbb998fc9837ad6fe10146b64 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "508536 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "509366 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "534538 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "661545 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "661663 41909 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "508536 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "509366 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "534538 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "661545 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "661663 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "\n", - " route_primary_direction frequency_in_minutes \n", - "508536 Northbound 7.60 \n", - "509366 Northbound 7.60 \n", - "534538 Northbound 7.60 \n", - "661545 Northbound 7.60 \n", - "661663 Northbound 7.60 " - ] - }, - "execution_count": 107, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "rt_stop_times3.loc[\n", - " (rt_stop_times3.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (rt_stop_times3.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", - " & (rt_stop_times3.route_id == \"22\")\n", - " & (rt_stop_times3.direction_id == 1)\n", - " & (rt_stop_times3.stop_id == \"17769\")\n", - "]" - ] - }, - { - "cell_type": "code", - "execution_count": 108, - "id": "46168b64-d96c-4cfa-854a-54c18d4c9ad9", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + "metadata": {}, + "source": [ + "#### Check out one route" + ] + }, + { + "cell_type": "code", + "execution_count": 112, + "id": "5508346c-442a-4f22-9bc3-1037cb1e727b", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelay
46215511490074_M3117769741815.007cc0cb1871dfd558f11a2885c145d14459dbf32fbb998fc9837ad6fe10146b644190922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.6094.00
46215611490047_M3117769767772.007cc0cb1871dfd558f11a2885c145d14451672d1ed74ce3e66e4bfc273e6e99316808722fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60315.00
46215711490090_M3117769772092.007cc0cb1871dfd558f11a2885c145d1446aaf49dfccb82109a1f77471fee6e43a7168922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-403.00
46215811490091_M3117769773892.007cc0cb1871dfd558f11a2885c145d144e8ff0c3ae23fd4ba4ab3d251d0c110697269022fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-1202.00
46215911490099_M3117769781909.007cc0cb1871dfd558f11a2885c145d1442c824de8cf7a1b5338f76d2501e6ebd58134922fefbc78a6cf676d7fbd1d25b61ef7bfb7f69c2fdaa134642f14064a0b64d1495FILLMORE1.00Northbound7.60-560.00
\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", "
" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "462155 11490074_M31 17769 7 41815.00 \n", - "462156 11490047_M31 17769 7 67772.00 \n", - "462157 11490090_M31 17769 7 72092.00 \n", - "462158 11490091_M31 17769 7 73892.00 \n", - "462159 11490099_M31 17769 7 81909.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "462155 7cc0cb1871dfd558f11a2885c145d144 59dbf32fbb998fc9837ad6fe10146b64 \n", - "462156 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "462157 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", - "462158 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", - "462159 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "462155 41909 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "462156 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "462157 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "462158 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "462159 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "462155 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "462156 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "462157 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "462158 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "462159 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay \n", - "462155 Northbound 7.60 94.00 \n", - "462156 Northbound 7.60 315.00 \n", - "462157 Northbound 7.60 -403.00 \n", - "462158 Northbound 7.60 -1202.00 \n", - "462159 Northbound 7.60 -560.00 " + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", + "Index: []" ] }, - "execution_count": 108, + "execution_count": 112, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times4.loc[\n", - " (rt_stop_times4.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (rt_stop_times4.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", - " & (rt_stop_times4.route_id == \"22\")\n", - " & (rt_stop_times4.direction_id == 1)\n", - " & (rt_stop_times4.stop_id == \"17769\")\n", - "]" + "rt_stop_times2.loc[rt_stop_times2.route_id == \"West Field Garage\"].head(1)" ] }, { "cell_type": "code", - "execution_count": 109, - "id": "29965fba-547b-4176-9844-f3bd8f56e612", + "execution_count": 113, + "id": "7ec57b66-9600-4667-9fad-114c5d570cd1", "metadata": {}, "outputs": [ { "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", + "
" + ], "text/plain": [ - "11.615277777777777" + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", + "Index: []" ] }, - "execution_count": 109, + "execution_count": 113, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "41815 / 60 / 60" + "rt_stop_times2.loc[rt_stop_times2.route_id == \"eastvalley\"].head(1)" ] }, { "cell_type": "code", - "execution_count": 110, - "id": "659d98b2-ba85-4633-9f03-267eddc4ab49", + "execution_count": 114, + "id": "37422b12-4ef4-4e5e-8388-5ff91e25d04a", "metadata": {}, "outputs": [ { @@ -10279,193 +3998,119 @@ " \n", " \n", " \n", - " trip_id\n", - " stop_id\n", - " stop_sequence\n", - " scheduled_arrival_sec\n", " schedule_gtfs_dataset_key\n", - " trip_instance_key\n", - " rt_arrival_sec\n", " route_id\n", + " trip_instance_key\n", " shape_array_key\n", " feed_key\n", " route_long_name\n", " direction_id\n", " route_primary_direction\n", " frequency_in_minutes\n", - " delay\n", - " actual_headway\n", - " schd_headway\n", " \n", " \n", " \n", " \n", - " 461677\n", - " 11490074_M31\n", - " 17769\n", - " 7\n", - " 41815.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 59dbf32fbb998fc9837ad6fe10146b64\n", - " 41909\n", - " 22\n", - " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 1.00\n", - " Northbound\n", - " 7.60\n", - " 94.00\n", - " NaN\n", - " NaN\n", - " \n", - " \n", - " 461678\n", - " 11490047_M31\n", - " 17769\n", - " 7\n", - " 67772.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 51672d1ed74ce3e66e4bfc273e6e9931\n", - " 68087\n", - " 22\n", - " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 1.00\n", - " Northbound\n", - " 7.60\n", - " 315.00\n", - " 26178.00\n", - " 25957.00\n", - " \n", - " \n", - " 461679\n", - " 11490090_M31\n", - " 17769\n", - " 7\n", - " 72092.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 6aaf49dfccb82109a1f77471fee6e43a\n", - " 71689\n", - " 22\n", - " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 1.00\n", - " Northbound\n", - " 7.60\n", - " -403.00\n", - " 3602.00\n", - " 4320.00\n", - " \n", - " \n", - " 461680\n", - " 11490091_M31\n", - " 17769\n", - " 7\n", - " 73892.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " e8ff0c3ae23fd4ba4ab3d251d0c11069\n", - " 72690\n", - " 22\n", - " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", + " 19915\n", + " 31152914d10e2d0977b8b2fabb167922\n", + " eastvalley\n", + " 77a45a5bbd6e7b87ef670d90e16fdbc3\n", + " aebd18679bd2170ee61d7522bcfc11ab\n", + " 7900b8b29688af30a699822f84ae2753\n", + " East Valley Shuttle\n", " 1.00\n", - " Northbound\n", - " 7.60\n", - " -1202.00\n", - " 1001.00\n", - " 1800.00\n", + " Eastbound\n", + " 16.05\n", " \n", - " \n", - " 461681\n", - " 11490099_M31\n", - " 17769\n", - " 7\n", - " 81909.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 2c824de8cf7a1b5338f76d2501e6ebd5\n", - " 81349\n", - " 22\n", - " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 1.00\n", - " Northbound\n", - " 7.60\n", - " -560.00\n", - " 8659.00\n", - " 8017.00\n", + " \n", + "\n", + "" + ], + "text/plain": [ + " schedule_gtfs_dataset_key route_id \\\n", + "19915 31152914d10e2d0977b8b2fabb167922 eastvalley \n", + "\n", + " trip_instance_key shape_array_key \\\n", + "19915 77a45a5bbd6e7b87ef670d90e16fdbc3 aebd18679bd2170ee61d7522bcfc11ab \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "19915 7900b8b29688af30a699822f84ae2753 East Valley Shuttle 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes \n", + "19915 Eastbound 16.05 " + ] + }, + "execution_count": 114, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "trips_freq_routes.loc[trips_freq_routes.route_id == \"eastvalley\"].head(1)" + ] + }, + { + "cell_type": "code", + "execution_count": 116, + "id": "5b0fae1c-828b-47e8-8188-4f58cdc901f9", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", + " \n", + " \n", " \n", "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_sec
\n", "
" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "461677 11490074_M31 17769 7 41815.00 \n", - "461678 11490047_M31 17769 7 67772.00 \n", - "461679 11490090_M31 17769 7 72092.00 \n", - "461680 11490091_M31 17769 7 73892.00 \n", - "461681 11490099_M31 17769 7 81909.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "461677 7cc0cb1871dfd558f11a2885c145d144 59dbf32fbb998fc9837ad6fe10146b64 \n", - "461678 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "461679 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", - "461680 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", - "461681 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "461677 41909 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "461678 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "461679 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "461680 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "461681 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "461677 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "461678 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "461679 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "461680 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "461681 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "461677 Northbound 7.60 94.00 NaN \n", - "461678 Northbound 7.60 315.00 26178.00 \n", - "461679 Northbound 7.60 -403.00 3602.00 \n", - "461680 Northbound 7.60 -1202.00 1001.00 \n", - "461681 Northbound 7.60 -560.00 8659.00 \n", - "\n", - " schd_headway \n", - "461677 NaN \n", - "461678 25957.00 \n", - "461679 4320.00 \n", - "461680 1800.00 \n", - "461681 8017.00 " + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec]\n", + "Index: []" ] }, - "execution_count": 110, + "execution_count": 116, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times5.loc[\n", - " (rt_stop_times5.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (rt_stop_times5.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", - " & (rt_stop_times5.route_id == \"22\")\n", - " & (rt_stop_times5.direction_id == 1)\n", - " & (rt_stop_times5.stop_id == \"17769\")\n", + "rt_stop_times.loc[\n", + " (rt_stop_times.trip_instance_key == \"77a45a5bbd6e7b87ef670d90e16fdbc3\")\n", "]" ] }, { "cell_type": "code", - "execution_count": 111, - "id": "3342cb5c-55d0-4f15-bb1e-7e96925d4bbe", + "execution_count": 115, + "id": "3e27a3c0-7573-4c1a-abf8-79364d9fd8c9", "metadata": {}, "outputs": [ { @@ -10503,187 +4148,42 @@ " direction_id\n", " route_primary_direction\n", " frequency_in_minutes\n", - " delay\n", - " actual_headway\n", - " schd_headway\n", " \n", " \n", " \n", - " \n", - " 461677\n", - " 11490074_M31\n", - " 17769\n", - " 7\n", - " 41815.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 59dbf32fbb998fc9837ad6fe10146b64\n", - " 41909\n", - " 22\n", - " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 1.00\n", - " Northbound\n", - " 7.60\n", - " 94.00\n", - " NaN\n", - " NaN\n", - " \n", - " \n", - " 461678\n", - " 11490047_M31\n", - " 17769\n", - " 7\n", - " 67772.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 51672d1ed74ce3e66e4bfc273e6e9931\n", - " 68087\n", - " 22\n", - " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 1.00\n", - " Northbound\n", - " 7.60\n", - " 315.00\n", - " 26178.00\n", - " 25957.00\n", - " \n", - " \n", - " 461679\n", - " 11490090_M31\n", - " 17769\n", - " 7\n", - " 72092.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 6aaf49dfccb82109a1f77471fee6e43a\n", - " 71689\n", - " 22\n", - " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 1.00\n", - " Northbound\n", - " 7.60\n", - " -403.00\n", - " 3602.00\n", - " 4320.00\n", - " \n", - " \n", - " 461680\n", - " 11490091_M31\n", - " 17769\n", - " 7\n", - " 73892.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " e8ff0c3ae23fd4ba4ab3d251d0c11069\n", - " 72690\n", - " 22\n", - " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 1.00\n", - " Northbound\n", - " 7.60\n", - " -1202.00\n", - " 1001.00\n", - " 1800.00\n", - " \n", - " \n", - " 461681\n", - " 11490099_M31\n", - " 17769\n", - " 7\n", - " 81909.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 2c824de8cf7a1b5338f76d2501e6ebd5\n", - " 81349\n", - " 22\n", - " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 1.00\n", - " Northbound\n", - " 7.60\n", - " -560.00\n", - " 8659.00\n", - " 8017.00\n", - " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "461677 11490074_M31 17769 7 41815.00 \n", - "461678 11490047_M31 17769 7 67772.00 \n", - "461679 11490090_M31 17769 7 72092.00 \n", - "461680 11490091_M31 17769 7 73892.00 \n", - "461681 11490099_M31 17769 7 81909.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "461677 7cc0cb1871dfd558f11a2885c145d144 59dbf32fbb998fc9837ad6fe10146b64 \n", - "461678 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", - "461679 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", - "461680 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", - "461681 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "461677 41909 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "461678 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "461679 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "461680 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "461681 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "461677 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "461678 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "461679 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "461680 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "461681 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "461677 Northbound 7.60 94.00 NaN \n", - "461678 Northbound 7.60 315.00 26178.00 \n", - "461679 Northbound 7.60 -403.00 3602.00 \n", - "461680 Northbound 7.60 -1202.00 1001.00 \n", - "461681 Northbound 7.60 -560.00 8659.00 \n", - "\n", - " schd_headway \n", - "461677 NaN \n", - "461678 25957.00 \n", - "461679 4320.00 \n", - "461680 1800.00 \n", - "461681 8017.00 " + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", + "Index: []" ] }, - "execution_count": 111, + "execution_count": 115, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times5.loc[\n", - " (rt_stop_times5.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (rt_stop_times5.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", - " & (rt_stop_times5.route_id == \"22\")\n", - " & (rt_stop_times5.direction_id == 1)\n", - " & (rt_stop_times5.stop_id == \"17769\")\n", + "rt_stop_times2.loc[\n", + " (rt_stop_times2.trip_instance_key == \"77a45a5bbd6e7b87ef670d90e16fdbc3\")\n", "]" ] }, { "cell_type": "markdown", - "id": "51095a44-a994-4519-9c73-8516c4a4f404", + "id": "4203f8de-1d1f-484f-82b8-d1d3908d3b79", "metadata": {}, "source": [ - "#### Test 2" + "#### Second Route" ] }, { "cell_type": "code", - "execution_count": 112, - "id": "50298f10-b5cf-4d6b-acfd-8cc2311e152b", + "execution_count": 117, + "id": "25c9d598-1334-4cbc-a628-48febf86eddf", "metadata": {}, "outputs": [ { @@ -10707,277 +4207,142 @@ " \n", " \n", " \n", - " trip_id\n", - " stop_id\n", - " stop_sequence\n", - " scheduled_arrival_sec\n", " schedule_gtfs_dataset_key\n", - " trip_instance_key\n", - " rt_arrival_sec\n", " route_id\n", + " trip_instance_key\n", " shape_array_key\n", " feed_key\n", " route_long_name\n", " direction_id\n", " route_primary_direction\n", " frequency_in_minutes\n", - " delay\n", - " actual_headway\n", - " schd_headway\n", - " avg_schd_headway_sec\n", - " std_dev_headway\n", - " bunching_coefficient\n", - " avg_schd_headway_min\n", - " actual_headway_min\n", - " sched_headway_min\n", " \n", " \n", " \n", - " \n", - " 434669\n", - " 11489975_M31\n", - " 16491\n", - " 10\n", - " 69000.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " d30242b374225ed75a4aadd78fa8d7be\n", - " 69043\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 43.00\n", - " 2134.00\n", - " 1920.00\n", - " 1450.00\n", - " 1055.87\n", - " 0.73\n", - " 24.17\n", - " 35.57\n", - " 32.00\n", - " \n", - " \n", - " 434670\n", - " 11489815_M31\n", - " 16491\n", - " 10\n", - " 69360.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 186fd89b59a49ddc1e84cb4b89c066d8\n", - " 69454\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 94.00\n", - " 411.00\n", - " 360.00\n", - " 1450.00\n", - " 1055.87\n", - " 0.73\n", - " 24.17\n", - " 6.85\n", - " 6.00\n", - " \n", - " \n", - " 434671\n", - " 11489816_M31\n", - " 16491\n", - " 10\n", - " 69900.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 5cd2523ccd8c33e277aaae0ac9af35c8\n", - " 70287\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 387.00\n", - " 833.00\n", - " 540.00\n", - " 1450.00\n", - " 1055.87\n", - " 0.73\n", - " 24.17\n", - " 13.88\n", - " 9.00\n", - " \n", - " \n", - " 434672\n", - " 11489817_M31\n", - " 16491\n", - " 10\n", - " 72900.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 45830206e5f4a07c06e520968f4b789f\n", - " 73061\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 161.00\n", - " 2774.00\n", - " 3000.00\n", - " 1450.00\n", - " 1055.87\n", - " 0.73\n", - " 24.17\n", - " 46.23\n", - " 50.00\n", - " \n", - " \n", - " 434673\n", - " 11489861_M31\n", - " 16491\n", - " 10\n", - " 74340.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " a28a9fc884812bbb9e404de1dd970ccd\n", - " 75431\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", + " \n", + " 2415\n", + " 8a1405af8da1379acc062e346187ac98\n", + " Beige-S\n", + " bd9b3aed0f38a75885179e6eaeba1f4a\n", + " 93312729ad2928439c75cbbd97191b66\n", + " 3e22f1090d0d12096ee943c621298225\n", + " Coliseum to Oakland Airport\n", + " 1.00\n", " Southbound\n", - " 7.61\n", - " 1091.00\n", - " 2370.00\n", - " 1440.00\n", - " 1450.00\n", - " 1055.87\n", - " 0.73\n", - " 24.17\n", - " 39.50\n", - " 24.00\n", + " 7.90\n", " \n", " \n", - " 434674\n", - " 11489818_M31\n", - " 16491\n", - " 10\n", - " 75780.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " c20c26a42e6277dd327fe1280cead6a8\n", - " 75853\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", + " 2297\n", + " 8a1405af8da1379acc062e346187ac98\n", + " Beige-S\n", + " e958e7d45ee5388470df5b80d0291cba\n", + " 93312729ad2928439c75cbbd97191b66\n", + " 3e22f1090d0d12096ee943c621298225\n", + " Coliseum to Oakland Airport\n", + " 1.00\n", " Southbound\n", - " 7.61\n", - " 73.00\n", - " 422.00\n", - " 1440.00\n", - " 1450.00\n", - " 1055.87\n", - " 0.73\n", - " 24.17\n", - " 7.03\n", - " 24.00\n", + " 7.90\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "434669 11489975_M31 16491 10 69000.00 \n", - "434670 11489815_M31 16491 10 69360.00 \n", - "434671 11489816_M31 16491 10 69900.00 \n", - "434672 11489817_M31 16491 10 72900.00 \n", - "434673 11489861_M31 16491 10 74340.00 \n", - "434674 11489818_M31 16491 10 75780.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "434669 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "434670 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "434671 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", - "434672 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", - "434673 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", - "434674 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "434669 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "434670 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "434671 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "434672 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "434673 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "434674 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", + " schedule_gtfs_dataset_key route_id \\\n", + "2415 8a1405af8da1379acc062e346187ac98 Beige-S \n", + "2297 8a1405af8da1379acc062e346187ac98 Beige-S \n", "\n", - " feed_key route_long_name direction_id \\\n", - "434669 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "434670 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "434671 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "434672 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "434673 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "434674 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + " trip_instance_key shape_array_key \\\n", + "2415 bd9b3aed0f38a75885179e6eaeba1f4a 93312729ad2928439c75cbbd97191b66 \n", + "2297 e958e7d45ee5388470df5b80d0291cba 93312729ad2928439c75cbbd97191b66 \n", "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "434669 Southbound 7.61 43.00 2134.00 \n", - "434670 Southbound 7.61 94.00 411.00 \n", - "434671 Southbound 7.61 387.00 833.00 \n", - "434672 Southbound 7.61 161.00 2774.00 \n", - "434673 Southbound 7.61 1091.00 2370.00 \n", - "434674 Southbound 7.61 73.00 422.00 \n", + " feed_key route_long_name \\\n", + "2415 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", + "2297 3e22f1090d0d12096ee943c621298225 Coliseum to Oakland Airport \n", "\n", - " schd_headway avg_schd_headway_sec std_dev_headway \\\n", - "434669 1920.00 1450.00 1055.87 \n", - "434670 360.00 1450.00 1055.87 \n", - "434671 540.00 1450.00 1055.87 \n", - "434672 3000.00 1450.00 1055.87 \n", - "434673 1440.00 1450.00 1055.87 \n", - "434674 1440.00 1450.00 1055.87 \n", + " direction_id route_primary_direction frequency_in_minutes \n", + "2415 1.00 Southbound 7.90 \n", + "2297 1.00 Southbound 7.90 " + ] + }, + "execution_count": 117, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "trips_freq_routes.loc[trips_freq_routes.route_id == \"Beige-S\"].sample(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 118, + "id": "a8bbb8d6-f285-4c91-bb73-16dc89071f43", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutes
\n", + "
" + ], + "text/plain": [ + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", + "Index: []" ] }, - "execution_count": 112, + "execution_count": 118, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "m2.loc[\n", - " (m2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (m2.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", - " & (m2.route_id == \"22\")\n", - " & (m2.direction_id == 0)\n", - " & (m2.stop_id == \"16491\")\n", + "rt_stop_times2.loc[\n", + " (rt_stop_times2.trip_instance_key == \"96e2844c6ce2bcc5ede547c32c220efb\")\n", "]" ] }, { "cell_type": "code", - "execution_count": 113, - "id": "29847f65-12ec-4108-887c-71bd3097bffd", + "execution_count": 119, + "id": "b37e2d7a-52ae-41e9-8474-9e193b67b2c8", "metadata": {}, "outputs": [ { @@ -11018,239 +4383,101 @@ " \n", " \n", " \n", - " \n", - " 565068\n", - " 11489815_M31\n", - " 16491\n", - " 10\n", - " 69360.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 186fd89b59a49ddc1e84cb4b89c066d8\n", - " 69454\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 566542\n", - " 11489969_M31\n", - " 16491\n", - " 10\n", - " 67080.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " b73ff68241fdcb9ff5a3f3be424b2268\n", - " 66909\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 605147\n", - " 11489817_M31\n", - " 16491\n", - " 10\n", - " 72900.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 45830206e5f4a07c06e520968f4b789f\n", - " 73061\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 606713\n", - " 11489861_M31\n", - " 16491\n", - " 10\n", - " 74340.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " a28a9fc884812bbb9e404de1dd970ccd\n", - " 75431\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 616129\n", - " 11489818_M31\n", - " 16491\n", - " 10\n", - " 75780.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " c20c26a42e6277dd327fe1280cead6a8\n", - " 75853\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 627185\n", - " 11489820_M31\n", - " 16491\n", - " 10\n", - " 88620.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " df2fe2bd0d1a3490250578dd0cf8f069\n", - " 2272\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 643093\n", - " 11489816_M31\n", - " 16491\n", - " 10\n", - " 69900.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 5cd2523ccd8c33e277aaae0ac9af35c8\n", - " 70287\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 648095\n", - " 11489821_M31\n", - " 16491\n", - " 10\n", - " 89220.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 515ade67689a882a95148e68b58ab913\n", - " 2581\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 680459\n", - " 11489975_M31\n", - " 16491\n", - " 10\n", - " 69000.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " d30242b374225ed75a4aadd78fa8d7be\n", - " 69043\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "565068 11489815_M31 16491 10 69360.00 \n", - "566542 11489969_M31 16491 10 67080.00 \n", - "605147 11489817_M31 16491 10 72900.00 \n", - "606713 11489861_M31 16491 10 74340.00 \n", - "616129 11489818_M31 16491 10 75780.00 \n", - "627185 11489820_M31 16491 10 88620.00 \n", - "643093 11489816_M31 16491 10 69900.00 \n", - "648095 11489821_M31 16491 10 89220.00 \n", - "680459 11489975_M31 16491 10 69000.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "565068 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "566542 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", - "605147 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", - "606713 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", - "616129 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", - "627185 7cc0cb1871dfd558f11a2885c145d144 df2fe2bd0d1a3490250578dd0cf8f069 \n", - "643093 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", - "648095 7cc0cb1871dfd558f11a2885c145d144 515ade67689a882a95148e68b58ab913 \n", - "680459 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "565068 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "566542 66909 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "605147 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "606713 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "616129 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "627185 2272 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "643093 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "648095 2581 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "680459 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "565068 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "566542 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "605147 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "606713 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "616129 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "627185 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "643093 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "648095 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "680459 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "\n", - " route_primary_direction frequency_in_minutes \n", - "565068 Southbound 7.61 \n", - "566542 Southbound 7.61 \n", - "605147 Southbound 7.61 \n", - "606713 Southbound 7.61 \n", - "616129 Southbound 7.61 \n", - "627185 Southbound 7.61 \n", - "643093 Southbound 7.61 \n", - "648095 Southbound 7.61 \n", - "680459 Southbound 7.61 " + "Empty DataFrame\n", + "Columns: [trip_id, stop_id, stop_sequence, scheduled_arrival_sec, schedule_gtfs_dataset_key, trip_instance_key, rt_arrival_sec, route_id, shape_array_key, feed_key, route_long_name, direction_id, route_primary_direction, frequency_in_minutes]\n", + "Index: []" + ] + }, + "execution_count": 119, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "rt_stop_times2.loc[\n", + " (rt_stop_times2.trip_instance_key == \"4f9e575f015b6bf05e69af9da50d9579\")\n", + "]" + ] + }, + { + "cell_type": "markdown", + "id": "cf41d925-a7d5-48e2-8e48-ef1b09752b6d", + "metadata": {}, + "source": [ + "### SF Muni Fillmore Test" + ] + }, + { + "cell_type": "code", + "execution_count": 120, + "id": "f0cd0242-5605-4fe8-ab72-21bdf8cd432b", + "metadata": {}, + "outputs": [], + "source": [ + "more_values = [\n", + " \"scheduled_arrival_sec\",\n", + " \"std_dev_headway\",\n", + " \"avg_schd_headway_sec\",\n", + " \"schd_headway\",\n", + " \"rt_arrival_sec\",\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 121, + "id": "899bd6e4-02be-43f4-931b-872072960cc6", + "metadata": {}, + "outputs": [], + "source": [ + "drop_for_preview = drop_for_preview + more_values" + ] + }, + { + "cell_type": "code", + "execution_count": 122, + "id": "480ca3cd-592d-4f2a-9984-015d6b598871", + "metadata": {}, + "outputs": [], + "source": [ + "fillmore = bunching_by_stops.loc[bunching_by_stops.route_long_name == \"FILLMORE\"]" + ] + }, + { + "cell_type": "code", + "execution_count": 124, + "id": "6a05dfcc-f938-44ce-80e3-09c9279a1cb5", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "Most vehicles bunched 0.82\n", + "Frequent bunching 0.16\n", + "Irregular headways, with some bunching 0.01\n", + "Vehicles slightly off headway 0.01\n", + "Service provided like clockwork 0.01\n", + "Name: passenger_op_perspective, dtype: float64" ] }, - "execution_count": 113, + "execution_count": 124, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times2.loc[\n", - " (rt_stop_times2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (rt_stop_times2.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", - " & (rt_stop_times2.route_id == \"22\")\n", - " & (rt_stop_times2.direction_id == 0)\n", - " & (rt_stop_times2.stop_id == \"16491\")\n", - "]" + "fillmore.passenger_op_perspective.value_counts()/len(fillmore)" ] }, { "cell_type": "code", - "execution_count": 114, - "id": "d9a7abbb-6794-4e09-a6a9-9b6ff2428059", + "execution_count": 133, + "id": "ae2c6c27-f4f7-421c-8e92-c95e5dc0ba5b", "metadata": {}, "outputs": [ { @@ -11288,198 +4515,111 @@ " direction_id\n", " route_primary_direction\n", " frequency_in_minutes\n", + " delay\n", + " schd_headway\n", + " avg_schd_headway_sec\n", + " std_dev_headway\n", + " bunching_coefficient\n", + " avg_schd_headway_min\n", + " passenger_op_perspective\n", " \n", " \n", " \n", " \n", - " 543061\n", - " 11489815_M31\n", - " 16491\n", - " 10\n", - " 69360.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 186fd89b59a49ddc1e84cb4b89c066d8\n", - " 69454\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 544473\n", - " 11489969_M31\n", - " 16491\n", - " 10\n", - " 67080.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " b73ff68241fdcb9ff5a3f3be424b2268\n", - " 66909\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 581283\n", - " 11489817_M31\n", - " 16491\n", - " 10\n", - " 72900.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 45830206e5f4a07c06e520968f4b789f\n", - " 73061\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 582710\n", - " 11489861_M31\n", - " 16491\n", - " 10\n", - " 74340.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " a28a9fc884812bbb9e404de1dd970ccd\n", - " 75431\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 591738\n", - " 11489818_M31\n", - " 16491\n", - " 10\n", - " 75780.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " c20c26a42e6277dd327fe1280cead6a8\n", - " 75853\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " \n", - " \n", - " 617343\n", - " 11489816_M31\n", - " 16491\n", - " 10\n", - " 69900.00\n", + " 13583\n", + " 11490047_M31\n", + " 17768\n", + " 6\n", + " 67722.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " 5cd2523ccd8c33e277aaae0ac9af35c8\n", - " 70287\n", + " 51672d1ed74ce3e66e4bfc273e6e9931\n", + " 67988\n", " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 266.00\n", + " 25969.00\n", + " 10029.50\n", + " 11270.50\n", + " 1.12\n", + " 167.16\n", + " Most vehicles bunched\n", " \n", " \n", - " 653265\n", - " 11489975_M31\n", - " 16491\n", - " 10\n", - " 69000.00\n", + " 13584\n", + " 11490047_M31\n", + " 17769\n", + " 7\n", + " 67772.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " d30242b374225ed75a4aadd78fa8d7be\n", - " 69043\n", + " 51672d1ed74ce3e66e4bfc273e6e9931\n", + " 68087\n", " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 315.00\n", + " 25957.00\n", + " 10023.50\n", + " 11333.78\n", + " 1.13\n", + " 167.06\n", + " Most vehicles bunched\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "543061 11489815_M31 16491 10 69360.00 \n", - "544473 11489969_M31 16491 10 67080.00 \n", - "581283 11489817_M31 16491 10 72900.00 \n", - "582710 11489861_M31 16491 10 74340.00 \n", - "591738 11489818_M31 16491 10 75780.00 \n", - "617343 11489816_M31 16491 10 69900.00 \n", - "653265 11489975_M31 16491 10 69000.00 \n", + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "13583 11490047_M31 17768 6 67722.00 \n", + "13584 11490047_M31 17769 7 67772.00 \n", "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "543061 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "544473 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", - "581283 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", - "582710 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", - "591738 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", - "617343 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", - "653265 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "13583 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "13584 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "543061 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "544473 66909 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "581283 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "582710 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "591738 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "617343 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "653265 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", + " rt_arrival_sec route_id shape_array_key \\\n", + "13583 67988 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "13584 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", "\n", - " feed_key route_long_name direction_id \\\n", - "543061 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "544473 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "581283 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "582710 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "591738 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "617343 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "653265 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + " feed_key route_long_name direction_id \\\n", + "13583 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "13584 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", "\n", - " route_primary_direction frequency_in_minutes \n", - "543061 Southbound 7.61 \n", - "544473 Southbound 7.61 \n", - "581283 Southbound 7.61 \n", - "582710 Southbound 7.61 \n", - "591738 Southbound 7.61 \n", - "617343 Southbound 7.61 \n", - "653265 Southbound 7.61 " + " route_primary_direction frequency_in_minutes delay schd_headway \\\n", + "13583 Northbound 7.60 266.00 25969.00 \n", + "13584 Northbound 7.60 315.00 25957.00 \n", + "\n", + " avg_schd_headway_sec std_dev_headway bunching_coefficient \\\n", + "13583 10029.50 11270.50 1.12 \n", + "13584 10023.50 11333.78 1.13 \n", + "\n", + " avg_schd_headway_min passenger_op_perspective \n", + "13583 167.16 Most vehicles bunched \n", + "13584 167.06 Most vehicles bunched " ] }, - "execution_count": 114, + "execution_count": 133, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times3.loc[\n", - " (rt_stop_times3.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (rt_stop_times3.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", - " & (rt_stop_times3.route_id == \"22\")\n", - " & (rt_stop_times3.direction_id == 0)\n", - " & (rt_stop_times3.stop_id == \"16491\")\n", - "]" + "fillmore.tail(2)" ] }, { "cell_type": "code", - "execution_count": 115, - "id": "efe65aa9-6a2b-4bea-8de7-485872eed04b", + "execution_count": 134, + "id": "d7e718ba-501c-4360-b5ba-a3d254ccbfa1", "metadata": {}, "outputs": [ { @@ -11518,134 +4658,120 @@ " route_primary_direction\n", " frequency_in_minutes\n", " delay\n", + " actual_headway\n", + " schd_headway\n", + " avg_schd_headway_sec\n", + " std_dev_headway\n", + " bunching_coefficient\n", + " avg_schd_headway_min\n", + " actual_headway_min\n", + " sched_headway_min\n", " \n", - " \n", - " \n", - " \n", - " 452724\n", - " 11489969_M31\n", - " 16491\n", - " 10\n", - " 67080.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " b73ff68241fdcb9ff5a3f3be424b2268\n", - " 66909\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " -171.00\n", - " \n", - " \n", - " 452725\n", - " 11489975_M31\n", - " 16491\n", - " 10\n", - " 69000.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " d30242b374225ed75a4aadd78fa8d7be\n", - " 69043\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 43.00\n", - " \n", - " \n", - " 452726\n", - " 11489815_M31\n", - " 16491\n", - " 10\n", - " 69360.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 186fd89b59a49ddc1e84cb4b89c066d8\n", - " 69454\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 94.00\n", - " \n", + " \n", + " \n", " \n", - " 452727\n", - " 11489816_M31\n", - " 16491\n", - " 10\n", - " 69900.00\n", + " 443917\n", + " 11490047_M31\n", + " 17769\n", + " 7\n", + " 67772.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " 5cd2523ccd8c33e277aaae0ac9af35c8\n", - " 70287\n", + " 51672d1ed74ce3e66e4bfc273e6e9931\n", + " 68087\n", " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 387.00\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " 315.00\n", + " 26178.00\n", + " 25957.00\n", + " 10023.50\n", + " 11333.78\n", + " 1.13\n", + " 167.06\n", + " 436.30\n", + " 432.62\n", " \n", " \n", - " 452728\n", - " 11489817_M31\n", - " 16491\n", - " 10\n", - " 72900.00\n", + " 443918\n", + " 11490090_M31\n", + " 17769\n", + " 7\n", + " 72092.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " 45830206e5f4a07c06e520968f4b789f\n", - " 73061\n", + " 6aaf49dfccb82109a1f77471fee6e43a\n", + " 71689\n", " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 161.00\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " -403.00\n", + " 3602.00\n", + " 4320.00\n", + " 10023.50\n", + " 11333.78\n", + " 1.13\n", + " 167.06\n", + " 60.03\n", + " 72.00\n", " \n", " \n", - " 452729\n", - " 11489861_M31\n", - " 16491\n", - " 10\n", - " 74340.00\n", + " 443919\n", + " 11490091_M31\n", + " 17769\n", + " 7\n", + " 73892.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " a28a9fc884812bbb9e404de1dd970ccd\n", - " 75431\n", + " e8ff0c3ae23fd4ba4ab3d251d0c11069\n", + " 72690\n", " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 1091.00\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " -1202.00\n", + " 1001.00\n", + " 1800.00\n", + " 10023.50\n", + " 11333.78\n", + " 1.13\n", + " 167.06\n", + " 16.68\n", + " 30.00\n", " \n", " \n", - " 452730\n", - " 11489818_M31\n", - " 16491\n", - " 10\n", - " 75780.00\n", + " 443920\n", + " 11490099_M31\n", + " 17769\n", + " 7\n", + " 81909.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " c20c26a42e6277dd327fe1280cead6a8\n", - " 75853\n", + " 2c824de8cf7a1b5338f76d2501e6ebd5\n", + " 81349\n", " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", + " fefbc78a6cf676d7fbd1d25b61ef7bfb\n", " 7f69c2fdaa134642f14064a0b64d1495\n", " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 73.00\n", + " 1.00\n", + " Northbound\n", + " 7.60\n", + " -560.00\n", + " 8659.00\n", + " 8017.00\n", + " 10023.50\n", + " 11333.78\n", + " 1.13\n", + " 167.06\n", + " 144.32\n", + " 133.62\n", " \n", " \n", "\n", @@ -11653,70 +4779,73 @@ ], "text/plain": [ " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "452724 11489969_M31 16491 10 67080.00 \n", - "452725 11489975_M31 16491 10 69000.00 \n", - "452726 11489815_M31 16491 10 69360.00 \n", - "452727 11489816_M31 16491 10 69900.00 \n", - "452728 11489817_M31 16491 10 72900.00 \n", - "452729 11489861_M31 16491 10 74340.00 \n", - "452730 11489818_M31 16491 10 75780.00 \n", + "443917 11490047_M31 17769 7 67772.00 \n", + "443918 11490090_M31 17769 7 72092.00 \n", + "443919 11490091_M31 17769 7 73892.00 \n", + "443920 11490099_M31 17769 7 81909.00 \n", "\n", " schedule_gtfs_dataset_key trip_instance_key \\\n", - "452724 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", - "452725 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "452726 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "452727 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", - "452728 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", - "452729 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", - "452730 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + "443917 7cc0cb1871dfd558f11a2885c145d144 51672d1ed74ce3e66e4bfc273e6e9931 \n", + "443918 7cc0cb1871dfd558f11a2885c145d144 6aaf49dfccb82109a1f77471fee6e43a \n", + "443919 7cc0cb1871dfd558f11a2885c145d144 e8ff0c3ae23fd4ba4ab3d251d0c11069 \n", + "443920 7cc0cb1871dfd558f11a2885c145d144 2c824de8cf7a1b5338f76d2501e6ebd5 \n", "\n", " rt_arrival_sec route_id shape_array_key \\\n", - "452724 66909 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452725 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452726 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452727 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452728 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452729 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452730 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "443917 68087 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "443918 71689 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "443919 72690 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", + "443920 81349 22 fefbc78a6cf676d7fbd1d25b61ef7bfb \n", "\n", " feed_key route_long_name direction_id \\\n", - "452724 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452725 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452726 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452727 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452728 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452729 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452730 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay \n", - "452724 Southbound 7.61 -171.00 \n", - "452725 Southbound 7.61 43.00 \n", - "452726 Southbound 7.61 94.00 \n", - "452727 Southbound 7.61 387.00 \n", - "452728 Southbound 7.61 161.00 \n", - "452729 Southbound 7.61 1091.00 \n", - "452730 Southbound 7.61 73.00 " + "443917 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "443918 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "443919 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "443920 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 1.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "443917 Northbound 7.60 315.00 26178.00 \n", + "443918 Northbound 7.60 -403.00 3602.00 \n", + "443919 Northbound 7.60 -1202.00 1001.00 \n", + "443920 Northbound 7.60 -560.00 8659.00 \n", + "\n", + " schd_headway avg_schd_headway_sec std_dev_headway \\\n", + "443917 25957.00 10023.50 11333.78 \n", + "443918 4320.00 10023.50 11333.78 \n", + "443919 1800.00 10023.50 11333.78 \n", + "443920 8017.00 10023.50 11333.78 \n", + "\n", + " bunching_coefficient avg_schd_headway_min actual_headway_min \\\n", + "443917 1.13 167.06 436.30 \n", + "443918 1.13 167.06 60.03 \n", + "443919 1.13 167.06 16.68 \n", + "443920 1.13 167.06 144.32 \n", + "\n", + " sched_headway_min \n", + "443917 432.62 \n", + "443918 72.00 \n", + "443919 30.00 \n", + "443920 133.62 " ] }, - "execution_count": 115, + "execution_count": 134, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times4.loc[\n", - " (rt_stop_times4.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (rt_stop_times4.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", - " & (rt_stop_times4.route_id == \"22\")\n", - " & (rt_stop_times4.direction_id == 0)\n", - " & (rt_stop_times4.stop_id == \"16491\")\n", + "m2.loc[\n", + " (m2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (m2.shape_array_key == \"fefbc78a6cf676d7fbd1d25b61ef7bfb\")\n", + " & (m2.route_id == \"22\")\n", + " & (m2.direction_id == 1)\n", + " & (m2.stop_id == \"17769\")\n", "]" ] }, { "cell_type": "code", - "execution_count": 116, - "id": "39501e48-a1d9-489c-b868-c82584943b85", + "execution_count": 131, + "id": "cf55bcf1-df19-4dbc-8184-b46710d6acd7", "metadata": {}, "outputs": [ { @@ -11755,140 +4884,24 @@ " route_primary_direction\n", " frequency_in_minutes\n", " delay\n", - " actual_headway\n", " schd_headway\n", + " avg_schd_headway_sec\n", + " std_dev_headway\n", + " bunching_coefficient\n", + " avg_schd_headway_min\n", + " passenger_op_perspective\n", " \n", - " \n", - " \n", - " \n", - " 452283\n", - " 11489969_M31\n", - " 16491\n", - " 10\n", - " 67080.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " b73ff68241fdcb9ff5a3f3be424b2268\n", - " 66909\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " -171.00\n", - " NaN\n", - " NaN\n", - " \n", - " \n", - " 452284\n", - " 11489975_M31\n", - " 16491\n", - " 10\n", - " 69000.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " d30242b374225ed75a4aadd78fa8d7be\n", - " 69043\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 43.00\n", - " 2134.00\n", - " 1920.00\n", - " \n", - " \n", - " 452285\n", - " 11489815_M31\n", - " 16491\n", - " 10\n", - " 69360.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 186fd89b59a49ddc1e84cb4b89c066d8\n", - " 69454\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 94.00\n", - " 411.00\n", - " 360.00\n", - " \n", - " \n", - " 452286\n", - " 11489816_M31\n", - " 16491\n", - " 10\n", - " 69900.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 5cd2523ccd8c33e277aaae0ac9af35c8\n", - " 70287\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 387.00\n", - " 833.00\n", - " 540.00\n", - " \n", - " \n", - " 452287\n", - " 11489817_M31\n", - " 16491\n", - " 10\n", - " 72900.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " 45830206e5f4a07c06e520968f4b789f\n", - " 73061\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 161.00\n", - " 2774.00\n", - " 3000.00\n", - " \n", - " \n", - " 452288\n", - " 11489861_M31\n", - " 16491\n", - " 10\n", - " 74340.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " a28a9fc884812bbb9e404de1dd970ccd\n", - " 75431\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 1091.00\n", - " 2370.00\n", - " 1440.00\n", - " \n", + " \n", + " \n", " \n", - " 452289\n", - " 11489818_M31\n", - " 16491\n", - " 10\n", - " 75780.00\n", + " 13439\n", + " 11489815_M31\n", + " 14609\n", + " 7\n", + " 69120.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", - " c20c26a42e6277dd327fe1280cead6a8\n", - " 75853\n", + " 186fd89b59a49ddc1e84cb4b89c066d8\n", + " 69067\n", " 22\n", " 1b678a66d0009c55bc573cfc37aa1029\n", " 7f69c2fdaa134642f14064a0b64d1495\n", @@ -11896,89 +4909,59 @@ " 0.00\n", " Southbound\n", " 7.61\n", - " 73.00\n", - " 422.00\n", - " 1440.00\n", + " -53.00\n", + " 360.00\n", + " 1356.00\n", + " 987.75\n", + " 0.73\n", + " 22.60\n", + " Frequent bunching\n", " \n", " \n", "\n", "" ], "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "452283 11489969_M31 16491 10 67080.00 \n", - "452284 11489975_M31 16491 10 69000.00 \n", - "452285 11489815_M31 16491 10 69360.00 \n", - "452286 11489816_M31 16491 10 69900.00 \n", - "452287 11489817_M31 16491 10 72900.00 \n", - "452288 11489861_M31 16491 10 74340.00 \n", - "452289 11489818_M31 16491 10 75780.00 \n", + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "13439 11489815_M31 14609 7 69120.00 \n", "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "452283 7cc0cb1871dfd558f11a2885c145d144 b73ff68241fdcb9ff5a3f3be424b2268 \n", - "452284 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "452285 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "452286 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", - "452287 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", - "452288 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", - "452289 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "13439 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "452283 66909 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452284 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452285 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452286 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452287 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452288 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "452289 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", + " rt_arrival_sec route_id shape_array_key \\\n", + "13439 69067 22 1b678a66d0009c55bc573cfc37aa1029 \n", "\n", - " feed_key route_long_name direction_id \\\n", - "452283 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452284 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452285 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452286 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452287 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452288 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "452289 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + " feed_key route_long_name direction_id \\\n", + "13439 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "452283 Southbound 7.61 -171.00 NaN \n", - "452284 Southbound 7.61 43.00 2134.00 \n", - "452285 Southbound 7.61 94.00 411.00 \n", - "452286 Southbound 7.61 387.00 833.00 \n", - "452287 Southbound 7.61 161.00 2774.00 \n", - "452288 Southbound 7.61 1091.00 2370.00 \n", - "452289 Southbound 7.61 73.00 422.00 \n", + " route_primary_direction frequency_in_minutes delay schd_headway \\\n", + "13439 Southbound 7.61 -53.00 360.00 \n", "\n", - " schd_headway \n", - "452283 NaN \n", - "452284 1920.00 \n", - "452285 360.00 \n", - "452286 540.00 \n", - "452287 3000.00 \n", - "452288 1440.00 \n", - "452289 1440.00 " + " avg_schd_headway_sec std_dev_headway bunching_coefficient \\\n", + "13439 1356.00 987.75 0.73 \n", + "\n", + " avg_schd_headway_min passenger_op_perspective \n", + "13439 22.60 Frequent bunching " ] }, - "execution_count": 116, + "execution_count": 131, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times5.loc[\n", - " (rt_stop_times5.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (rt_stop_times5.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", - " & (rt_stop_times5.route_id == \"22\")\n", - " & (rt_stop_times5.direction_id == 0)\n", - " & (rt_stop_times5.stop_id == \"16491\")\n", + "fillmore.loc[\n", + " (fillmore.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (fillmore.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (fillmore.direction_id == 0)\n", + " & (fillmore.stop_id == \"14609\")\n", "]" ] }, { "cell_type": "code", - "execution_count": 117, - "id": "c8f84fc1-78d7-46c9-9ad6-d28756d91050", + "execution_count": 132, + "id": "6f817056-5594-45d1-9bfa-fdd1343fbea7", "metadata": {}, "outputs": [ { @@ -12019,38 +5002,24 @@ " delay\n", " actual_headway\n", " schd_headway\n", + " avg_schd_headway_sec\n", + " std_dev_headway\n", + " bunching_coefficient\n", + " avg_schd_headway_min\n", + " actual_headway_min\n", + " sched_headway_min\n", " \n", " \n", " \n", " \n", - " 435913\n", - " 11489975_M31\n", - " 16491\n", - " 10\n", - " 69000.00\n", - " 7cc0cb1871dfd558f11a2885c145d144\n", - " d30242b374225ed75a4aadd78fa8d7be\n", - " 69043\n", - " 22\n", - " 1b678a66d0009c55bc573cfc37aa1029\n", - " 7f69c2fdaa134642f14064a0b64d1495\n", - " FILLMORE\n", - " 0.00\n", - " Southbound\n", - " 7.61\n", - " 43.00\n", - " 2134.00\n", - " 1920.00\n", - " \n", - " \n", - " 435914\n", + " 434653\n", " 11489815_M31\n", - " 16491\n", - " 10\n", - " 69360.00\n", + " 14609\n", + " 7\n", + " 69120.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", " 186fd89b59a49ddc1e84cb4b89c066d8\n", - " 69454\n", + " 69067\n", " 22\n", " 1b678a66d0009c55bc573cfc37aa1029\n", " 7f69c2fdaa134642f14064a0b64d1495\n", @@ -12058,19 +5027,25 @@ " 0.00\n", " Southbound\n", " 7.61\n", - " 94.00\n", - " 411.00\n", + " -53.00\n", + " 384.00\n", " 360.00\n", + " 1356.00\n", + " 987.75\n", + " 0.73\n", + " 22.60\n", + " 6.40\n", + " 6.00\n", " \n", " \n", - " 435915\n", + " 434654\n", " 11489816_M31\n", - " 16491\n", - " 10\n", - " 69900.00\n", + " 14609\n", + " 7\n", + " 69660.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", " 5cd2523ccd8c33e277aaae0ac9af35c8\n", - " 70287\n", + " 69723\n", " 22\n", " 1b678a66d0009c55bc573cfc37aa1029\n", " 7f69c2fdaa134642f14064a0b64d1495\n", @@ -12078,19 +5053,25 @@ " 0.00\n", " Southbound\n", " 7.61\n", - " 387.00\n", - " 833.00\n", + " 63.00\n", + " 656.00\n", " 540.00\n", + " 1356.00\n", + " 987.75\n", + " 0.73\n", + " 22.60\n", + " 10.93\n", + " 9.00\n", " \n", " \n", - " 435916\n", + " 434655\n", " 11489817_M31\n", - " 16491\n", - " 10\n", - " 72900.00\n", + " 14609\n", + " 7\n", + " 72660.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", " 45830206e5f4a07c06e520968f4b789f\n", - " 73061\n", + " 72638\n", " 22\n", " 1b678a66d0009c55bc573cfc37aa1029\n", " 7f69c2fdaa134642f14064a0b64d1495\n", @@ -12098,19 +5079,25 @@ " 0.00\n", " Southbound\n", " 7.61\n", - " 161.00\n", - " 2774.00\n", + " -22.00\n", + " 2915.00\n", " 3000.00\n", + " 1356.00\n", + " 987.75\n", + " 0.73\n", + " 22.60\n", + " 48.58\n", + " 50.00\n", " \n", " \n", - " 435917\n", + " 434656\n", " 11489861_M31\n", - " 16491\n", - " 10\n", - " 74340.00\n", + " 14609\n", + " 7\n", + " 74100.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", " a28a9fc884812bbb9e404de1dd970ccd\n", - " 75431\n", + " 74147\n", " 22\n", " 1b678a66d0009c55bc573cfc37aa1029\n", " 7f69c2fdaa134642f14064a0b64d1495\n", @@ -12118,19 +5105,25 @@ " 0.00\n", " Southbound\n", " 7.61\n", - " 1091.00\n", - " 2370.00\n", + " 47.00\n", + " 1509.00\n", " 1440.00\n", + " 1356.00\n", + " 987.75\n", + " 0.73\n", + " 22.60\n", + " 25.15\n", + " 24.00\n", " \n", " \n", - " 435918\n", + " 434657\n", " 11489818_M31\n", - " 16491\n", - " 10\n", - " 75780.00\n", + " 14609\n", + " 7\n", + " 75540.00\n", " 7cc0cb1871dfd558f11a2885c145d144\n", " c20c26a42e6277dd327fe1280cead6a8\n", - " 75853\n", + " 75647\n", " 22\n", " 1b678a66d0009c55bc573cfc37aa1029\n", " 7f69c2fdaa134642f14064a0b64d1495\n", @@ -12138,9 +5131,15 @@ " 0.00\n", " Southbound\n", " 7.61\n", - " 73.00\n", - " 422.00\n", + " 107.00\n", + " 1500.00\n", " 1440.00\n", + " 1356.00\n", + " 987.75\n", + " 0.73\n", + " 22.60\n", + " 25.00\n", + " 24.00\n", " \n", " \n", "\n", @@ -12148,66 +5147,74 @@ ], "text/plain": [ " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "435913 11489975_M31 16491 10 69000.00 \n", - "435914 11489815_M31 16491 10 69360.00 \n", - "435915 11489816_M31 16491 10 69900.00 \n", - "435916 11489817_M31 16491 10 72900.00 \n", - "435917 11489861_M31 16491 10 74340.00 \n", - "435918 11489818_M31 16491 10 75780.00 \n", + "434653 11489815_M31 14609 7 69120.00 \n", + "434654 11489816_M31 14609 7 69660.00 \n", + "434655 11489817_M31 14609 7 72660.00 \n", + "434656 11489861_M31 14609 7 74100.00 \n", + "434657 11489818_M31 14609 7 75540.00 \n", "\n", " schedule_gtfs_dataset_key trip_instance_key \\\n", - "435913 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "435914 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", - "435915 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", - "435916 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", - "435917 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", - "435918 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", + "434653 7cc0cb1871dfd558f11a2885c145d144 186fd89b59a49ddc1e84cb4b89c066d8 \n", + "434654 7cc0cb1871dfd558f11a2885c145d144 5cd2523ccd8c33e277aaae0ac9af35c8 \n", + "434655 7cc0cb1871dfd558f11a2885c145d144 45830206e5f4a07c06e520968f4b789f \n", + "434656 7cc0cb1871dfd558f11a2885c145d144 a28a9fc884812bbb9e404de1dd970ccd \n", + "434657 7cc0cb1871dfd558f11a2885c145d144 c20c26a42e6277dd327fe1280cead6a8 \n", "\n", " rt_arrival_sec route_id shape_array_key \\\n", - "435913 69043 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "435914 69454 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "435915 70287 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "435916 73061 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "435917 75431 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "435918 75853 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "434653 69067 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "434654 69723 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "434655 72638 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "434656 74147 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "434657 75647 22 1b678a66d0009c55bc573cfc37aa1029 \n", "\n", " feed_key route_long_name direction_id \\\n", - "435913 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "435914 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "435915 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "435916 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "435917 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "435918 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "434653 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "434654 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "434655 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "434656 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "434657 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "435913 Southbound 7.61 43.00 2134.00 \n", - "435914 Southbound 7.61 94.00 411.00 \n", - "435915 Southbound 7.61 387.00 833.00 \n", - "435916 Southbound 7.61 161.00 2774.00 \n", - "435917 Southbound 7.61 1091.00 2370.00 \n", - "435918 Southbound 7.61 73.00 422.00 \n", + " route_primary_direction frequency_in_minutes delay actual_headway \\\n", + "434653 Southbound 7.61 -53.00 384.00 \n", + "434654 Southbound 7.61 63.00 656.00 \n", + "434655 Southbound 7.61 -22.00 2915.00 \n", + "434656 Southbound 7.61 47.00 1509.00 \n", + "434657 Southbound 7.61 107.00 1500.00 \n", "\n", - " schd_headway \n", - "435913 1920.00 \n", - "435914 360.00 \n", - "435915 540.00 \n", - "435916 3000.00 \n", - "435917 1440.00 \n", - "435918 1440.00 " + " schd_headway avg_schd_headway_sec std_dev_headway \\\n", + "434653 360.00 1356.00 987.75 \n", + "434654 540.00 1356.00 987.75 \n", + "434655 3000.00 1356.00 987.75 \n", + "434656 1440.00 1356.00 987.75 \n", + "434657 1440.00 1356.00 987.75 \n", + "\n", + " bunching_coefficient avg_schd_headway_min actual_headway_min \\\n", + "434653 0.73 22.60 6.40 \n", + "434654 0.73 22.60 10.93 \n", + "434655 0.73 22.60 48.58 \n", + "434656 0.73 22.60 25.15 \n", + "434657 0.73 22.60 25.00 \n", + "\n", + " sched_headway_min \n", + "434653 6.00 \n", + "434654 9.00 \n", + "434655 50.00 \n", + "434656 24.00 \n", + "434657 24.00 " ] }, - "execution_count": 117, + "execution_count": 132, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "rt_stop_times6.loc[\n", - " (rt_stop_times6.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", - " & (rt_stop_times6.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", - " & (rt_stop_times6.route_id == \"22\")\n", - " & (rt_stop_times6.direction_id == 0)\n", - " & (rt_stop_times6.stop_id == \"16491\")\n", + "m2.loc[\n", + " (m2.schedule_gtfs_dataset_key == \"7cc0cb1871dfd558f11a2885c145d144\")\n", + " & (m2.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (m2.route_id == \"22\")\n", + " & (m2.direction_id == 0)\n", + " & (m2.stop_id == \"14609\")\n", "]" ] }, @@ -12226,7 +5233,7 @@ }, { "cell_type": "code", - "execution_count": 118, + "execution_count": null, "id": "eef2b8c9-d1c5-4ce0-9c24-ebcd109ce892", "metadata": {}, "outputs": [], @@ -12236,7 +5243,7 @@ }, { "cell_type": "code", - "execution_count": 119, + "execution_count": 135, "id": "511fd15e-b15e-43ae-9a1a-30f55d01da73", "metadata": {}, "outputs": [ @@ -12246,7 +5253,7 @@ "668646" ] }, - "execution_count": 119, + "execution_count": 135, "metadata": {}, "output_type": "execute_result" } @@ -12257,7 +5264,7 @@ }, { "cell_type": "code", - "execution_count": 120, + "execution_count": 136, "id": "f0f0f4b7-fa64-4b01-a141-5dd78c59693b", "metadata": {}, "outputs": [], @@ -12267,133 +5274,7 @@ }, { "cell_type": "code", - "execution_count": 121, - "id": "7085873b-21c5-4578-ba0a-059a07843dfa", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headway
010105002681535-DEC234201256100.000666caf3ec1ecc96b74f4477ee4bc939657acf4c2ae320466a4fc09f1bbbba2656133105-131726b06373e4a70b2cb094870285bd92bec608992664173210532aa3e6cc573be2fMetro Local Line0.00Westbound14.5933.00NaNNaN
110105002681555-DEC234201257300.000666caf3ec1ecc96b74f4477ee4bc9391c45265e242009e9589b98d1ec99590757279105-131726b06373e4a70b2cb094870285bd92bec608992664173210532aa3e6cc573be2fMetro Local Line0.00Westbound14.59-21.001146.001200.00
\n", - "
" - ], - "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "0 10105002681535-DEC23 4201 2 56100.00 \n", - "1 10105002681555-DEC23 4201 2 57300.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "0 0666caf3ec1ecc96b74f4477ee4bc939 657acf4c2ae320466a4fc09f1bbbba26 \n", - "1 0666caf3ec1ecc96b74f4477ee4bc939 1c45265e242009e9589b98d1ec995907 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "0 56133 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "1 57279 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "0 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "1 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "0 Westbound 14.59 33.00 NaN \n", - "1 Westbound 14.59 -21.00 1146.00 \n", - "\n", - " schd_headway \n", - "0 NaN \n", - "1 1200.00 " - ] - }, - "execution_count": 121, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "transit_matters_df1.head(2)" - ] - }, - { - "cell_type": "code", - "execution_count": 122, + "execution_count": 137, "id": "7bea63e5-45d0-4d06-8c1c-fd34a69ffde7", "metadata": {}, "outputs": [], @@ -12405,7 +5286,7 @@ }, { "cell_type": "code", - "execution_count": 123, + "execution_count": 138, "id": "c67c6299-68f0-414f-a9c1-e0b27511b9e5", "metadata": {}, "outputs": [], @@ -12417,9 +5298,17 @@ ")" ] }, + { + "cell_type": "markdown", + "id": "b3fdb4cb-fb86-4b76-85f1-7451a4ef7dbe", + "metadata": {}, + "source": [ + "#### There are some very extreme values: how to deal with this?\n" + ] + }, { "cell_type": "code", - "execution_count": 124, + "execution_count": 139, "id": "70bc7bfe-2306-498a-b0d7-e012d266d5fc", "metadata": {}, "outputs": [ @@ -12437,41 +5326,18 @@ "Name: pct_actual_schd_headway, dtype: float64" ] }, - "execution_count": 124, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "transit_matters_df1.pct_actual_schd_headway.describe()" - ] - }, - { - "cell_type": "code", - "execution_count": 125, - "id": "c1950683-ae1a-46f3-bb2b-d0569164a1b7", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "not bunched 636013\n", - "bunched 32633\n", - "Name: bunched_y_n, dtype: int64" - ] - }, - "execution_count": 125, + "execution_count": 139, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "transit_matters_df1.bunched_y_n.value_counts(dropna=False)" + "transit_matters_df1.pct_actual_schd_headway.describe()" ] }, { "cell_type": "code", - "execution_count": 126, + "execution_count": 140, "id": "bd07fafd-dbf3-46dd-87bc-e0e78633f59d", "metadata": {}, "outputs": [ @@ -12483,7 +5349,7 @@ "Name: bunched_y_n, dtype: int64" ] }, - "execution_count": 126, + "execution_count": 140, "metadata": {}, "output_type": "execute_result" } @@ -12497,12 +5363,12 @@ "id": "db10254b-d5d4-4619-9c6e-10fab19ec6b2", "metadata": {}, "source": [ - "##### Groupby grain and see how many trips for that grain are considered \"bunched\" or not." + "#### Groupby grain and see how many trips for that grain are considered \"bunched\" or not." ] }, { "cell_type": "code", - "execution_count": 127, + "execution_count": 141, "id": "e72f4e50-da82-4a59-8aae-fc6b79f91cc5", "metadata": {}, "outputs": [], @@ -12527,101 +5393,12 @@ }, { "cell_type": "code", - "execution_count": 128, - "id": "2e27f1de-672f-48e0-96c3-0d43450b0739", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionbunched_y_ntrip_instance_key
00666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastboundbunched3
10666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastboundnot bunched84
\n", - "
" - ], - "text/plain": [ - " schedule_gtfs_dataset_key route_long_name \\\n", - "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "\n", - " shape_array_key route_id stop_id direction_id \\\n", - "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", - "1 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", - "\n", - " route_primary_direction bunched_y_n trip_instance_key \n", - "0 Eastbound bunched 3 \n", - "1 Eastbound not bunched 84 " - ] - }, - "execution_count": 128, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "transit_matters_df2.head(2)" - ] - }, - { - "cell_type": "code", - "execution_count": 129, + "execution_count": 142, "id": "ebf0e403-89c5-4b2c-b962-44affe3c0b42", "metadata": {}, "outputs": [], "source": [ + "#Filter out only rows that are bunched.\n", "bunched_only = transit_matters_df2.loc[\n", " transit_matters_df2.bunched_y_n == \"bunched\"\n", "].reset_index(drop=True)" @@ -12629,246 +5406,93 @@ }, { "cell_type": "code", - "execution_count": 130, + "execution_count": 143, "id": "6f94980e-b9c4-4c1e-a497-ea4b3f88c55b", "metadata": {}, "outputs": [], "source": [ - "transit_matters_agg = [\n", - " \"schedule_gtfs_dataset_key\",\n", - " \"route_long_name\",\n", - " \"shape_array_key\",\n", - " \"route_id\",\n", - " \"stop_id\",\n", - " \"direction_id\",\n", - " \"route_primary_direction\",\n", - "]" - ] - }, - { - "cell_type": "code", - "execution_count": 131, - "id": "dcca9769-aa67-48d5-9b06-acc86cade877", - "metadata": {}, - "outputs": [], - "source": [ - "transit_matters_all_trips = (\n", - " transit_matters_df1.groupby(transit_matters_agg)\n", - " .agg({\"trip_instance_key\": \"nunique\"})\n", - " .reset_index()\n", - " .rename(columns={\"trip_instance_key\": \"all_trips\"})\n", - ")" - ] - }, - { - "cell_type": "code", - "execution_count": 132, - "id": "2f57e136-fc83-4eac-bc05-84f530e2f4b0", - "metadata": {}, - "outputs": [], - "source": [ - "bunched_only = pd.merge(\n", - " bunched_only, transit_matters_all_trips, on=transit_matters_agg, how=\"left\"\n", - ")" - ] - }, - { - "cell_type": "code", - "execution_count": 133, - "id": "55b8feb0-1e0a-4717-b966-ee360becfde5", - "metadata": {}, - "outputs": [], - "source": [ - "bunched_only[\"pct_trips_bunched\"] = (\n", - " bunched_only.trip_instance_key / bunched_only.all_trips * 100\n", - ")" - ] - }, - { - "cell_type": "code", - "execution_count": 134, - "id": "3674d237-8b1c-4943-afc8-45b85b4b13d7", - "metadata": {}, - "outputs": [], - "source": [ - "bunched_only = bunched_only.drop(columns = ['all_trips'])" - ] - }, - { - "cell_type": "code", - "execution_count": 135, - "id": "7213e2ad-8485-4e0a-b8b8-0aaf6dbae3ae", - "metadata": {}, - "outputs": [], - "source": [ - "# Merge back all trips.\n", - "transit_matters_m1 = pd.merge(\n", - " transit_matters_all_trips,\n", - " bunched_only,\n", - " on=transit_matters_agg,\n", - " how=\"left\",\n", - ")" - ] - }, - { - "cell_type": "code", - "execution_count": 136, - "id": "d96dde8f-8271-455a-b518-961a7ef670e0", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripsbunched_y_ntrip_instance_keypct_trips_bunched
00666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastbound87bunched3.003.45
10666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154160.00Eastbound81bunched5.006.17
\n", - "
" - ], - "text/plain": [ - " schedule_gtfs_dataset_key route_long_name \\\n", - "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "\n", - " shape_array_key route_id stop_id direction_id \\\n", - "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", - "1 12530c16e07a519c8a8543d487f26ade 901-13172 15416 0.00 \n", - "\n", - " route_primary_direction all_trips bunched_y_n trip_instance_key \\\n", - "0 Eastbound 87 bunched 3.00 \n", - "1 Eastbound 81 bunched 5.00 \n", - "\n", - " pct_trips_bunched \n", - "0 3.45 \n", - "1 6.17 " - ] - }, - "execution_count": 136, - "metadata": {}, - "output_type": "execute_result" - } - ], + "transit_matters_agg = [\n", + " \"schedule_gtfs_dataset_key\",\n", + " \"route_long_name\",\n", + " \"shape_array_key\",\n", + " \"route_id\",\n", + " \"stop_id\",\n", + " \"direction_id\",\n", + " \"route_primary_direction\",\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 144, + "id": "dcca9769-aa67-48d5-9b06-acc86cade877", + "metadata": {}, + "outputs": [], "source": [ - "transit_matters_m1.head(2)" + "# Aggregate all trips on the grain\n", + "transit_matters_all_trips = (\n", + " transit_matters_df1.groupby(transit_matters_agg)\n", + " .agg({\"trip_instance_key\": \"nunique\"})\n", + " .reset_index()\n", + " .rename(columns={\"trip_instance_key\": \"all_trips\"})\n", + ")" ] }, { "cell_type": "code", - "execution_count": 137, - "id": "f5253b6a-8cad-469f-a306-6fa712e9799a", + "execution_count": 145, + "id": "2f57e136-fc83-4eac-bc05-84f530e2f4b0", "metadata": {}, "outputs": [], "source": [ - "transit_matters_m1 = transit_matters_m1.drop(\n", - " columns=[\"bunched_y_n\", \"trip_instance_key\"]\n", + "# Merge back, using left merge to keep bunching\n", + "bunched_only = pd.merge(\n", + " bunched_only, transit_matters_all_trips, on=transit_matters_agg, how=\"left\"\n", ")" ] }, { "cell_type": "code", - "execution_count": 138, - "id": "4a25225a-7883-457f-a27a-f606164cdd37", + "execution_count": 146, + "id": "55b8feb0-1e0a-4717-b966-ee360becfde5", "metadata": {}, "outputs": [], "source": [ - "transit_matters_m1.pct_trips_bunched = transit_matters_m1.pct_trips_bunched.fillna(0)" + "bunched_only[\"pct_trips_bunched\"] = (\n", + " bunched_only.trip_instance_key / bunched_only.all_trips * 100\n", + ")" ] }, { "cell_type": "code", - "execution_count": 139, - "id": "81c80de5-6e3f-4781-a71d-cc0ad1472571", + "execution_count": 147, + "id": "3674d237-8b1c-4943-afc8-45b85b4b13d7", "metadata": {}, "outputs": [], "source": [ - "transit_matters_m2 = transit_matters_m1.drop_duplicates(\n", - " subset=transit_matters_agg\n", - ").reset_index(drop=True)" + "bunched_only = bunched_only.drop(columns=[\"all_trips\"])" ] }, { "cell_type": "code", - "execution_count": 140, - "id": "cf1a171d-5e06-4df8-b98c-f7a8d69266f9", + "execution_count": 148, + "id": "7213e2ad-8485-4e0a-b8b8-0aaf6dbae3ae", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "(21130, 9)" - ] - }, - "execution_count": 140, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ - "transit_matters_m2.shape" + "# Merge back all rows that don't have bunching trips.\n", + "transit_matters_m1 = pd.merge(\n", + " transit_matters_all_trips,\n", + " bunched_only,\n", + " on=transit_matters_agg,\n", + " how=\"left\",\n", + ")" ] }, { "cell_type": "code", - "execution_count": 141, - "id": "73779d42-9b3d-41f1-ab18-3ba1fa64ca1d", + "execution_count": 149, + "id": "d96dde8f-8271-455a-b518-961a7ef670e0", "metadata": {}, "outputs": [ { @@ -12900,6 +5524,8 @@ " direction_id\n", " route_primary_direction\n", " all_trips\n", + " bunched_y_n\n", + " trip_instance_key\n", " pct_trips_bunched\n", " \n", " \n", @@ -12914,6 +5540,8 @@ " 0.00\n", " Eastbound\n", " 87\n", + " bunched\n", + " 3.00\n", " 3.45\n", " \n", " \n", @@ -12926,44 +5554,10 @@ " 0.00\n", " Eastbound\n", " 81\n", + " bunched\n", + " 5.00\n", " 6.17\n", " \n", - " \n", - " 2\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " Metro G Line 901\n", - " 12530c16e07a519c8a8543d487f26ade\n", - " 901-13172\n", - " 15432\n", - " 0.00\n", - " Eastbound\n", - " 86\n", - " 1.16\n", - " \n", - " \n", - " 3\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " Metro G Line 901\n", - " 12530c16e07a519c8a8543d487f26ade\n", - " 901-13172\n", - " 15436\n", - " 0.00\n", - " Eastbound\n", - " 86\n", - " 3.49\n", - " \n", - " \n", - " 4\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " Metro G Line 901\n", - " 12530c16e07a519c8a8543d487f26ade\n", - " 901-13172\n", - " 15453\n", - " 0.00\n", - " Eastbound\n", - " 85\n", - " 2.35\n", - " \n", " \n", "\n", "" @@ -12972,313 +5566,99 @@ " schedule_gtfs_dataset_key route_long_name \\\n", "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "2 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "3 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "4 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", "\n", " shape_array_key route_id stop_id direction_id \\\n", "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", "1 12530c16e07a519c8a8543d487f26ade 901-13172 15416 0.00 \n", - "2 12530c16e07a519c8a8543d487f26ade 901-13172 15432 0.00 \n", - "3 12530c16e07a519c8a8543d487f26ade 901-13172 15436 0.00 \n", - "4 12530c16e07a519c8a8543d487f26ade 901-13172 15453 0.00 \n", - "\n", - " route_primary_direction all_trips pct_trips_bunched \n", - "0 Eastbound 87 3.45 \n", - "1 Eastbound 81 6.17 \n", - "2 Eastbound 86 1.16 \n", - "3 Eastbound 86 3.49 \n", - "4 Eastbound 85 2.35 " - ] - }, - "execution_count": 141, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "transit_matters_m2.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 142, - "id": "2e2abda3-b3de-4f03-baf4-7f764dd10255", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "count 21130.00\n", - "mean 2.51\n", - "std 4.98\n", - "min 0.00\n", - "25% 0.00\n", - "50% 0.00\n", - "75% 3.45\n", - "max 50.00\n", - "Name: pct_trips_bunched, dtype: float64" + "\n", + " route_primary_direction all_trips bunched_y_n trip_instance_key \\\n", + "0 Eastbound 87 bunched 3.00 \n", + "1 Eastbound 81 bunched 5.00 \n", + "\n", + " pct_trips_bunched \n", + "0 3.45 \n", + "1 6.17 " ] }, - "execution_count": 142, + "execution_count": 149, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "transit_matters_m2.pct_trips_bunched.describe()" + "transit_matters_m1.head(2)" ] }, { "cell_type": "code", - "execution_count": 143, - "id": "6f4c4386-acfb-483a-947d-0279710df61b", + "execution_count": 154, + "id": "f5253b6a-8cad-469f-a306-6fa712e9799a", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "(1673, 9)" - ] - }, - "execution_count": 143, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ - "transit_matters_m2.loc[transit_matters_m2.pct_trips_bunched >= 10].shape" + "transit_matters_m1 = transit_matters_m1.drop(\n", + " columns=[\"bunched_y_n\", \"trip_instance_key\"]\n", + ")" ] }, - { - "cell_type": "code", - "execution_count": 144, - "id": "c26437ce-7a3a-4f5c-8899-c1f7bfb55267", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripspct_trips_bunched
157917cc0cb1871dfd558f11a2885c145d144CALIFORNIA66f8ff2317567311c0e3717b21166d811138341.00Eastbound11410.53
179047cc0cb1871dfd558f11a2885c145d144O'SHAUGHNESSYfaa966bb5082760f9e81e0d9c50ca7c644164020.00Eastbound8411.90
182637cc0cb1871dfd558f11a2885c145d144QUINTARA-24TH STREET87e6dc9e03a78c8051d679d0afb081ff48162451.00Eastbound7212.50
134980666caf3ec1ecc96b74f4477ee4bc939Metro Local Linee467337ead65c2e1cb6561c59c0d31b160-13172122251.00Southbound6710.45
162397cc0cb1871dfd558f11a2885c145d144FILLMORE3c9fd7a0a26e2a9dd9c0a22ffe55dec422170741.00Northbound13118.32
20823cc53a0dbf5df90e3009b9cb5d89d80baDASH Pico Union/Echo Park7fca7ce64e1b773776b91ec1cf82c9ea486958015450.00Northbound6113.11
175707cc0cb1871dfd558f11a2885c145d144MISSION9c51f5391578cf13adc10ed131063ddf14155340.00Southbound9811.22
165067cc0cb1871dfd558f11a2885c145d144FULTON794a7cdfac5aa35187330b1929f6f4a95142151.00Eastbound911.11
161707cc0cb1871dfd558f11a2885c145d144FILLMORE2fe09ae2c449928945abe662a855ffb222132850.00Southbound12513.60
161317cc0cb1871dfd558f11a2885c145d144DIVISADEROf7ca40d11c2c069487a127cda920b15e24158791.00Northbound6914.49
\n", - "
" - ], + { + "cell_type": "code", + "execution_count": 150, + "id": "4a25225a-7883-457f-a27a-f606164cdd37", + "metadata": {}, + "outputs": [], + "source": [ + "transit_matters_m1.pct_trips_bunched = transit_matters_m1.pct_trips_bunched.fillna(0)" + ] + }, + { + "cell_type": "code", + "execution_count": 155, + "id": "2e2abda3-b3de-4f03-baf4-7f764dd10255", + "metadata": {}, + "outputs": [ + { + "data": { "text/plain": [ - " schedule_gtfs_dataset_key route_long_name \\\n", - "15791 7cc0cb1871dfd558f11a2885c145d144 CALIFORNIA \n", - "17904 7cc0cb1871dfd558f11a2885c145d144 O'SHAUGHNESSY \n", - "18263 7cc0cb1871dfd558f11a2885c145d144 QUINTARA-24TH STREET \n", - "13498 0666caf3ec1ecc96b74f4477ee4bc939 Metro Local Line \n", - "16239 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "20823 cc53a0dbf5df90e3009b9cb5d89d80ba DASH Pico Union/Echo Park \n", - "17570 7cc0cb1871dfd558f11a2885c145d144 MISSION \n", - "16506 7cc0cb1871dfd558f11a2885c145d144 FULTON \n", - "16170 7cc0cb1871dfd558f11a2885c145d144 FILLMORE \n", - "16131 7cc0cb1871dfd558f11a2885c145d144 DIVISADERO \n", - "\n", - " shape_array_key route_id stop_id direction_id \\\n", - "15791 66f8ff2317567311c0e3717b21166d81 1 13834 1.00 \n", - "17904 faa966bb5082760f9e81e0d9c50ca7c6 44 16402 0.00 \n", - "18263 87e6dc9e03a78c8051d679d0afb081ff 48 16245 1.00 \n", - "13498 e467337ead65c2e1cb6561c59c0d31b1 60-13172 12225 1.00 \n", - "16239 3c9fd7a0a26e2a9dd9c0a22ffe55dec4 22 17074 1.00 \n", - "20823 7fca7ce64e1b773776b91ec1cf82c9ea 4869 5801545 0.00 \n", - "17570 9c51f5391578cf13adc10ed131063ddf 14 15534 0.00 \n", - "16506 794a7cdfac5aa35187330b1929f6f4a9 5 14215 1.00 \n", - "16170 2fe09ae2c449928945abe662a855ffb2 22 13285 0.00 \n", - "16131 f7ca40d11c2c069487a127cda920b15e 24 15879 1.00 \n", - "\n", - " route_primary_direction all_trips pct_trips_bunched \n", - "15791 Eastbound 114 10.53 \n", - "17904 Eastbound 84 11.90 \n", - "18263 Eastbound 72 12.50 \n", - "13498 Southbound 67 10.45 \n", - "16239 Northbound 131 18.32 \n", - "20823 Northbound 61 13.11 \n", - "17570 Southbound 98 11.22 \n", - "16506 Eastbound 9 11.11 \n", - "16170 Southbound 125 13.60 \n", - "16131 Northbound 69 14.49 " + "count 21130.00\n", + "mean 2.51\n", + "std 4.98\n", + "min 0.00\n", + "25% 0.00\n", + "50% 0.00\n", + "75% 3.45\n", + "max 50.00\n", + "Name: pct_trips_bunched, dtype: float64" ] }, - "execution_count": 144, + "execution_count": 155, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "transit_matters_m2.loc[transit_matters_m2.pct_trips_bunched >= 10].sample(10)" + "transit_matters_m1.pct_trips_bunched.describe()" ] }, { "cell_type": "code", - "execution_count": 145, - "id": "eeaef4d4-af1e-4a60-9bdf-4ba46679f931", + "execution_count": 156, + "id": "6f4c4386-acfb-483a-947d-0279710df61b", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "(21130, 9)" + "(1673, 9)" ] }, - "execution_count": 145, + "execution_count": 156, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "transit_matters_m1.shape" + "transit_matters_m1.loc[transit_matters_m1.pct_trips_bunched >= 10].shape" ] }, { @@ -13292,7 +5672,7 @@ }, { "cell_type": "code", - "execution_count": 146, + "execution_count": 157, "id": "2077b13c-84e8-41d4-a976-2b475cbeb731", "metadata": {}, "outputs": [ @@ -13392,7 +5772,7 @@ "13445 24.09 Frequent bunching " ] }, - "execution_count": 146, + "execution_count": 157, "metadata": {}, "output_type": "execute_result" } @@ -13407,7 +5787,7 @@ }, { "cell_type": "code", - "execution_count": 147, + "execution_count": 158, "id": "eb207d10-fe7d-4f00-8d15-15436252b7b0", "metadata": {}, "outputs": [], @@ -13421,7 +5801,7 @@ }, { "cell_type": "code", - "execution_count": 148, + "execution_count": 159, "id": "fa0d1de2-7142-445f-81c2-750d9b646b12", "metadata": {}, "outputs": [ @@ -13429,23 +5809,25 @@ "name": "stderr", "output_type": "stream", "text": [ - "/tmp/ipykernel_476/224883205.py:2: SettingWithCopyWarning: \n", + "/tmp/ipykernel_317/435831703.py:2: SettingWithCopyWarning: \n", "A value is trying to be set on a copy of a slice from a DataFrame.\n", "Try using .loc[row_indexer,col_indexer] = value instead\n", "\n", "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " transit_matters_fillmore_test[\"actual_headway_min\"] = transit_matters_fillmore_test.actual_headway/ 60\n" + " transit_matters_fillmore_test[\"actual_headway_min\"] = (\n" ] } ], "source": [ "# Manually calculate\n", - "transit_matters_fillmore_test[\"actual_headway_min\"] = transit_matters_fillmore_test.actual_headway/ 60" + "transit_matters_fillmore_test[\"actual_headway_min\"] = (\n", + " transit_matters_fillmore_test.actual_headway / 60\n", + ")" ] }, { "cell_type": "code", - "execution_count": 149, + "execution_count": 160, "id": "57f84892-4fc7-4030-86ab-10e330216da3", "metadata": {}, "outputs": [ @@ -13453,17 +5835,19 @@ "name": "stderr", "output_type": "stream", "text": [ - "/tmp/ipykernel_476/4094556237.py:1: SettingWithCopyWarning: \n", + "/tmp/ipykernel_317/2455219532.py:1: SettingWithCopyWarning: \n", "A value is trying to be set on a copy of a slice from a DataFrame.\n", "Try using .loc[row_indexer,col_indexer] = value instead\n", "\n", "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " transit_matters_fillmore_test[\"schd_headway_min\"] = transit_matters_fillmore_test.schd_headway/ 60\n" + " transit_matters_fillmore_test[\"schd_headway_min\"] = (\n" ] } ], "source": [ - "transit_matters_fillmore_test[\"schd_headway_min\"] = transit_matters_fillmore_test.schd_headway/ 60" + "transit_matters_fillmore_test[\"schd_headway_min\"] = (\n", + " transit_matters_fillmore_test.schd_headway / 60\n", + ")" ] }, { @@ -13472,290 +5856,8 @@ "metadata": {}, "source": [ "### Use 2 minute benchmark\n", - "* [Source](https://static1.squarespace.com/static/533b9a24e4b01d79d0ae4376/t/645e82de1f570b31497c44dc/1683915486889/TransitMatters-Headwaymanagement.pdf)" - ] - }, - { - "cell_type": "code", - "execution_count": 153, - "id": "e0706e7e-0d56-43b2-bf3c-4205e9277c64", - "metadata": {}, - "outputs": [], - "source": [ - "two_minutess_df = rt_stop_times6.copy()" - ] - }, - { - "cell_type": "code", - "execution_count": 154, - "id": "5629ff17-666b-422a-b833-956666008ed5", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headway
010105002681555-DEC234201257300.000666caf3ec1ecc96b74f4477ee4bc9391c45265e242009e9589b98d1ec99590757279105-131726b06373e4a70b2cb094870285bd92bec608992664173210532aa3e6cc573be2fMetro Local Line0.00Westbound14.59-21.001146.001200.00
110105002681615-DEC234201258500.000666caf3ec1ecc96b74f4477ee4bc9395cac677d47265ba63da650b8878ab40358551105-131726b06373e4a70b2cb094870285bd92bec608992664173210532aa3e6cc573be2fMetro Local Line0.00Westbound14.5951.001272.001200.00
\n", - "
" - ], - "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "0 10105002681555-DEC23 4201 2 57300.00 \n", - "1 10105002681615-DEC23 4201 2 58500.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "0 0666caf3ec1ecc96b74f4477ee4bc939 1c45265e242009e9589b98d1ec995907 \n", - "1 0666caf3ec1ecc96b74f4477ee4bc939 5cac677d47265ba63da650b8878ab403 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "0 57279 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "1 58551 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "0 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "1 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "0 Westbound 14.59 -21.00 1146.00 \n", - "1 Westbound 14.59 51.00 1272.00 \n", - "\n", - " schd_headway \n", - "0 1200.00 \n", - "1 1200.00 " - ] - }, - "execution_count": 154, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "two_minutess_df.head(2)" - ] - }, - { - "cell_type": "code", - "execution_count": 155, - "id": "a0c04034-7c1a-49c9-9270-8bf9af8feac1", - "metadata": {}, - "outputs": [], - "source": [ - "two_minutess_df[\"actual_headway_min\"] = two_minutess_df.actual_headway / 60" - ] - }, - { - "cell_type": "code", - "execution_count": 156, - "id": "3add6aac-78c3-4971-bd64-a455631cd9d2", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayactual_headwayschd_headwayactual_headway_min
010105002681555-DEC234201257300.000666caf3ec1ecc96b74f4477ee4bc9391c45265e242009e9589b98d1ec99590757279105-131726b06373e4a70b2cb094870285bd92bec608992664173210532aa3e6cc573be2fMetro Local Line0.00Westbound14.59-21.001146.001200.0019.10
110105002681615-DEC234201258500.000666caf3ec1ecc96b74f4477ee4bc9395cac677d47265ba63da650b8878ab40358551105-131726b06373e4a70b2cb094870285bd92bec608992664173210532aa3e6cc573be2fMetro Local Line0.00Westbound14.5951.001272.001200.0021.20
\n", - "
" - ], - "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "0 10105002681555-DEC23 4201 2 57300.00 \n", - "1 10105002681615-DEC23 4201 2 58500.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "0 0666caf3ec1ecc96b74f4477ee4bc939 1c45265e242009e9589b98d1ec995907 \n", - "1 0666caf3ec1ecc96b74f4477ee4bc939 5cac677d47265ba63da650b8878ab403 \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "0 57279 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "1 58551 105-13172 6b06373e4a70b2cb094870285bd92bec \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "0 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "1 608992664173210532aa3e6cc573be2f Metro Local Line 0.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay actual_headway \\\n", - "0 Westbound 14.59 -21.00 1146.00 \n", - "1 Westbound 14.59 51.00 1272.00 \n", - "\n", - " schd_headway actual_headway_min \n", - "0 1200.00 19.10 \n", - "1 1200.00 21.20 " - ] - }, - "execution_count": 156, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "two_minutess_df.head(2)" - ] - }, - { - "cell_type": "markdown", - "id": "bbdf1992-8993-4984-9557-31f4a1b0dc0d", - "metadata": {}, - "source": [ - "Justifying the use of\n", + "* [Source](https://static1.squarespace.com/static/533b9a24e4b01d79d0ae4376/t/645e82de1f570b31497c44dc/1683915486889/TransitMatters-Headwaymanagement.pdf)\n", + "* Justifying the use of\n", "headway maintenance. For example, in April\n", "2022 the 66 bus significantly bunched around\n", "several stops. When bunching is defined as\n", @@ -13776,7 +5878,27 @@ }, { "cell_type": "code", - "execution_count": 157, + "execution_count": 161, + "id": "e0706e7e-0d56-43b2-bf3c-4205e9277c64", + "metadata": {}, + "outputs": [], + "source": [ + "two_minutess_df = rt_stop_times6.copy()" + ] + }, + { + "cell_type": "code", + "execution_count": 162, + "id": "a0c04034-7c1a-49c9-9270-8bf9af8feac1", + "metadata": {}, + "outputs": [], + "source": [ + "two_minutess_df[\"actual_headway_min\"] = two_minutess_df.actual_headway / 60" + ] + }, + { + "cell_type": "code", + "execution_count": 163, "id": "bd9b8ee4-aab3-42c9-b29a-9679f5494ffa", "metadata": {}, "outputs": [], @@ -13788,7 +5910,7 @@ }, { "cell_type": "code", - "execution_count": 158, + "execution_count": 164, "id": "83382d9f-09c5-4bf2-a55b-41dc541dee51", "metadata": {}, "outputs": [ @@ -13831,7 +5953,7 @@ }, { "cell_type": "code", - "execution_count": 159, + "execution_count": 165, "id": "dcd302cb-5f30-4318-8b28-cb29f6c376cd", "metadata": {}, "outputs": [ @@ -13843,7 +5965,7 @@ "Name: bunched_y_n, dtype: int64" ] }, - "execution_count": 159, + "execution_count": 165, "metadata": {}, "output_type": "execute_result" } @@ -13857,12 +5979,12 @@ "id": "626c2f22-4d45-4fe2-814d-773ae9dbd843", "metadata": {}, "source": [ - "#### Same code as Transit Matters" + "#### Same code as Transit Matters Approach" ] }, { "cell_type": "code", - "execution_count": 160, + "execution_count": 166, "id": "f2532ed7-194c-4b2d-841c-a2282379a44a", "metadata": {}, "outputs": [], @@ -13887,7 +6009,7 @@ }, { "cell_type": "code", - "execution_count": 161, + "execution_count": 167, "id": "666be796-5edd-42aa-bffb-a5105d0753f5", "metadata": {}, "outputs": [], @@ -13901,34 +6023,7 @@ }, { "cell_type": "code", - "execution_count": 162, - "id": "2ccc668c-1d06-4359-9b5a-94baf8c98745", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "['schedule_gtfs_dataset_key',\n", - " 'route_long_name',\n", - " 'shape_array_key',\n", - " 'route_id',\n", - " 'stop_id',\n", - " 'direction_id',\n", - " 'route_primary_direction']" - ] - }, - "execution_count": 162, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "transit_matters_agg" - ] - }, - { - "cell_type": "code", - "execution_count": 163, + "execution_count": 168, "id": "37519780-57b0-47c8-a911-aa53ff7eb4d6", "metadata": {}, "outputs": [], @@ -13952,7 +6047,7 @@ }, { "cell_type": "code", - "execution_count": 164, + "execution_count": 169, "id": "993d3341-bb43-4553-852a-341b8726b710", "metadata": {}, "outputs": [], @@ -13964,138 +6059,17 @@ }, { "cell_type": "code", - "execution_count": 165, - "id": "0e1da903-1fcf-4025-bf3c-6bd299cb3dcd", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionbunched_y_nbunched_tripsall_tripspct_trips_bunched
00666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastboundbunched2872.30
10666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154160.00Eastboundbunched3813.70
\n", - "
" - ], - "text/plain": [ - " schedule_gtfs_dataset_key route_long_name \\\n", - "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "\n", - " shape_array_key route_id stop_id direction_id \\\n", - "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", - "1 12530c16e07a519c8a8543d487f26ade 901-13172 15416 0.00 \n", - "\n", - " route_primary_direction bunched_y_n bunched_trips all_trips \\\n", - "0 Eastbound bunched 2 87 \n", - "1 Eastbound bunched 3 81 \n", - "\n", - " pct_trips_bunched \n", - "0 2.30 \n", - "1 3.70 " - ] - }, - "execution_count": 165, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "bunched_only_two_min.head(2)" - ] - }, - { - "cell_type": "code", - "execution_count": 166, - "id": "c30b2438-6ad9-429d-95ab-2cd57bef2182", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "(6538, 11)" - ] - }, - "execution_count": 166, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "bunched_only_two_min.shape" - ] - }, - { - "cell_type": "code", - "execution_count": 167, + "execution_count": 170, "id": "91b29863-5465-48c9-8257-bf8d84457b11", "metadata": {}, "outputs": [], "source": [ - "bunched_only_two_min = bunched_only_two_min.drop(columns = ['all_trips'])" + "bunched_only_two_min = bunched_only_two_min.drop(columns=[\"all_trips\"])" ] }, { "cell_type": "code", - "execution_count": 168, + "execution_count": 171, "id": "9cb116be-b313-40e3-a0ef-a510b42da6e1", "metadata": {}, "outputs": [], @@ -14119,7 +6093,7 @@ }, { "cell_type": "code", - "execution_count": 169, + "execution_count": 181, "id": "961b9cfb-cb94-485c-bcf5-92e9b51024d4", "metadata": {}, "outputs": [ @@ -14129,7 +6103,7 @@ "(21130, 11)" ] }, - "execution_count": 169, + "execution_count": 181, "metadata": {}, "output_type": "execute_result" } @@ -14140,12 +6114,12 @@ }, { "cell_type": "code", - "execution_count": 170, + "execution_count": 182, "id": "cfefaf19-4eaa-4d10-a83d-79d2fe5d9c62", "metadata": {}, "outputs": [], "source": [ - "final_two_minute = final_two_minute.drop(columns = ['bunched_y_n','bunched_trips'])" + "final_two_minute = final_two_minute.drop(columns=[\"bunched_y_n\", \"bunched_trips\"])" ] }, { @@ -14153,130 +6127,42 @@ "id": "0245edb1-d604-49ce-895b-5427aa335c19", "metadata": {}, "source": [ - "### Checkout all 3 using Fillmore again" - ] - }, - { - "cell_type": "code", - "execution_count": 171, - "id": "ff3e9b4f-7605-48c2-8b0a-20f81256a245", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "(21130, 9)" - ] - }, - "execution_count": 171, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "transit_matters_m2.shape" + "### Checkout all 3 using a stop_sequence/direction_id for Fillmore again\n", + "* Very different results between the 3 approaches. \n", + "* The coefficient one says frequent bunching lol, but the other methods say there isn't any bunching..." ] }, { "cell_type": "code", "execution_count": 172, - "id": "50982a5e-db93-4550-917d-774fbf6849ea", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "(17781, 21)" - ] - }, - "execution_count": 172, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "bunching_by_stops.shape" - ] - }, - { - "cell_type": "code", - "execution_count": 173, - "id": "1a310699-0a6d-45eb-bb4d-934911b34da9", + "id": "ff3e9b4f-7605-48c2-8b0a-20f81256a245", "metadata": {}, "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
schedule_gtfs_dataset_keyroute_long_nameshape_array_keyroute_idstop_iddirection_idroute_primary_directionall_tripspct_trips_bunched
00666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172153130.00Eastbound873.45
10666caf3ec1ecc96b74f4477ee4bc939Metro G Line 90112530c16e07a519c8a8543d487f26ade901-13172154160.00Eastbound816.17
\n", - "
" - ], + { + "data": { "text/plain": [ - " schedule_gtfs_dataset_key route_long_name \\\n", - "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "\n", - " shape_array_key route_id stop_id direction_id \\\n", - "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", - "1 12530c16e07a519c8a8543d487f26ade 901-13172 15416 0.00 \n", - "\n", - " route_primary_direction all_trips pct_trips_bunched \n", - "0 Eastbound 87 3.45 \n", - "1 Eastbound 81 6.17 " + "(21130, 11)" + ] + }, + "execution_count": 172, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "transit_matters_m2.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 173, + "id": "50982a5e-db93-4550-917d-774fbf6849ea", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(17781, 21)" ] }, "execution_count": 173, @@ -14285,13 +6171,13 @@ } ], "source": [ - "transit_matters_m2.head(2)" + "bunching_by_stops.shape" ] }, { "cell_type": "code", - "execution_count": 174, - "id": "2aee462e-b6f7-4e37-aca6-bd884adba4b2", + "execution_count": 180, + "id": "b1249289-f44d-468d-90f1-c27d78ea8b15", "metadata": {}, "outputs": [ { @@ -14315,72 +6201,97 @@ " \n", " \n", " \n", + " trip_id\n", + " stop_id\n", + " stop_sequence\n", + " scheduled_arrival_sec\n", " schedule_gtfs_dataset_key\n", - " route_long_name\n", - " shape_array_key\n", + " trip_instance_key\n", + " rt_arrival_sec\n", " route_id\n", - " stop_id\n", + " shape_array_key\n", + " feed_key\n", + " route_long_name\n", " direction_id\n", " route_primary_direction\n", - " all_trips\n", - " pct_trips_bunched\n", + " frequency_in_minutes\n", + " delay\n", + " schd_headway\n", + " avg_schd_headway_sec\n", + " std_dev_headway\n", + " bunching_coefficient\n", + " avg_schd_headway_min\n", + " passenger_op_perspective\n", " \n", " \n", " \n", " \n", - " 0\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " Metro G Line 901\n", - " 12530c16e07a519c8a8543d487f26ade\n", - " 901-13172\n", - " 15313\n", - " 0.00\n", - " Eastbound\n", - " 87\n", - " 2.30\n", - " \n", - " \n", - " 1\n", - " 0666caf3ec1ecc96b74f4477ee4bc939\n", - " Metro G Line 901\n", - " 12530c16e07a519c8a8543d487f26ade\n", - " 901-13172\n", - " 15416\n", + " 13445\n", + " 11489975_M31\n", + " 13086\n", + " 13\n", + " 69106.00\n", + " 7cc0cb1871dfd558f11a2885c145d144\n", + " d30242b374225ed75a4aadd78fa8d7be\n", + " 69048\n", + " 22\n", + " 1b678a66d0009c55bc573cfc37aa1029\n", + " 7f69c2fdaa134642f14064a0b64d1495\n", + " FILLMORE\n", " 0.00\n", - " Eastbound\n", - " 81\n", - " 3.70\n", + " Southbound\n", + " 7.61\n", + " -58.00\n", + " 1907.00\n", + " 1445.50\n", + " 960.66\n", + " 0.66\n", + " 24.09\n", + " Frequent bunching\n", " \n", " \n", "\n", "" ], "text/plain": [ - " schedule_gtfs_dataset_key route_long_name \\\n", - "0 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", - "1 0666caf3ec1ecc96b74f4477ee4bc939 Metro G Line 901 \n", + " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", + "13445 11489975_M31 13086 13 69106.00 \n", "\n", - " shape_array_key route_id stop_id direction_id \\\n", - "0 12530c16e07a519c8a8543d487f26ade 901-13172 15313 0.00 \n", - "1 12530c16e07a519c8a8543d487f26ade 901-13172 15416 0.00 \n", + " schedule_gtfs_dataset_key trip_instance_key \\\n", + "13445 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", + "\n", + " rt_arrival_sec route_id shape_array_key \\\n", + "13445 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", + "\n", + " feed_key route_long_name direction_id \\\n", + "13445 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", + "\n", + " route_primary_direction frequency_in_minutes delay schd_headway \\\n", + "13445 Southbound 7.61 -58.00 1907.00 \n", "\n", - " route_primary_direction all_trips pct_trips_bunched \n", - "0 Eastbound 87 2.30 \n", - "1 Eastbound 81 3.70 " + " avg_schd_headway_sec std_dev_headway bunching_coefficient \\\n", + "13445 1445.50 960.66 0.66 \n", + "\n", + " avg_schd_headway_min passenger_op_perspective \n", + "13445 24.09 Frequent bunching " ] }, - "execution_count": 174, + "execution_count": 180, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "final_two_minute.head(2)" + "fillmore.loc[\n", + " (fillmore.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", + " & (fillmore.stop_id == \"13086\")\n", + " & (fillmore.direction_id == 0)\n", + "]" ] }, { "cell_type": "code", - "execution_count": 175, + "execution_count": 176, "id": "90f9c952-ecde-46d3-9b3f-93ba0004bb64", "metadata": {}, "outputs": [ @@ -14413,6 +6324,8 @@ " direction_id\n", " route_primary_direction\n", " all_trips\n", + " bunched_y_n\n", + " trip_instance_key\n", " pct_trips_bunched\n", " \n", " \n", @@ -14427,6 +6340,8 @@ " 0.00\n", " Southbound\n", " 7\n", + " NaN\n", + " NaN\n", " 0.00\n", " \n", " \n", @@ -14440,11 +6355,14 @@ " shape_array_key route_id stop_id direction_id \\\n", "16137 1b678a66d0009c55bc573cfc37aa1029 22 13086 0.00 \n", "\n", - " route_primary_direction all_trips pct_trips_bunched \n", - "16137 Southbound 7 0.00 " + " route_primary_direction all_trips bunched_y_n trip_instance_key \\\n", + "16137 Southbound 7 NaN NaN \n", + "\n", + " pct_trips_bunched \n", + "16137 0.00 " ] }, - "execution_count": 175, + "execution_count": 176, "metadata": {}, "output_type": "execute_result" } @@ -14459,7 +6377,7 @@ }, { "cell_type": "code", - "execution_count": 176, + "execution_count": 177, "id": "68c6e64d-362e-4562-bc4d-3b8b03bd256d", "metadata": {}, "outputs": [ @@ -14492,6 +6410,8 @@ " direction_id\n", " route_primary_direction\n", " all_trips\n", + " bunched_y_n\n", + " bunched_trips\n", " pct_trips_bunched\n", " \n", " \n", @@ -14507,6 +6427,8 @@ " Southbound\n", " 7\n", " NaN\n", + " NaN\n", + " NaN\n", " \n", " \n", "\n", @@ -14519,11 +6441,14 @@ " shape_array_key route_id stop_id direction_id \\\n", "16137 1b678a66d0009c55bc573cfc37aa1029 22 13086 0.00 \n", "\n", - " route_primary_direction all_trips pct_trips_bunched \n", - "16137 Southbound 7 NaN " + " route_primary_direction all_trips bunched_y_n bunched_trips \\\n", + "16137 Southbound 7 NaN NaN \n", + "\n", + " pct_trips_bunched \n", + "16137 NaN " ] }, - "execution_count": 176, + "execution_count": 177, "metadata": {}, "output_type": "execute_result" } @@ -14538,7 +6463,7 @@ }, { "cell_type": "code", - "execution_count": 189, + "execution_count": 178, "id": "bb2c1e1a-e243-4786-b9e1-07e64e8a7fbf", "metadata": {}, "outputs": [ @@ -14546,23 +6471,25 @@ "name": "stderr", "output_type": "stream", "text": [ - "/tmp/ipykernel_476/663165469.py:2: SettingWithCopyWarning: \n", + "/tmp/ipykernel_317/3005708948.py:2: SettingWithCopyWarning: \n", "A value is trying to be set on a copy of a slice from a DataFrame.\n", "Try using .loc[row_indexer,col_indexer] = value instead\n", "\n", "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " transit_matters_fillmore_test['rt_arrival_time'] = pd.to_timedelta(transit_matters_fillmore_test['rt_arrival_sec'], unit='s')\n" + " transit_matters_fillmore_test[\"rt_arrival_time\"] = pd.to_timedelta(\n" ] } ], "source": [ "# convert seconds to timestamp\n", - "transit_matters_fillmore_test['rt_arrival_time'] = pd.to_timedelta(transit_matters_fillmore_test['rt_arrival_sec'], unit='s')\n" + "transit_matters_fillmore_test[\"rt_arrival_time\"] = pd.to_timedelta(\n", + " transit_matters_fillmore_test[\"rt_arrival_sec\"], unit=\"s\"\n", + ")" ] }, { "cell_type": "code", - "execution_count": 190, + "execution_count": 179, "id": "2ac7215b-82e7-4cf7-92b0-220cb46a4416", "metadata": {}, "outputs": [ @@ -14856,128 +6783,13 @@ "452310 8.48 24.00 0 days 21:05:43 " ] }, - "execution_count": 190, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "transit_matters_fillmore_test " - ] - }, - { - "cell_type": "code", - "execution_count": 178, - "id": "b1249289-f44d-468d-90f1-c27d78ea8b15", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
trip_idstop_idstop_sequencescheduled_arrival_secschedule_gtfs_dataset_keytrip_instance_keyrt_arrival_secroute_idshape_array_keyfeed_keyroute_long_namedirection_idroute_primary_directionfrequency_in_minutesdelayschd_headwayavg_schd_headway_secstd_dev_headwaybunching_coefficientavg_schd_headway_minpassenger_op_perspective
1344511489975_M31130861369106.007cc0cb1871dfd558f11a2885c145d144d30242b374225ed75a4aadd78fa8d7be69048221b678a66d0009c55bc573cfc37aa10297f69c2fdaa134642f14064a0b64d1495FILLMORE0.00Southbound7.61-58.001907.001445.50960.660.6624.09Frequent bunching
\n", - "
" - ], - "text/plain": [ - " trip_id stop_id stop_sequence scheduled_arrival_sec \\\n", - "13445 11489975_M31 13086 13 69106.00 \n", - "\n", - " schedule_gtfs_dataset_key trip_instance_key \\\n", - "13445 7cc0cb1871dfd558f11a2885c145d144 d30242b374225ed75a4aadd78fa8d7be \n", - "\n", - " rt_arrival_sec route_id shape_array_key \\\n", - "13445 69048 22 1b678a66d0009c55bc573cfc37aa1029 \n", - "\n", - " feed_key route_long_name direction_id \\\n", - "13445 7f69c2fdaa134642f14064a0b64d1495 FILLMORE 0.00 \n", - "\n", - " route_primary_direction frequency_in_minutes delay schd_headway \\\n", - "13445 Southbound 7.61 -58.00 1907.00 \n", - "\n", - " avg_schd_headway_sec std_dev_headway bunching_coefficient \\\n", - "13445 1445.50 960.66 0.66 \n", - "\n", - " avg_schd_headway_min passenger_op_perspective \n", - "13445 24.09 Frequent bunching " - ] - }, - "execution_count": 178, + "execution_count": 179, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "fillmore.loc[\n", - " (fillmore.shape_array_key == \"1b678a66d0009c55bc573cfc37aa1029\")\n", - " & (fillmore.stop_id == \"13086\")\n", - " & (fillmore.direction_id == 0)\n", - "]" + "transit_matters_fillmore_test" ] } ],