Skip to content

Commit 5251135

Browse files
authored
FIX-#2348: Fix default to pandas warnings (#2349)
Signed-off-by: Igoshev, Yaroslav <[email protected]>
1 parent 776d8e2 commit 5251135

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

modin/backends/pandas/query_compiler.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2559,31 +2559,6 @@ def _callable_func(self, func, axis, *args, **kwargs):
25592559
method="size",
25602560
)
25612561

2562-
def groupby_dict_agg(self, by, func_dict, groupby_args, agg_args, drop=False):
2563-
"""Apply aggregation functions to a grouped dataframe per-column.
2564-
2565-
Parameters
2566-
----------
2567-
by : PandasQueryCompiler
2568-
The column to group by
2569-
func_dict : dict of str, callable/string
2570-
The dictionary mapping of column to function
2571-
groupby_args : dict
2572-
The dictionary of keyword arguments for the group by.
2573-
agg_args : dict
2574-
The dictionary of keyword arguments for the aggregation functions
2575-
drop : bool
2576-
Whether or not to drop the column from the data.
2577-
2578-
Returns
2579-
-------
2580-
PandasQueryCompiler
2581-
The result of the per-column aggregations on the grouped dataframe.
2582-
"""
2583-
return self.default_to_pandas(
2584-
lambda df: df.groupby(by=by, **groupby_args).agg(func_dict, **agg_args)
2585-
)
2586-
25872562
def groupby_agg(
25882563
self,
25892564
by,

0 commit comments

Comments
 (0)