@@ -948,7 +948,6 @@ def swaplevel(self, i=-2, j=-1, axis=0):
948
948
949
949
The indexes ``i`` and ``j`` are now optional, and default to
950
950
the two innermost levels of the index.
951
-
952
951
"""
953
952
axis = self ._get_axis_number (axis )
954
953
result = self .copy ()
@@ -4929,9 +4928,7 @@ def pipe(self, func, *args, **kwargs):
4929
4928
4930
4929
_shared_docs ['aggregate' ] = dedent ("""
4931
4930
Aggregate using one or more operations over the specified axis.
4932
-
4933
4931
%(versionadded)s
4934
-
4935
4932
Parameters
4936
4933
----------
4937
4934
func : function, str, list or dict
@@ -4961,16 +4958,13 @@ def pipe(self, func, *args, **kwargs):
4961
4958
* DataFrame : when DataFrame.agg is called with several functions
4962
4959
4963
4960
Return scalar, Series or DataFrame.
4964
-
4965
4961
%(see_also)s
4966
-
4967
4962
Notes
4968
4963
-----
4969
4964
`agg` is an alias for `aggregate`. Use the alias.
4970
4965
4971
4966
A passed user-defined-function will be passed a Series for evaluation.
4972
-
4973
- %(examples)s
4967
+ %(examples)s\
4974
4968
""" )
4975
4969
4976
4970
_shared_docs ['transform' ] = ("""
@@ -10285,7 +10279,7 @@ def _doc_parms(cls):
10285
10279
10286
10280
Returns
10287
10281
-------
10288
- %(name1)s or %(name2)s (if level specified)
10282
+ %(name1)s or %(name2)s (if level specified)\
10289
10283
%(see_also)s
10290
10284
%(examples)s\
10291
10285
"""
@@ -10442,7 +10436,7 @@ def _doc_parms(cls):
10442
10436
%(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10443
10437
%(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10444
10438
10445
- %(examples)s
10439
+ %(examples)s\
10446
10440
"""
10447
10441
10448
10442
_cummin_examples = """\
0 commit comments