Spaces:
Runtime error
Runtime error
Commit
·
df817f3
1
Parent(s):
405ff5a
Update app.py
Browse files
app.py
CHANGED
@@ -58,8 +58,6 @@ def stockprice(stockname,number_of_samples):
|
|
58 |
|
59 |
pred_df.reset_index(inplace=True)
|
60 |
pred_df = pred_df.rename(columns = {'index':'HOURS'})
|
61 |
-
pred_df.index = np.arange(1,len(pred_df)+1)
|
62 |
-
pred_df = pred_df.index
|
63 |
|
64 |
plt.figure(figsize=(15, 6))
|
65 |
range_history = len(new_data)
|
|
|
58 |
|
59 |
pred_df.reset_index(inplace=True)
|
60 |
pred_df = pred_df.rename(columns = {'index':'HOURS'})
|
|
|
|
|
61 |
|
62 |
plt.figure(figsize=(15, 6))
|
63 |
range_history = len(new_data)
|