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