Data

See full reference of datasets at: reference-maps/data

Datasets have to be imported individually by:

from datar.data import iris

# or
from datar import data

iris = data.iris

To list all available datasets:

from datar import data
print(datasets.descr_datasets())

file shows the path to the csv file of the dataset, and index shows if it has index (rownames).

Note

The column names are altered by replace . to _. For example Sepal.Width to Sepal_Width.

Note

Dataset names are case-insensitive. So you can do:

from datar.datasets import ToothGrowth
# or
from datar.datasets import toothgrowth

See also Backends for implementations to loaad datasets.