# load_data()

Load a dataset.

Usage

[Source](https://github.com/bambinos/bambi/blob/main/bambi/data/datasets.py#L302-L346)

``` python
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`  
