Index.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} |
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.Index.groupby.html