Spaces:
Runtime error
Runtime error
Commit
·
257ed05
1
Parent(s):
b201284
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def stockprice(stockname,number_of_samples):
|
|
59 |
|
60 |
pred_df.reset_index(inplace=True)
|
61 |
pred_df = pred_df.rename(columns = {'index':'HOURS'})
|
62 |
-
pred_df.index =
|
63 |
|
64 |
plt.figure(figsize=(15, 6))
|
65 |
range_history = len(new_data)
|
|
|
59 |
|
60 |
pred_df.reset_index(inplace=True)
|
61 |
pred_df = pred_df.rename(columns = {'index':'HOURS'})
|
62 |
+
pred_df.index = pd.RangeIndex(start=1, stop=600, step=1)
|
63 |
|
64 |
plt.figure(figsize=(15, 6))
|
65 |
range_history = len(new_data)
|