Project

General

Profile

Support #11886

Pandas resample deprecation warning

Added by Philippe May 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
16/03/2021
Due date:
% Done:

100%

Close

Description

Found in server's log:

gisaf/api.py:156: FutureWarning:
'base' in .resample() and in Grouper() is deprecated.

and:

'loffset' in .resample() and in Grouper() is deprecated.

Deprecated in version 1.1.0, see https://pandas.pydata.org/docs/reference/api/pandas.Grouper.html

These arguments for resampling are used in custom models (eg. daily resampling for rainfall in AVGS WeatherStation)

Associated revisions

Revision 281cd479 (diff)
Added by Philippe May 8 months ago

Fix deprecation for resampling (Refs #11886)

Revision f0130534 (diff)
Added by Philippe May 8 months ago

Fix deprecation for resampling (Refs #11886)

History

#1 Updated by Philippe May 8 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Also available in: Atom PDF