pandas.Panel.groupby
-
Panel.groupby(function, axis='major')
[source] -
Group data on given axis, returning GroupBy object.
Parameters: -
function : callable
-
Mapping function for chosen access
-
axis : {‘major’, ‘minor’, ‘items’}, default ‘major’
Returns: -
grouped : PanelGroupBy
-
© 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.24.2/reference/api/pandas.Panel.groupby.html