pandas.Index.groupby
- 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–2021, 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.3.4/reference/api/pandas.Index.groupby.html