Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds ntd ridership numbers and impact analysis #1154

Merged
merged 3 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions holiday_service_research/funcs_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,16 @@ def plot_confusion_matrices(df, y_true, y_pred, title):
plt.ylabel('GTFS Service Levels (% of agencies)', fontweight='bold')
plt.title(title, fontweight='bold')
file = title
plt.savefig(f"plots/{file}.png")
plt.savefig(f"{file}.png")
# return cm, df_cm

excel_col_order = ['Name', 'Notes', 'gtfs_dataset_name',
'Total VOMS (NTD) (from Provider)', 'Customer Facing',"name",
'Total VOMS (NTD) (from Provider)',
'sum_unlinked_passenger_trips_upt',
'Holiday Website Status',
'ntd_id_2022',
'Customer Facing',
"name",
"Reference Saturday",
"Reference Sunday",
"Reference Weekday",
Expand Down
Loading
Loading