load_data()

Load a dataset.

Usage

Source

load_data(
    dataset=None,
    data_home=None,
)

Run with no parameters to get a list of all available data sets.

The directory to save can also be set with the environment variable BAMBI_HOME. The checksum of the dataset is checked against a hardcoded value to watch for data corruption. Run bmb.clear_data_home() to clear the data directory.

Parameters

dataset: str or None = None

Name of dataset to load.

data_home: str or None = None
Where to save remote datasets.

Returns

pd.DataFrame or str