Orangefish commited on
Commit
db1ef8c
1 Parent(s): 23fea77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def greet(name):
22
  X = pd.DataFrame()
23
  for i in range(8):
24
  # Get, rename column and rescalef
25
- target_date = datetime.today() - timedelta(days=i)
26
  target_date = target_date.strftime('%Y-%m-%d')
27
  json = get_weather_by_date(target_date)
28
  X = X.append(json['days'][0], ignore_index=True)
 
22
  X = pd.DataFrame()
23
  for i in range(8):
24
  # Get, rename column and rescalef
25
+ target_date = datetime.today() + timedelta(days=i)
26
  target_date = target_date.strftime('%Y-%m-%d')
27
  json = get_weather_by_date(target_date)
28
  X = X.append(json['days'][0], ignore_index=True)