Datasets
polars_ts.datasets
Dataset loading with SHA-256 integrity verification.
_download(url, dest)
Download a file from url to dest.
load_dataset(name, *, cache_dir=None)
Load a known dataset with SHA-256 integrity verification.
Parameters
name
Dataset key (e.g. "m4-hourly"). See REGISTRY for available names.
cache_dir
Directory for caching downloads. Defaults to ~/.cache/polars_ts.
Raises
KeyError If name is not in the registry. ValueError If the downloaded file's hash does not match the expected hash.