Spaces:
Runtime error
Runtime error
Commit
•
4cfa287
1
Parent(s):
e3c720f
Update app.py
Browse files
app.py
CHANGED
@@ -20,9 +20,9 @@ from functions import get_weather_data, get_weather_df, get_weather_json_quick
|
|
20 |
|
21 |
def greet(name):
|
22 |
X = pd.DataFrame()
|
23 |
-
for i in range(
|
24 |
# Get, rename column and rescalef
|
25 |
-
next_day_date = datetime.today()
|
26 |
next_day = next_day_date.strftime ('%Y-%m-%d')
|
27 |
json = get_weather_json_quick(next_day)
|
28 |
temp = get_weather_data(json)
|
|
|
20 |
|
21 |
def greet(name):
|
22 |
X = pd.DataFrame()
|
23 |
+
for i in range(8):
|
24 |
# Get, rename column and rescalef
|
25 |
+
next_day_date = datetime.today() + timedelta(days=i)
|
26 |
next_day = next_day_date.strftime ('%Y-%m-%d')
|
27 |
json = get_weather_json_quick(next_day)
|
28 |
temp = get_weather_data(json)
|