Upgrade pandas
Also, replace the deprecated "T" frequency alias with "min", and access the trend by position with `.iloc`.
This commit is contained in:
parent
6290d280e2
commit
705955b38b
1 changed files with 105 additions and 85 deletions
|
|
@ -38,7 +38,7 @@ def forecast_interval():
|
|||
start_ats = pd.date_range(
|
||||
first_start_at,
|
||||
end_of_day,
|
||||
freq=f'{test_config.LONG_TIME_STEP}T',
|
||||
freq=f'{test_config.LONG_TIME_STEP}min',
|
||||
)
|
||||
gen = (
|
||||
start_at
|
||||
|
|
|
|||
Loading…
Reference in a new issue