@@ -10400,58 +10400,58 @@ def _doc_parms(cls):
10400
10400
%(examples)s
10401
10401
"""
10402
10402
10403
- _num_ddof_doc = """
10404
- %(desc)s
10405
- Parameters
10406
- ----------
10407
- axis : %(axis_descr)s
10408
- skipna : bool, default True
10409
- Exclude NA/null values. If an entire row/column is NA, the result
10410
- will be NA.
10411
- level : int or level name, default None
10412
- If the axis is a MultiIndex (hierarchical), count along a
10413
- particular level, collapsing into a %(name1)s.
10414
- ddof : int, default 1
10415
- Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10416
- where N represents the number of elements.
10417
- numeric_only : bool, default None
10418
- Include only float, int, boolean columns. If None, will attempt to use
10419
- everything, then use only numeric data. Not implemented for Series.
10420
- Returns
10421
- -------
10403
+ _num_ddof_doc = """
10404
+ %(desc)s
10405
+ Parameters
10406
+ ----------
10407
+ axis : %(axis_descr)s
10408
+ skipna : bool, default True
10409
+ Exclude NA/null values. If an entire row/column is NA, the result
10410
+ will be NA.
10411
+ level : int or level name, default None
10412
+ If the axis is a MultiIndex (hierarchical), count along a
10413
+ particular level, collapsing into a %(name1)s.
10414
+ ddof : int, default 1
10415
+ Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10416
+ where N represents the number of elements.
10417
+ numeric_only : bool, default None
10418
+ Include only float, int, boolean columns. If None, will attempt to use
10419
+ everything, then use only numeric data. Not implemented for Series.
10420
+ Returns
10421
+ -------
10422
10422
%(name1)s or %(name2)s (if level specified)\n """
10423
10423
10424
- _bool_doc = """
10425
- %(desc)s
10426
- Parameters
10427
- ----------
10428
- axis : {0 or 'index', 1 or 'columns', None}, default 0
10429
- Indicate which axis or axes should be reduced.
10430
- * 0 / 'index' : reduce the index, return a Series whose index is the
10431
- original column labels.
10432
- * 1 / 'columns' : reduce the columns, return a Series whose index is the
10433
- original index.
10434
- * None : reduce all axes, return a scalar.
10435
- bool_only : bool, default None
10436
- Include only boolean columns. If None, will attempt to use everything,
10437
- then use only boolean data. Not implemented for Series.
10438
- skipna : bool, default True
10439
- Exclude NA/null values. If the entire row/column is NA and skipna is
10440
- True, then the result will be %(empty_value)s, as for an empty row/column.
10441
- If skipna is False, then NA are treated as True, because these are not
10442
- equal to zero.
10443
- level : int or level name, default None
10444
- If the axis is a MultiIndex (hierarchical), count along a
10445
- particular level, collapsing into a %(name1)s.
10446
- **kwargs : any, default None
10447
- Additional keywords have no effect but might be accepted for
10448
- compatibility with NumPy.
10449
- Returns
10450
- -------
10451
- %(name1)s or %(name2)s
10452
- If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10453
- is returned.
10454
- %(see_also)s
10424
+ _bool_doc = """
10425
+ %(desc)s
10426
+ Parameters
10427
+ ----------
10428
+ axis : {0 or 'index', 1 or 'columns', None}, default 0
10429
+ Indicate which axis or axes should be reduced.
10430
+ * 0 / 'index' : reduce the index, return a Series whose index is the
10431
+ original column labels.
10432
+ * 1 / 'columns' : reduce the columns, return a Series whose index is the
10433
+ original index.
10434
+ * None : reduce all axes, return a scalar.
10435
+ bool_only : bool, default None
10436
+ Include only boolean columns. If None, will attempt to use everything,
10437
+ then use only boolean data. Not implemented for Series.
10438
+ skipna : bool, default True
10439
+ Exclude NA/null values. If the entire row/column is NA and skipna is
10440
+ True, then the result will be %(empty_value)s, as for an empty row/column.
10441
+ If skipna is False, then NA are treated as True, because these are not
10442
+ equal to zero.
10443
+ level : int or level name, default None
10444
+ If the axis is a MultiIndex (hierarchical), count along a
10445
+ particular level, collapsing into a %(name1)s.
10446
+ **kwargs : any, default None
10447
+ Additional keywords have no effect but might be accepted for
10448
+ compatibility with NumPy.
10449
+ Returns
10450
+ -------
10451
+ %(name1)s or %(name2)s
10452
+ If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10453
+ is returned.
10454
+ %(see_also)s
10455
10455
%(examples)s"""
10456
10456
10457
10457
_all_desc = """\
@@ -10514,34 +10514,34 @@ def _doc_parms(cls):
10514
10514
DataFrame.any : Return True if one (or more) elements are True.
10515
10515
"""
10516
10516
10517
- _cnum_doc = """
10518
- Return cumulative %(desc)s over a DataFrame or Series axis.
10519
- Returns a DataFrame or Series of the same size containing the cumulative
10520
- %(desc)s.
10521
- Parameters
10522
- ----------
10523
- axis : {0 or 'index', 1 or 'columns'}, default 0
10524
- The index or the name of the axis. 0 is equivalent to None or 'index'.
10525
- skipna : bool, default True
10526
- Exclude NA/null values. If an entire row/column is NA, the result
10527
- will be NA.
10528
- *args, **kwargs
10529
- Additional keywords have no effect but might be accepted for
10530
- compatibility with NumPy.
10531
- Returns
10532
- -------
10533
- %(name1)s or %(name2)s
10534
- Return cumulative %(desc)s of %(name1)s or %(name2)s.
10535
- See Also
10536
- --------
10537
- core.window.Expanding.%(accum_func_name)s : Similar functionality
10538
- but ignores ``NaN`` values.
10539
- %(name2)s.%(accum_func_name)s : Return the %(desc)s over
10540
- %(name2)s axis.
10541
- %(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10542
- %(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10543
- %(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10544
- %(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10517
+ _cnum_doc = """
10518
+ Return cumulative %(desc)s over a DataFrame or Series axis.
10519
+ Returns a DataFrame or Series of the same size containing the cumulative
10520
+ %(desc)s.
10521
+ Parameters
10522
+ ----------
10523
+ axis : {0 or 'index', 1 or 'columns'}, default 0
10524
+ The index or the name of the axis. 0 is equivalent to None or 'index'.
10525
+ skipna : bool, default True
10526
+ Exclude NA/null values. If an entire row/column is NA, the result
10527
+ will be NA.
10528
+ *args, **kwargs
10529
+ Additional keywords have no effect but might be accepted for
10530
+ compatibility with NumPy.
10531
+ Returns
10532
+ -------
10533
+ %(name1)s or %(name2)s
10534
+ Return cumulative %(desc)s of %(name1)s or %(name2)s.
10535
+ See Also
10536
+ --------
10537
+ core.window.Expanding.%(accum_func_name)s : Similar functionality
10538
+ but ignores ``NaN`` values.
10539
+ %(name2)s.%(accum_func_name)s : Return the %(desc)s over
10540
+ %(name2)s axis.
10541
+ %(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10542
+ %(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10543
+ %(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10544
+ %(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10545
10545
%(examples)s"""
10546
10546
10547
10547
_cummin_examples = """\
0 commit comments