mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
Merge branch 'master' of github.com:Hestia-Homes/ML into sap-dev-assumed
This commit is contained in:
commit
29b350e33b
1 changed files with 12 additions and 0 deletions
|
|
@ -78,6 +78,18 @@ def generate_scenario_predictions(
|
|||
|
||||
scenario_data = pd.DataFrame()
|
||||
|
||||
# If we have no scenario data, we can save empty dataframes
|
||||
if scenario_data_filepaths is None:
|
||||
logger.info("No scenario data filepaths provided")
|
||||
output_dataclient.save_data(
|
||||
obj=scenario_data, location=comparison_output_filepath, save_config=None
|
||||
)
|
||||
|
||||
output_dataclient.save_data(
|
||||
obj=scenario_data, location=metrics_output_filepath, save_config=None
|
||||
)
|
||||
return
|
||||
|
||||
# Can have multiple scenario data files
|
||||
for scenario_data_filepath in scenario_data_filepaths:
|
||||
scenario_data = pd.concat(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue