Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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)
|