@@ -6187,6 +6187,7 @@ def any( # type: ignore[override]
61876187 filter_type = "bool" ,
61886188 )
61896189
6190+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "all" )
61906191 @Appender (make_doc ("all" , ndim = 1 ))
61916192 def all (
61926193 self ,
@@ -6206,6 +6207,7 @@ def all(
62066207 filter_type = "bool" ,
62076208 )
62086209
6210+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "min" )
62096211 @doc (make_doc ("min" , ndim = 1 ))
62106212 def min (
62116213 self ,
@@ -6218,6 +6220,7 @@ def min(
62186220 self , axis = axis , skipna = skipna , numeric_only = numeric_only , ** kwargs
62196221 )
62206222
6223+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "max" )
62216224 @doc (make_doc ("max" , ndim = 1 ))
62226225 def max (
62236226 self ,
@@ -6230,6 +6233,7 @@ def max(
62306233 self , axis = axis , skipna = skipna , numeric_only = numeric_only , ** kwargs
62316234 )
62326235
6236+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "sum" )
62336237 @doc (make_doc ("sum" , ndim = 1 ))
62346238 def sum (
62356239 self ,
@@ -6248,6 +6252,7 @@ def sum(
62486252 ** kwargs ,
62496253 )
62506254
6255+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "prod" )
62516256 @doc (make_doc ("prod" , ndim = 1 ))
62526257 def prod (
62536258 self ,
@@ -6266,6 +6271,7 @@ def prod(
62666271 ** kwargs ,
62676272 )
62686273
6274+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "mean" )
62696275 @doc (make_doc ("mean" , ndim = 1 ))
62706276 def mean (
62716277 self ,
@@ -6278,6 +6284,7 @@ def mean(
62786284 self , axis = axis , skipna = skipna , numeric_only = numeric_only , ** kwargs
62796285 )
62806286
6287+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "median" )
62816288 @doc (make_doc ("median" , ndim = 1 ))
62826289 def median (
62836290 self ,
@@ -6290,6 +6297,7 @@ def median(
62906297 self , axis = axis , skipna = skipna , numeric_only = numeric_only , ** kwargs
62916298 )
62926299
6300+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "sem" )
62936301 @doc (make_doc ("sem" , ndim = 1 ))
62946302 def sem (
62956303 self ,
@@ -6308,6 +6316,7 @@ def sem(
63086316 ** kwargs ,
63096317 )
63106318
6319+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "var" )
63116320 @doc (make_doc ("var" , ndim = 1 ))
63126321 def var (
63136322 self ,
@@ -6326,6 +6335,7 @@ def var(
63266335 ** kwargs ,
63276336 )
63286337
6338+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "std" )
63296339 @doc (make_doc ("std" , ndim = 1 ))
63306340 def std (
63316341 self ,
@@ -6344,6 +6354,7 @@ def std(
63446354 ** kwargs ,
63456355 )
63466356
6357+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "skew" )
63476358 @doc (make_doc ("skew" , ndim = 1 ))
63486359 def skew (
63496360 self ,
@@ -6356,6 +6367,7 @@ def skew(
63566367 self , axis = axis , skipna = skipna , numeric_only = numeric_only , ** kwargs
63576368 )
63586369
6370+ @deprecate_nonkeyword_arguments (version = "3.0" , allowed_args = ["self" ], name = "kurt" )
63596371 @doc (make_doc ("kurt" , ndim = 1 ))
63606372 def kurt (
63616373 self ,
0 commit comments