@@ -11287,8 +11287,7 @@ def median(
11287
11287
11288
11288
setattr (cls , "median" , median )
11289
11289
11290
- # error: Untyped decorator makes function "max" untyped
11291
- @doc ( # type: ignore[misc]
11290
+ @doc (
11292
11291
_num_doc ,
11293
11292
desc = "Return the maximum of the values over the requested axis.\n \n "
11294
11293
"If you want the *index* of the maximum, use ``idxmax``. This is "
@@ -11312,8 +11311,7 @@ def max(
11312
11311
11313
11312
setattr (cls , "max" , max )
11314
11313
11315
- # error: Untyped decorator makes function "max" untyped
11316
- @doc ( # type: ignore[misc]
11314
+ @doc (
11317
11315
_num_doc ,
11318
11316
desc = "Return the minimum of the values over the requested axis.\n \n "
11319
11317
"If you want the *index* of the minimum, use ``idxmin``. This is "
@@ -12215,11 +12213,11 @@ def _doc_params(cls):
12215
12213
>>> pd.Series([np.nan]).sum(min_count=1)
12216
12214
nan"""
12217
12215
12218
- _max_examples = _shared_docs ["stat_func_example" ].format (
12216
+ _max_examples : str = _shared_docs ["stat_func_example" ].format (
12219
12217
stat_func = "max" , verb = "Max" , default_output = 8 , level_output_0 = 4 , level_output_1 = 8
12220
12218
)
12221
12219
12222
- _min_examples = _shared_docs ["stat_func_example" ].format (
12220
+ _min_examples : str = _shared_docs ["stat_func_example" ].format (
12223
12221
stat_func = "min" , verb = "Min" , default_output = 0 , level_output_0 = 2 , level_output_1 = 0
12224
12222
)
12225
12223
0 commit comments