Spaces:
Runtime error
Runtime error
masterak25
commited on
Commit
·
2b92468
1
Parent(s):
7398b31
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,8 @@ 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
|
|
|
63 |
|
64 |
|
65 |
plt.figure(figsize=(15, 6))
|
|
|
59 |
|
60 |
pred_df.reset_index(inplace=True)
|
61 |
pred_df = pred_df.rename(columns = {'index':'HOURS'})
|
62 |
+
pred_df['HOURS'] = np.arange(1, len(pred_df) + 1)
|
63 |
+
|
64 |
|
65 |
|
66 |
plt.figure(figsize=(15, 6))
|