holisticai.datasets.GroupByDataset#
- class holisticai.datasets.GroupByDataset(groupby_obj)[source]#
A class representing a Grouped Dataset.
Parameters:#
- groupby_objpandas.core.groupby.GroupBy
The pandas GroupBy object representing the grouped dataset.
Attributes:#
- grouped_nameslist
A list of the names of the groups in the dataset.
- featureslist
A list of the unique features in the dataset.
- ngroupsint
The number of groups in the dataset.
- random_statenumpy.random.RandomState
The random state object used for sampling.