Spaces:
Sleeping
Sleeping
all data and code well set for power bi
Browse files
app.py
CHANGED
@@ -234,7 +234,7 @@ def get_forecast(period_: str, pred_model: str):
|
|
234 |
|
235 |
fig.add_trace(
|
236 |
go.Scatter(
|
237 |
-
x=list(df_backtest.
|
238 |
y=list(df_backtest.historical_forecasts),
|
239 |
name='historical forecasts'
|
240 |
# x=list(df.Date), y=list(df.High)
|
@@ -242,7 +242,7 @@ def get_forecast(period_: str, pred_model: str):
|
|
242 |
|
243 |
fig.add_trace(
|
244 |
go.Scatter(
|
245 |
-
x=list(df_series.
|
246 |
y=list(df_series.actual_prices),
|
247 |
name="actual prices",
|
248 |
))
|
|
|
234 |
|
235 |
fig.add_trace(
|
236 |
go.Scatter(
|
237 |
+
x=list(df_backtest.Date),
|
238 |
y=list(df_backtest.historical_forecasts),
|
239 |
name='historical forecasts'
|
240 |
# x=list(df.Date), y=list(df.High)
|
|
|
242 |
|
243 |
fig.add_trace(
|
244 |
go.Scatter(
|
245 |
+
x=list(df_series.Date),
|
246 |
y=list(df_series.actual_prices),
|
247 |
name="actual prices",
|
248 |
))
|