On this page
pandas.Index.groupby
Index.groupby(self, 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.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Index.groupby.html