Spaces:
Running
Running
Circhastic
commited on
Commit
•
0760af6
1
Parent(s):
64ab91a
Version 1 hotfix #6
Browse files
app.py
CHANGED
@@ -187,7 +187,7 @@ def merge_forecast_data(historical, test, future):
|
|
187 |
test.rename(columns={test.columns[0]: "Predicted Sales"}, inplace=True)
|
188 |
future = future.to_frame()
|
189 |
future.rename(columns={future.columns[0]: "Future Forecasted Sales"}, inplace=True)
|
190 |
-
merged_dataframe = pd.merge_ordered(historical, pd.merge_ordered(test, future))
|
191 |
return merged_dataframe
|
192 |
|
193 |
# TAPAS Model
|
|
|
187 |
test.rename(columns={test.columns[0]: "Predicted Sales"}, inplace=True)
|
188 |
future = future.to_frame()
|
189 |
future.rename(columns={future.columns[0]: "Future Forecasted Sales"}, inplace=True)
|
190 |
+
merged_dataframe = pd.merge_ordered(historical, pd.merge_ordered(test, future, left_index=True, right_index=True), left_index=True, right_index=True)
|
191 |
return merged_dataframe
|
192 |
|
193 |
# TAPAS Model
|