Skip to content

Commit

Permalink
FIX-modin-project#2348: Fix default to pandas warnings (modin-project…
Browse files Browse the repository at this point in the history
…#2349)

Signed-off-by: Igoshev, Yaroslav <[email protected]>
  • Loading branch information
YarShev authored Oct 30, 2020
1 parent 776d8e2 commit 5251135
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions modin/backends/pandas/query_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2559,31 +2559,6 @@ def _callable_func(self, func, axis, *args, **kwargs):
method="size",
)

def groupby_dict_agg(self, by, func_dict, groupby_args, agg_args, drop=False):
"""Apply aggregation functions to a grouped dataframe per-column.
Parameters
----------
by : PandasQueryCompiler
The column to group by
func_dict : dict of str, callable/string
The dictionary mapping of column to function
groupby_args : dict
The dictionary of keyword arguments for the group by.
agg_args : dict
The dictionary of keyword arguments for the aggregation functions
drop : bool
Whether or not to drop the column from the data.
Returns
-------
PandasQueryCompiler
The result of the per-column aggregations on the grouped dataframe.
"""
return self.default_to_pandas(
lambda df: df.groupby(by=by, **groupby_args).agg(func_dict, **agg_args)
)

def groupby_agg(
self,
by,
Expand Down

0 comments on commit 5251135

Please sign in to comment.