Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.CategoricalIndex.groupby

CategoricalIndex.groupby(values)[source]

Group the index labels by a given array of values.

Parameters:

values : array

Values used to determine the groups.

Returns:

groups : dict

{group name -> group labels}

Scroll To Top