Table Of Contents

Search

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

pandas.MultiIndex.groupby

MultiIndex.groupby(to_groupby)

Group the index labels by a given array of values.

Parameters:

to_groupby : array

Values used to determine the groups.

Returns:

groups : dict

{group name -> group labels}