Skip to content

Commit 32d50db

Browse files
author
Thomas Lautenschlaeger
committed
cleaned agg_dict_like
1 parent 2dc980c commit 32d50db

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pandas/core/apply.py

-3
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,8 @@ def agg_dict_like(self) -> DataFrame | Series:
376376
from pandas import Index
377377
from pandas.core.reshape.concat import concat
378378

379-
filtered_col = self._filter_numeric_only()
380-
381379
obj = self.obj
382380
arg = cast(AggFuncTypeDict, self.f)
383-
arg = {k: arg[k] for k in arg.keys() if k not in filtered_col}
384381

385382
if getattr(obj, "axis", 0) == 1:
386383
raise NotImplementedError("axis other than 0 is not supported")

0 commit comments

Comments
 (0)