@@ -10656,58 +10656,58 @@ def _doc_parms(cls):
10656
10656
%(examples)s
10657
10657
"""
10658
10658
10659
- _num_ddof_doc = """
10660
- %(desc)s
10661
- Parameters
10662
- ----------
10663
- axis : %(axis_descr)s
10664
- skipna : bool, default True
10665
- Exclude NA/null values. If an entire row/column is NA, the result
10666
- will be NA.
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
- ddof : int, default 1
10671
- Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10672
- where N represents the number of elements.
10673
- numeric_only : bool, default None
10674
- Include only float, int, boolean columns. If None, will attempt to use
10675
- everything, then use only numeric data. Not implemented for Series.
10676
- Returns
10677
- -------
10659
+ _num_ddof_doc = """
10660
+ %(desc)s
10661
+ Parameters
10662
+ ----------
10663
+ axis : %(axis_descr)s
10664
+ skipna : bool, default True
10665
+ Exclude NA/null values. If an entire row/column is NA, the result
10666
+ will be NA.
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
+ ddof : int, default 1
10671
+ Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10672
+ where N represents the number of elements.
10673
+ numeric_only : bool, default None
10674
+ Include only float, int, boolean columns. If None, will attempt to use
10675
+ everything, then use only numeric data. Not implemented for Series.
10676
+ Returns
10677
+ -------
10678
10678
%(name1)s or %(name2)s (if level specified)\n """
10679
10679
10680
- _bool_doc = """
10681
- %(desc)s
10682
- Parameters
10683
- ----------
10684
- axis : {0 or 'index', 1 or 'columns', None}, default 0
10685
- Indicate which axis or axes should be reduced.
10686
- * 0 / 'index' : reduce the index, return a Series whose index is the
10687
- original column labels.
10688
- * 1 / 'columns' : reduce the columns, return a Series whose index is the
10689
- original index.
10690
- * None : reduce all axes, return a scalar.
10691
- bool_only : bool, default None
10692
- Include only boolean columns. If None, will attempt to use everything,
10693
- then use only boolean data. Not implemented for Series.
10694
- skipna : bool, default True
10695
- Exclude NA/null values. If the entire row/column is NA and skipna is
10696
- True, then the result will be %(empty_value)s, as for an empty row/column.
10697
- If skipna is False, then NA are treated as True, because these are not
10698
- equal to zero.
10699
- level : int or level name, default None
10700
- If the axis is a MultiIndex (hierarchical), count along a
10701
- particular level, collapsing into a %(name1)s.
10702
- **kwargs : any, default None
10703
- Additional keywords have no effect but might be accepted for
10704
- compatibility with NumPy.
10705
- Returns
10706
- -------
10707
- %(name1)s or %(name2)s
10708
- If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10709
- is returned.
10710
- %(see_also)s
10680
+ _bool_doc = """
10681
+ %(desc)s
10682
+ Parameters
10683
+ ----------
10684
+ axis : {0 or 'index', 1 or 'columns', None}, default 0
10685
+ Indicate which axis or axes should be reduced.
10686
+ * 0 / 'index' : reduce the index, return a Series whose index is the
10687
+ original column labels.
10688
+ * 1 / 'columns' : reduce the columns, return a Series whose index is the
10689
+ original index.
10690
+ * None : reduce all axes, return a scalar.
10691
+ bool_only : bool, default None
10692
+ Include only boolean columns. If None, will attempt to use everything,
10693
+ then use only boolean data. Not implemented for Series.
10694
+ skipna : bool, default True
10695
+ Exclude NA/null values. If the entire row/column is NA and skipna is
10696
+ True, then the result will be %(empty_value)s, as for an empty row/column.
10697
+ If skipna is False, then NA are treated as True, because these are not
10698
+ equal to zero.
10699
+ level : int or level name, default None
10700
+ If the axis is a MultiIndex (hierarchical), count along a
10701
+ particular level, collapsing into a %(name1)s.
10702
+ **kwargs : any, default None
10703
+ Additional keywords have no effect but might be accepted for
10704
+ compatibility with NumPy.
10705
+ Returns
10706
+ -------
10707
+ %(name1)s or %(name2)s
10708
+ If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10709
+ is returned.
10710
+ %(see_also)s
10711
10711
%(examples)s"""
10712
10712
10713
10713
_all_desc = """\
@@ -10770,34 +10770,34 @@ def _doc_parms(cls):
10770
10770
DataFrame.any : Return True if one (or more) elements are True.
10771
10771
"""
10772
10772
10773
- _cnum_doc = """
10774
- Return cumulative %(desc)s over a DataFrame or Series axis.
10775
- Returns a DataFrame or Series of the same size containing the cumulative
10776
- %(desc)s.
10777
- Parameters
10778
- ----------
10779
- axis : {0 or 'index', 1 or 'columns'}, default 0
10780
- The index or the name of the axis. 0 is equivalent to None or 'index'.
10781
- skipna : bool, default True
10782
- Exclude NA/null values. If an entire row/column is NA, the result
10783
- will be NA.
10784
- *args, **kwargs
10785
- Additional keywords have no effect but might be accepted for
10786
- compatibility with NumPy.
10787
- Returns
10788
- -------
10789
- %(name1)s or %(name2)s
10790
- Return cumulative %(desc)s of %(name1)s or %(name2)s.
10791
- See Also
10792
- --------
10793
- core.window.Expanding.%(accum_func_name)s : Similar functionality
10794
- but ignores ``NaN`` values.
10795
- %(name2)s.%(accum_func_name)s : Return the %(desc)s over
10796
- %(name2)s axis.
10797
- %(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10798
- %(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10799
- %(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10800
- %(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10773
+ _cnum_doc = """
10774
+ Return cumulative %(desc)s over a DataFrame or Series axis.
10775
+ Returns a DataFrame or Series of the same size containing the cumulative
10776
+ %(desc)s.
10777
+ Parameters
10778
+ ----------
10779
+ axis : {0 or 'index', 1 or 'columns'}, default 0
10780
+ The index or the name of the axis. 0 is equivalent to None or 'index'.
10781
+ skipna : bool, default True
10782
+ Exclude NA/null values. If an entire row/column is NA, the result
10783
+ will be NA.
10784
+ *args, **kwargs
10785
+ Additional keywords have no effect but might be accepted for
10786
+ compatibility with NumPy.
10787
+ Returns
10788
+ -------
10789
+ %(name1)s or %(name2)s
10790
+ Return cumulative %(desc)s of %(name1)s or %(name2)s.
10791
+ See Also
10792
+ --------
10793
+ core.window.Expanding.%(accum_func_name)s : Similar functionality
10794
+ but ignores ``NaN`` values.
10795
+ %(name2)s.%(accum_func_name)s : Return the %(desc)s over
10796
+ %(name2)s axis.
10797
+ %(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10798
+ %(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10799
+ %(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10800
+ %(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10801
10801
%(examples)s"""
10802
10802
10803
10803
_cummin_examples = """\
0 commit comments