@@ -10521,58 +10521,58 @@ def _doc_parms(cls):
10521
10521
%(examples)s
10522
10522
"""
10523
10523
10524
- _num_ddof_doc = """
10525
- %(desc)s
10526
- Parameters
10527
- ----------
10528
- axis : %(axis_descr)s
10529
- skipna : bool, default True
10530
- Exclude NA/null values. If an entire row/column is NA, the result
10531
- will be NA.
10532
- level : int or level name, default None
10533
- If the axis is a MultiIndex (hierarchical), count along a
10534
- particular level, collapsing into a %(name1)s.
10535
- ddof : int, default 1
10536
- Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10537
- where N represents the number of elements.
10538
- numeric_only : bool, default None
10539
- Include only float, int, boolean columns. If None, will attempt to use
10540
- everything, then use only numeric data. Not implemented for Series.
10541
- Returns
10542
- -------
10524
+ _num_ddof_doc = """
10525
+ %(desc)s
10526
+ Parameters
10527
+ ----------
10528
+ axis : %(axis_descr)s
10529
+ skipna : bool, default True
10530
+ Exclude NA/null values. If an entire row/column is NA, the result
10531
+ will be NA.
10532
+ level : int or level name, default None
10533
+ If the axis is a MultiIndex (hierarchical), count along a
10534
+ particular level, collapsing into a %(name1)s.
10535
+ ddof : int, default 1
10536
+ Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10537
+ where N represents the number of elements.
10538
+ numeric_only : bool, default None
10539
+ Include only float, int, boolean columns. If None, will attempt to use
10540
+ everything, then use only numeric data. Not implemented for Series.
10541
+ Returns
10542
+ -------
10543
10543
%(name1)s or %(name2)s (if level specified)\n """
10544
10544
10545
- _bool_doc = """
10546
- %(desc)s
10547
- Parameters
10548
- ----------
10549
- axis : {0 or 'index', 1 or 'columns', None}, default 0
10550
- Indicate which axis or axes should be reduced.
10551
- * 0 / 'index' : reduce the index, return a Series whose index is the
10552
- original column labels.
10553
- * 1 / 'columns' : reduce the columns, return a Series whose index is the
10554
- original index.
10555
- * None : reduce all axes, return a scalar.
10556
- bool_only : bool, default None
10557
- Include only boolean columns. If None, will attempt to use everything,
10558
- then use only boolean data. Not implemented for Series.
10559
- skipna : bool, default True
10560
- Exclude NA/null values. If the entire row/column is NA and skipna is
10561
- True, then the result will be %(empty_value)s, as for an empty row/column.
10562
- If skipna is False, then NA are treated as True, because these are not
10563
- equal to zero.
10564
- level : int or level name, default None
10565
- If the axis is a MultiIndex (hierarchical), count along a
10566
- particular level, collapsing into a %(name1)s.
10567
- **kwargs : any, default None
10568
- Additional keywords have no effect but might be accepted for
10569
- compatibility with NumPy.
10570
- Returns
10571
- -------
10572
- %(name1)s or %(name2)s
10573
- If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10574
- is returned.
10575
- %(see_also)s
10545
+ _bool_doc = """
10546
+ %(desc)s
10547
+ Parameters
10548
+ ----------
10549
+ axis : {0 or 'index', 1 or 'columns', None}, default 0
10550
+ Indicate which axis or axes should be reduced.
10551
+ * 0 / 'index' : reduce the index, return a Series whose index is the
10552
+ original column labels.
10553
+ * 1 / 'columns' : reduce the columns, return a Series whose index is the
10554
+ original index.
10555
+ * None : reduce all axes, return a scalar.
10556
+ bool_only : bool, default None
10557
+ Include only boolean columns. If None, will attempt to use everything,
10558
+ then use only boolean data. Not implemented for Series.
10559
+ skipna : bool, default True
10560
+ Exclude NA/null values. If the entire row/column is NA and skipna is
10561
+ True, then the result will be %(empty_value)s, as for an empty row/column.
10562
+ If skipna is False, then NA are treated as True, because these are not
10563
+ equal to zero.
10564
+ level : int or level name, default None
10565
+ If the axis is a MultiIndex (hierarchical), count along a
10566
+ particular level, collapsing into a %(name1)s.
10567
+ **kwargs : any, default None
10568
+ Additional keywords have no effect but might be accepted for
10569
+ compatibility with NumPy.
10570
+ Returns
10571
+ -------
10572
+ %(name1)s or %(name2)s
10573
+ If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10574
+ is returned.
10575
+ %(see_also)s
10576
10576
%(examples)s"""
10577
10577
10578
10578
_all_desc = """\
@@ -10635,34 +10635,34 @@ def _doc_parms(cls):
10635
10635
DataFrame.any : Return True if one (or more) elements are True.
10636
10636
"""
10637
10637
10638
- _cnum_doc = """
10639
- Return cumulative %(desc)s over a DataFrame or Series axis.
10640
- Returns a DataFrame or Series of the same size containing the cumulative
10641
- %(desc)s.
10642
- Parameters
10643
- ----------
10644
- axis : {0 or 'index', 1 or 'columns'}, default 0
10645
- The index or the name of the axis. 0 is equivalent to None or 'index'.
10646
- skipna : bool, default True
10647
- Exclude NA/null values. If an entire row/column is NA, the result
10648
- will be NA.
10649
- *args, **kwargs
10650
- Additional keywords have no effect but might be accepted for
10651
- compatibility with NumPy.
10652
- Returns
10653
- -------
10654
- %(name1)s or %(name2)s
10655
- Return cumulative %(desc)s of %(name1)s or %(name2)s.
10656
- See Also
10657
- --------
10658
- core.window.Expanding.%(accum_func_name)s : Similar functionality
10659
- but ignores ``NaN`` values.
10660
- %(name2)s.%(accum_func_name)s : Return the %(desc)s over
10661
- %(name2)s axis.
10662
- %(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10663
- %(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10664
- %(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10665
- %(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10638
+ _cnum_doc = """
10639
+ Return cumulative %(desc)s over a DataFrame or Series axis.
10640
+ Returns a DataFrame or Series of the same size containing the cumulative
10641
+ %(desc)s.
10642
+ Parameters
10643
+ ----------
10644
+ axis : {0 or 'index', 1 or 'columns'}, default 0
10645
+ The index or the name of the axis. 0 is equivalent to None or 'index'.
10646
+ skipna : bool, default True
10647
+ Exclude NA/null values. If an entire row/column is NA, the result
10648
+ will be NA.
10649
+ *args, **kwargs
10650
+ Additional keywords have no effect but might be accepted for
10651
+ compatibility with NumPy.
10652
+ Returns
10653
+ -------
10654
+ %(name1)s or %(name2)s
10655
+ Return cumulative %(desc)s of %(name1)s or %(name2)s.
10656
+ See Also
10657
+ --------
10658
+ core.window.Expanding.%(accum_func_name)s : Similar functionality
10659
+ but ignores ``NaN`` values.
10660
+ %(name2)s.%(accum_func_name)s : Return the %(desc)s over
10661
+ %(name2)s axis.
10662
+ %(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10663
+ %(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10664
+ %(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10665
+ %(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10666
10666
%(examples)s"""
10667
10667
10668
10668
_cummin_examples = """\
0 commit comments