awslabs / gluonts

Probabilistic time series modeling in Python
https://ts.gluon.ai
Apache License 2.0
4.41k stars 740 forks source link

How to use the Pandas frequency 'C' in gluonts.dataset.common.ListDataset #3165

Open LeonTing1010 opened 2 months ago

LeonTing1010 commented 2 months ago

How to use the Pandas frequency 'C' in gluonts.dataset.common.ListDataset

freq = pd.offsets.CustomBusinessDay(calendar=SSEExchangeCalendar()) dd = ListDataset(data, freq=freq, one_dim_target=False)