Python pandas.core.groupby.PanelGroupBy() Examples
The following are 5
code examples of pandas.core.groupby.PanelGroupBy().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
pandas.core.groupby
, or try the search function
.
Example #1
Source File: panel.py From recruit with Apache License 2.0 | 6 votes |
def groupby(self, function, axis='major'): """ 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 """ from pandas.core.groupby import PanelGroupBy axis = self._get_axis_number(axis) return PanelGroupBy(self, function, axis=axis)
Example #2
Source File: panel.py From Computable with MIT License | 6 votes |
def groupby(self, function, axis='major'): """ 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 """ from pandas.core.groupby import PanelGroupBy axis = self._get_axis_number(axis) return PanelGroupBy(self, function, axis=axis)
Example #3
Source File: panel.py From predictive-maintenance-using-machine-learning with Apache License 2.0 | 6 votes |
def groupby(self, function, axis='major'): """ 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 """ from pandas.core.groupby import PanelGroupBy axis = self._get_axis_number(axis) return PanelGroupBy(self, function, axis=axis)
Example #4
Source File: panel.py From Splunking-Crime with GNU Affero General Public License v3.0 | 6 votes |
def groupby(self, function, axis='major'): """ 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 """ from pandas.core.groupby import PanelGroupBy axis = self._get_axis_number(axis) return PanelGroupBy(self, function, axis=axis)
Example #5
Source File: panel.py From elasticintel with GNU General Public License v3.0 | 6 votes |
def groupby(self, function, axis='major'): """ 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 """ from pandas.core.groupby import PanelGroupBy axis = self._get_axis_number(axis) return PanelGroupBy(self, function, axis=axis)