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:
824824 axis = self .axis ,
825825 skipna = True ,
826826 numeric_only = False ,
827- ** self .kwargs
827+ ** self .kwargs ,
828828 )
829829 return result
830830
@@ -845,10 +845,7 @@ def _agg_callable_fallback(self) -> DataFrame | Series:
845845 if self .axis == 1 :
846846 # For row-wise aggregation, transpose and recurse
847847 transposed_result = obj .T ._aggregate (
848- func ,
849- * self .args ,
850- axis = 0 ,
851- ** self .kwargs
848+ func , * self .args , axis = 0 , ** self .kwargs
852849 )
853850 return transposed_result
854851
@@ -885,6 +882,7 @@ def _agg_callable_fallback(self) -> DataFrame | Series:
885882 except Exception :
886883 return None
887884
885+
888886class NDFrameApply (Apply ):
889887 """
890888 Methods shared by FrameApply and SeriesApply but
You can’t perform that action at this time.
0 commit comments