Upgrade pandas

Also, replace the deprecated "T" frequency alias with "min",
and access the trend by position with `.iloc`.
This commit is contained in:
Alexander Hess 2026-11-25 13:08:32 +01:00
commit 705955b38b
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
2 changed files with 105 additions and 85 deletions

View file

@ -52,7 +52,7 @@ def vertical_datetime_index():
start_ats = pd.date_range(
test_config.START,
test_config.END,
freq=f'{test_config.LONG_TIME_STEP}T',
freq=f'{test_config.LONG_TIME_STEP}min',
)
gen = (
start_at
@ -107,7 +107,7 @@ def order_totals(good_pixel_id):
start_ats = pd.date_range(
test_config.START,
test_config.END,
freq=f'{test_config.LONG_TIME_STEP}T',
freq=f'{test_config.LONG_TIME_STEP}min',
)
gen = (
(pixel_id, start_at)

View file

@ -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