def groupby(self, function, axis='<STR_LIT>'):
raise NotImplementedError("<STR_LIT>")<EOL>
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