Kr08 commited on
Commit
9ece7f3
·
verified ·
1 Parent(s): 074307b

Update stock_analysis.py

Browse files
Files changed (1) hide show
  1. 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.iloc[:, 0],
59
- "Upper_CI": confidence_intervals.iloc[:, 1]
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':