kk90ujhun commited on
Commit
3cfc085
·
1 Parent(s): bc5c009

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def pred(name):
48
  df_weather = df_weather.drop(columns=["date"]).fillna(0)
49
  # df_weather.insert(df_weather.index('tempmax'),'aqi')
50
  # df_weather["aqi"] = 0
51
- df.insert(loc=0, column='aqi', value=0)
52
  print(df_weather)
53
  # print(feature_view.columns)
54
  preds = model.predict(df_weather)
 
48
  df_weather = df_weather.drop(columns=["date"]).fillna(0)
49
  # df_weather.insert(df_weather.index('tempmax'),'aqi')
50
  # df_weather["aqi"] = 0
51
+ df_weather.insert(loc=0, column='aqi', value=0)
52
  print(df_weather)
53
  # print(feature_view.columns)
54
  preds = model.predict(df_weather)