Closed jwestw closed 2 years ago
Use either TOML or yaml to create config file that can take parameters into the script, making it easier for the user to choose how the script is run.
Parameters to abstract into the config file:
Your config file might look like this:
write_to_excel = true overwrite_excel = false
# some code to read in the yaml or toml if overwrite_excel: if write_to_excel: pd.to_excel() else: if os.is_file(file_path): pd.to_excel()
Additional Requirements: Add "Location" column and "Arrival Time Period" column. https://github.com/jwestw/Public_Transport_Efficiency/issues/11#issuecomment-1175161557
Use either TOML or yaml to create config file that can take parameters into the script, making it easier for the user to choose how the script is run.
Parameters to abstract into the config file:
Your config file might look like this: