Skip to main content

Other

Monthly

Quarterly

Yearly

M3

M3.download

Download M3 Dataset. Parameters:
NameTypeDescriptionDefault
directorystrDirectory path to download dataset.required
class_groupDataclass with source_url and file_name.required

M3.load

Downloads and loads M3 data. Parameters:
NameTypeDescriptionDefault
directorystrDirectory where data will be downloaded.required
groupstrGroup name. Allowed groups: ‘Yearly’, ‘Quarterly’, ‘Monthly’, ‘Other’.required
Returns:
TypeDescription
Tuple[DataFrame, Optional[DataFrame], Optional[DataFrame]]pd.DataFrame: Target time series with columns [‘unique_id’, ‘ds’, ‘y’].