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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue