You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be made flexible, so pd.Timedelta objects or the corresponding str specifications can be passed.
As an example, if an X is passed where the time index has a regular frequency of one hour (so, there are 24 data points every day), all these window_size values should be equivalent:
24
'24h'
'1d'
pd.Timedelta(hours=24)
pd.Timedelta(days=1)
The text was updated successfully, but these errors were encountered:
The primitive
mlprimitives.custom.timeseries_preprocessing
only accepts integers aswindow_size
specification:https://github.com/HDI-Project/MLPrimitives/blob/a592c8446aa614cd9d0eb6c73735d11ebc876129/mlprimitives/custom/timeseries_preprocessing.py#L216
This should be made flexible, so
pd.Timedelta
objects or the correspondingstr
specifications can be passed.As an example, if an
X
is passed where the time index has a regular frequency of one hour (so, there are 24 data points every day), all thesewindow_size
values should be equivalent:24
'24h'
'1d'
pd.Timedelta(hours=24)
pd.Timedelta(days=1)
The text was updated successfully, but these errors were encountered: