pandas.Index.groupby
- final Index. groupby ( values ) [source]
-
Group the index labels by a given array of values.
- Parameters
-
- values :array
-
Values used to determine the groups.
- Returns
-
- dict
-
{group name -> group labels}
© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.4.0/reference/api/pandas.Index.groupby.html