File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -824,7 +824,7 @@ def agg_callable(self) -> DataFrame | Series:
824
824
axis = self .axis ,
825
825
skipna = True ,
826
826
numeric_only = False ,
827
- ** self .kwargs
827
+ ** self .kwargs ,
828
828
)
829
829
return result
830
830
@@ -845,10 +845,7 @@ def _agg_callable_fallback(self) -> DataFrame | Series:
845
845
if self .axis == 1 :
846
846
# For row-wise aggregation, transpose and recurse
847
847
transposed_result = obj .T ._aggregate (
848
- func ,
849
- * self .args ,
850
- axis = 0 ,
851
- ** self .kwargs
848
+ func , * self .args , axis = 0 , ** self .kwargs
852
849
)
853
850
return transposed_result
854
851
@@ -885,6 +882,7 @@ def _agg_callable_fallback(self) -> DataFrame | Series:
885
882
except Exception :
886
883
return None
887
884
885
+
888
886
class NDFrameApply (Apply ):
889
887
"""
890
888
Methods shared by FrameApply and SeriesApply but
You can’t perform that action at this time.
0 commit comments