Circhastic commited on
Commit
1d218d2
1 Parent(s): d0c4038

Version 1 hotfix #18 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
  # merged_dataframe = merged_dataframe.set_index('Date')
198
  return merged_dataframe
199
 
 
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.reset_index()
198
  # merged_dataframe = merged_dataframe.set_index('Date')
199
  return merged_dataframe
200