W3cubDocs

/pandas 0.23

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.
http://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.Panel.groupby.html