- class sakkara.model.DataComponent(data: ndarray[Any, dtype[ScalarType]] | Series, group: str | Tuple[str, ...], name: str | None = None)#
Wrap data, of some given colums, into a component
- Parameters:
data – Array of data to wrap.
group – Group(s) of which the component is defined for. The number of elements should correspond to the order of the data array.
name – Name of the component.