Spaces:
Running
Running
Circhastic
commited on
Commit
β’
596c828
1
Parent(s):
22db911
Version 1 hotfix #21 for merge
Browse files
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,
|
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:
|