Circhastic commited on
Commit
cb240bf
1 Parent(s): 21a5308

Version 1 hotfix #15 for merge

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -194,6 +194,7 @@ def merge_forecast_data(actual, predicted, future):
194
  # merged_dataframe = pd.merge_ordered(actual, predicted, on='Date', suffixes=('_Actual', '_Predicted'))
195
  # merged_dataframe = pd.merge_ordered(merged_dataframe, future, on='Date')
196
  merged_dataframe = pd.concat([actual, predicted, future], axis=1)
 
197
  return merged_dataframe
198
 
199
  # TAPAS Model
 
194
  # merged_dataframe = pd.merge_ordered(actual, predicted, on='Date', suffixes=('_Actual', '_Predicted'))
195
  # merged_dataframe = pd.merge_ordered(merged_dataframe, future, on='Date')
196
  merged_dataframe = pd.concat([actual, predicted, future], axis=1)
197
+ merged_dataframe = merged_dataframe.set_index('Date')
198
  return merged_dataframe
199
 
200
  # TAPAS Model