seaborn.load_dataset

seaborn.load_dataset(name, cache=True, data_home=None, **kws)

Load a dataset from the online repository (requires internet).

Parameters:

name : str

Name of the dataset (name.csv on https://github.com/mwaskom/seaborn-data). You can obtain list of available datasets using get_dataset_names()

cache : boolean, optional

If True, then cache data locally and use the cache on subsequent calls

data_home : string, optional

The directory in which to cache data. By default, uses ~/seaborn-data/

kws : dict, optional

Passed to pandas.read_csv