Circhastic commited on
Commit
596c828
β€’
1 Parent(s): 22db911

Version 1 hotfix #21 for merge

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -192,6 +192,7 @@ def merge_forecast_data(actual, predicted, future):
192
  future.rename(columns={future.columns[0]: "Future Forecasted Sales"}, inplace=True)
193
 
194
  merged_dataframe = pd.concat([actual, predicted, future], axis=1)
 
195
  merged_dataframe = merged_dataframe.reset_index()
196
  return merged_dataframe
197
 
@@ -265,7 +266,7 @@ if 'forecasted' not in st.session_state:
265
  # Web Application
266
  st.title("Forecasting Dashboard πŸ“ˆ")
267
  if not st.session_state.uploaded:
268
- st.subheader("Welcome User, start forecasting by uploading your file in the sidebar!")
269
 
270
  # Sidebar Menu
271
  with st.sidebar:
 
192
  future.rename(columns={future.columns[0]: "Future Forecasted Sales"}, inplace=True)
193
 
194
  merged_dataframe = pd.concat([actual, predicted, future], axis=1)
195
+ merged_dataframe = merged_dataframe.fillna(-1)
196
  merged_dataframe = merged_dataframe.reset_index()
197
  return merged_dataframe
198
 
 
266
  # Web Application
267
  st.title("Forecasting Dashboard πŸ“ˆ")
268
  if not st.session_state.uploaded:
269
+ st.subheader("Welcome User, get started forecasting by uploading your file in the sidebar!")
270
 
271
  # Sidebar Menu
272
  with st.sidebar: