load_forecasting

load_forecasting(name, extract_path=None, return_metadata=False)[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:
URLError or HTTPError

If the website is not accessible.

ValueError

If a dataset name that does not exist on the repo is given or if a webpage is requested that does not exist.