File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -9959,7 +9959,7 @@ def _add_numeric_operations(cls):
9959
9959
see_also = "" ,
9960
9960
examples = "" ,
9961
9961
)
9962
- @Appender (_num_doc )
9962
+ @Appender (_num_doc_mad )
9963
9963
def mad (self , axis = None , skipna = None , level = None ):
9964
9964
if skipna is None :
9965
9965
skipna = True
@@ -10328,6 +10328,26 @@ def _doc_parms(cls):
10328
10328
%(examples)s
10329
10329
"""
10330
10330
10331
+ _num_doc_mad = """
10332
+ %(desc)s
10333
+
10334
+ Parameters
10335
+ ----------
10336
+ axis : %(axis_descr)s
10337
+ Axis for the function to be applied on.
10338
+ skipna : bool, default None
10339
+ Exclude NA/null values when computing the result.
10340
+ level : int or level name, default None
10341
+ If the axis is a MultiIndex (hierarchical), count along a
10342
+ particular level, collapsing into a %(name1)s.
10343
+
10344
+ Returns
10345
+ -------
10346
+ %(name1)s or %(name2)s (if level specified)\
10347
+ %(see_also)s\
10348
+ %(examples)s
10349
+ """
10350
+
10331
10351
_num_ddof_doc = """
10332
10352
%(desc)s
10333
10353
You can’t perform that action at this time.
0 commit comments