load_forecasting#
- load_forecasting(name, extract_path=None, return_metadata=True)[source]#
Download/load forecasting problem from https://forecastingdata.org/.
- Parameters:
- namestring, file name to load from
- extract_pathoptional (default = None)
Path of the location for the data file. If none, data is written to os.path.dirname(__file__)/data/
- return_metadataboolean, default = True
If True, returns a tuple (data, metadata)
- Returns:
- X: Data stored in a dataframe, each column a series
- metadata: optional
returns the following meta data frequency,forecast_horizon,contain_missing_values,contain_equal_length
- Raises:
- Raise ValueException if the requested return type is not supported