import openml
import ipyfacets as facets
# Download iris dataset
dataset = openml.datasets.get_dataset(61)
data, _, _, _ = dataset.get_data()
data.head()
sepallength | sepalwidth | petallength | petalwidth | class | |
---|---|---|---|---|---|
0 | 5.1 | 3.5 | 1.4 | 0.2 | Iris-setosa |
1 | 4.9 | 3.0 | 1.4 | 0.2 | Iris-setosa |
2 | 4.7 | 3.2 | 1.3 | 0.2 | Iris-setosa |
3 | 4.6 | 3.1 | 1.5 | 0.2 | Iris-setosa |
4 | 5.0 | 3.6 | 1.4 | 0.2 | Iris-setosa |
facets.overview({c: df for c, df in data.groupby(by='class')})
facets.dive(data)