Yasaman commited on
Commit
5bf138b
1 Parent(s): 4eb7bd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ fs = project.get_feature_store()
18
  def air_quality(city):
19
  weather_df = pd.DataFrame()
20
  for i in range(8):
21
- weather_data = get_weather_df([get_weather_data("Malmo",(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)
 
18
  def air_quality(city):
19
  weather_df = pd.DataFrame()
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)