Index.groupby()
pandas.Index.groupby
-
Index.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–2014 the pandas development team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.18.1/generated/pandas.Index.groupby.html