@@ -10624,58 +10624,58 @@ def _doc_parms(cls):
10624
10624
%(examples)s
10625
10625
"""
10626
10626
10627
- _num_ddof_doc = """
10628
- %(desc)s
10629
- Parameters
10630
- ----------
10631
- axis : %(axis_descr)s
10632
- skipna : bool, default True
10633
- Exclude NA/null values. If an entire row/column is NA, the result
10634
- will be NA.
10635
- level : int or level name, default None
10636
- If the axis is a MultiIndex (hierarchical), count along a
10637
- particular level, collapsing into a %(name1)s.
10638
- ddof : int, default 1
10639
- Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10640
- where N represents the number of elements.
10641
- numeric_only : bool, default None
10642
- Include only float, int, boolean columns. If None, will attempt to use
10643
- everything, then use only numeric data. Not implemented for Series.
10644
- Returns
10645
- -------
10627
+ _num_ddof_doc = """
10628
+ %(desc)s
10629
+ Parameters
10630
+ ----------
10631
+ axis : %(axis_descr)s
10632
+ skipna : bool, default True
10633
+ Exclude NA/null values. If an entire row/column is NA, the result
10634
+ will be NA.
10635
+ level : int or level name, default None
10636
+ If the axis is a MultiIndex (hierarchical), count along a
10637
+ particular level, collapsing into a %(name1)s.
10638
+ ddof : int, default 1
10639
+ Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10640
+ where N represents the number of elements.
10641
+ numeric_only : bool, default None
10642
+ Include only float, int, boolean columns. If None, will attempt to use
10643
+ everything, then use only numeric data. Not implemented for Series.
10644
+ Returns
10645
+ -------
10646
10646
%(name1)s or %(name2)s (if level specified)\n """
10647
10647
10648
- _bool_doc = """
10649
- %(desc)s
10650
- Parameters
10651
- ----------
10652
- axis : {0 or 'index', 1 or 'columns', None}, default 0
10653
- Indicate which axis or axes should be reduced.
10654
- * 0 / 'index' : reduce the index, return a Series whose index is the
10655
- original column labels.
10656
- * 1 / 'columns' : reduce the columns, return a Series whose index is the
10657
- original index.
10658
- * None : reduce all axes, return a scalar.
10659
- bool_only : bool, default None
10660
- Include only boolean columns. If None, will attempt to use everything,
10661
- then use only boolean data. Not implemented for Series.
10662
- skipna : bool, default True
10663
- Exclude NA/null values. If the entire row/column is NA and skipna is
10664
- True, then the result will be %(empty_value)s, as for an empty row/column.
10665
- If skipna is False, then NA are treated as True, because these are not
10666
- equal to zero.
10667
- level : int or level name, default None
10668
- If the axis is a MultiIndex (hierarchical), count along a
10669
- particular level, collapsing into a %(name1)s.
10670
- **kwargs : any, default None
10671
- Additional keywords have no effect but might be accepted for
10672
- compatibility with NumPy.
10673
- Returns
10674
- -------
10675
- %(name1)s or %(name2)s
10676
- If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10677
- is returned.
10678
- %(see_also)s
10648
+ _bool_doc = """
10649
+ %(desc)s
10650
+ Parameters
10651
+ ----------
10652
+ axis : {0 or 'index', 1 or 'columns', None}, default 0
10653
+ Indicate which axis or axes should be reduced.
10654
+ * 0 / 'index' : reduce the index, return a Series whose index is the
10655
+ original column labels.
10656
+ * 1 / 'columns' : reduce the columns, return a Series whose index is the
10657
+ original index.
10658
+ * None : reduce all axes, return a scalar.
10659
+ bool_only : bool, default None
10660
+ Include only boolean columns. If None, will attempt to use everything,
10661
+ then use only boolean data. Not implemented for Series.
10662
+ skipna : bool, default True
10663
+ Exclude NA/null values. If the entire row/column is NA and skipna is
10664
+ True, then the result will be %(empty_value)s, as for an empty row/column.
10665
+ If skipna is False, then NA are treated as True, because these are not
10666
+ equal to zero.
10667
+ level : int or level name, default None
10668
+ If the axis is a MultiIndex (hierarchical), count along a
10669
+ particular level, collapsing into a %(name1)s.
10670
+ **kwargs : any, default None
10671
+ Additional keywords have no effect but might be accepted for
10672
+ compatibility with NumPy.
10673
+ Returns
10674
+ -------
10675
+ %(name1)s or %(name2)s
10676
+ If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10677
+ is returned.
10678
+ %(see_also)s
10679
10679
%(examples)s"""
10680
10680
10681
10681
_all_desc = """\
@@ -10738,34 +10738,34 @@ def _doc_parms(cls):
10738
10738
DataFrame.any : Return True if one (or more) elements are True.
10739
10739
"""
10740
10740
10741
- _cnum_doc = """
10742
- Return cumulative %(desc)s over a DataFrame or Series axis.
10743
- Returns a DataFrame or Series of the same size containing the cumulative
10744
- %(desc)s.
10745
- Parameters
10746
- ----------
10747
- axis : {0 or 'index', 1 or 'columns'}, default 0
10748
- The index or the name of the axis. 0 is equivalent to None or 'index'.
10749
- skipna : bool, default True
10750
- Exclude NA/null values. If an entire row/column is NA, the result
10751
- will be NA.
10752
- *args, **kwargs
10753
- Additional keywords have no effect but might be accepted for
10754
- compatibility with NumPy.
10755
- Returns
10756
- -------
10757
- %(name1)s or %(name2)s
10758
- Return cumulative %(desc)s of %(name1)s or %(name2)s.
10759
- See Also
10760
- --------
10761
- core.window.Expanding.%(accum_func_name)s : Similar functionality
10762
- but ignores ``NaN`` values.
10763
- %(name2)s.%(accum_func_name)s : Return the %(desc)s over
10764
- %(name2)s axis.
10765
- %(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10766
- %(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10767
- %(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10768
- %(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10741
+ _cnum_doc = """
10742
+ Return cumulative %(desc)s over a DataFrame or Series axis.
10743
+ Returns a DataFrame or Series of the same size containing the cumulative
10744
+ %(desc)s.
10745
+ Parameters
10746
+ ----------
10747
+ axis : {0 or 'index', 1 or 'columns'}, default 0
10748
+ The index or the name of the axis. 0 is equivalent to None or 'index'.
10749
+ skipna : bool, default True
10750
+ Exclude NA/null values. If an entire row/column is NA, the result
10751
+ will be NA.
10752
+ *args, **kwargs
10753
+ Additional keywords have no effect but might be accepted for
10754
+ compatibility with NumPy.
10755
+ Returns
10756
+ -------
10757
+ %(name1)s or %(name2)s
10758
+ Return cumulative %(desc)s of %(name1)s or %(name2)s.
10759
+ See Also
10760
+ --------
10761
+ core.window.Expanding.%(accum_func_name)s : Similar functionality
10762
+ but ignores ``NaN`` values.
10763
+ %(name2)s.%(accum_func_name)s : Return the %(desc)s over
10764
+ %(name2)s axis.
10765
+ %(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10766
+ %(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10767
+ %(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10768
+ %(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10769
10769
%(examples)s"""
10770
10770
10771
10771
_cummin_examples = """\
0 commit comments