danielle2003 commited on
Commit
4c729c6
·
verified ·
1 Parent(s): 8337ae8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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.head()) # Check the first few rows of the DataFrame
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