scipp.groupby

scipp.groupby

scipp.groupby(data, group, *, bins=None)

Group dataset or data array based on values of specified labels.

Parameters
Returns

GroupBy helper object.

Return type

Union[scipp._scipp.core.GroupByDataArray, scipp._scipp.core.GroupByDataset]