Spaces:
Sleeping
Sleeping
Update stock_analysis.py
Browse files- stock_analysis.py +2 -2
stock_analysis.py
CHANGED
@@ -55,8 +55,8 @@ def get_stock_graph_and_info(idx, stock, interval, graph_type, forecast_method,
|
|
55 |
forecast = pd.DataFrame({
|
56 |
"Date": forecast_dates,
|
57 |
"Forecast": predictions,
|
58 |
-
"Lower_CI": confidence_intervals
|
59 |
-
"Upper_CI": confidence_intervals
|
60 |
})
|
61 |
|
62 |
if graph_type == 'Line Graph':
|
|
|
55 |
forecast = pd.DataFrame({
|
56 |
"Date": forecast_dates,
|
57 |
"Forecast": predictions,
|
58 |
+
"Lower_CI": confidence_intervals[:, 0],
|
59 |
+
"Upper_CI": confidence_intervals[:, 1]
|
60 |
})
|
61 |
|
62 |
if graph_type == 'Line Graph':
|