Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,7 @@ def air_quality(city):
|
|
20 |
for i in range(8):
|
21 |
weather_data = get_weather_df([get_weather_data((datetime.now() + timedelta(days=i)).strftime("%Y-%m-%d"))])
|
22 |
weather_df = weather_df.append(weather_data)
|
|
|
23 |
|
24 |
#weather_df = weather_df.drop(columns=["feelslikemin", "feelslikemax", "precipprob", "snowdepth", "uvindex", "date","city","conditions"]).fillna(0)
|
25 |
|
|
|
20 |
for i in range(8):
|
21 |
weather_data = get_weather_df([get_weather_data((datetime.now() + timedelta(days=i)).strftime("%Y-%m-%d"))])
|
22 |
weather_df = weather_df.append(weather_data)
|
23 |
+
print(weather_df)
|
24 |
|
25 |
#weather_df = weather_df.drop(columns=["feelslikemin", "feelslikemax", "precipprob", "snowdepth", "uvindex", "date","city","conditions"]).fillna(0)
|
26 |
|