rafat0421 commited on
Commit
3f8cb21
·
1 Parent(s): 49826c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ today = datetime.now()
27
  city = "helsinki"
28
  weather_df = pd.DataFrame()
29
  for i in range(8):
30
- weather_data = get_weather_df([get_weather_data((datetime.now() + timedelta(days=i)).strftime("%Y-%m-%d"))])
31
  weather_df = weather_df.append(weather_data)
32
 
33
  weather_df = weather_df.drop(columns=["precipprob", "uvindex", "date","city","conditions"]).fillna(0)
 
27
  city = "helsinki"
28
  weather_df = pd.DataFrame()
29
  for i in range(8):
30
+ weather_data = get_weather_df([get_weather_data((datetime.now() + datetime.timedelta(days=i)).strftime("%Y-%m-%d"))])
31
  weather_df = weather_df.append(weather_data)
32
 
33
  weather_df = weather_df.drop(columns=["precipprob", "uvindex", "date","city","conditions"]).fillna(0)