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