@@ -1563,7 +1563,7 @@ def mean(self, numeric_only: bool = True):
1563
1563
"""
1564
1564
result = self ._cython_agg_general (
1565
1565
"mean" ,
1566
- alt = lambda x , axis : Series (x ).mean (numeric_only = numeric_only ),
1566
+ alt = lambda x : Series (x ).mean (numeric_only = numeric_only ),
1567
1567
numeric_only = numeric_only ,
1568
1568
)
1569
1569
return result .__finalize__ (self .obj , method = "groupby" )
@@ -1590,7 +1590,7 @@ def median(self, numeric_only=True):
1590
1590
"""
1591
1591
result = self ._cython_agg_general (
1592
1592
"median" ,
1593
- alt = lambda x , axis : Series (x ).median (axis = axis , numeric_only = numeric_only ),
1593
+ alt = lambda x : Series (x ).median (numeric_only = numeric_only ),
1594
1594
numeric_only = numeric_only ,
1595
1595
)
1596
1596
return result .__finalize__ (self .obj , method = "groupby" )
@@ -1646,7 +1646,7 @@ def var(self, ddof: int = 1):
1646
1646
"""
1647
1647
if ddof == 1 :
1648
1648
return self ._cython_agg_general (
1649
- "var" , alt = lambda x , axis : Series (x ).var (ddof = ddof )
1649
+ "var" , alt = lambda x : Series (x ).var (ddof = ddof )
1650
1650
)
1651
1651
else :
1652
1652
func = lambda x : x .var (ddof = ddof )
0 commit comments