Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,9 +44,7 @@ plot_raw_data()
|
|
| 44 |
# Predict forecast with Prophet.
|
| 45 |
df_train = data[['Date', 'Close']]
|
| 46 |
df_train = df_train.rename(columns={"Date": "ds", "Close": "y"})
|
| 47 |
-
st.write(df_train.
|
| 48 |
-
df_train = df_train.iloc[1:]
|
| 49 |
-
df_train = df_train.reset_index(drop = True)
|
| 50 |
st.write(df_train.head()) # Check the first few rows of the DataFrame
|
| 51 |
|
| 52 |
|
|
|
|
| 44 |
# Predict forecast with Prophet.
|
| 45 |
df_train = data[['Date', 'Close']]
|
| 46 |
df_train = df_train.rename(columns={"Date": "ds", "Close": "y"})
|
| 47 |
+
st.write(df_train.columns)
|
|
|
|
|
|
|
| 48 |
st.write(df_train.head()) # Check the first few rows of the DataFrame
|
| 49 |
|
| 50 |
|