CategoricalIndex.groupby()

pandas.CategoricalIndex.groupby

CategoricalIndex.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}

© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008&nd