altair.datasets.Loader#
- class altair.datasets.Loader#
Load example datasets remotely from vega-datasets, with caching.
A new
Loadermust be initialized by specifying a backend:from altair.datasets import Loader load = Loader.from_backend("polars") load Loader[polars]
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_backend([backend_name])Initialize a new loader, with the specified backend.
from_reader(reader, /)url(name[, suffix])Return the address of a remote dataset.
Attributes
cacheCaching of remote dataset requests.