Skip to content

Commit f35e911

Browse files
committed
removed trailing white spaces
1 parent e70736b commit f35e911

File tree

1 file changed

+78
-78
lines changed

1 file changed

+78
-78
lines changed

pandas/core/generic.py

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -10521,58 +10521,58 @@ def _doc_parms(cls):
1052110521
%(examples)s
1052210522
"""
1052310523

10524-
_num_ddof_doc = """
10525-
%(desc)s
10526-
Parameters
10527-
----------
10528-
axis : %(axis_descr)s
10529-
skipna : bool, default True
10530-
Exclude NA/null values. If an entire row/column is NA, the result
10531-
will be NA.
10532-
level : int or level name, default None
10533-
If the axis is a MultiIndex (hierarchical), count along a
10534-
particular level, collapsing into a %(name1)s.
10535-
ddof : int, default 1
10536-
Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10537-
where N represents the number of elements.
10538-
numeric_only : bool, default None
10539-
Include only float, int, boolean columns. If None, will attempt to use
10540-
everything, then use only numeric data. Not implemented for Series.
10541-
Returns
10542-
-------
10524+
_num_ddof_doc = """
10525+
%(desc)s
10526+
Parameters
10527+
----------
10528+
axis : %(axis_descr)s
10529+
skipna : bool, default True
10530+
Exclude NA/null values. If an entire row/column is NA, the result
10531+
will be NA.
10532+
level : int or level name, default None
10533+
If the axis is a MultiIndex (hierarchical), count along a
10534+
particular level, collapsing into a %(name1)s.
10535+
ddof : int, default 1
10536+
Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10537+
where N represents the number of elements.
10538+
numeric_only : bool, default None
10539+
Include only float, int, boolean columns. If None, will attempt to use
10540+
everything, then use only numeric data. Not implemented for Series.
10541+
Returns
10542+
-------
1054310543
%(name1)s or %(name2)s (if level specified)\n"""
1054410544

10545-
_bool_doc = """
10546-
%(desc)s
10547-
Parameters
10548-
----------
10549-
axis : {0 or 'index', 1 or 'columns', None}, default 0
10550-
Indicate which axis or axes should be reduced.
10551-
* 0 / 'index' : reduce the index, return a Series whose index is the
10552-
original column labels.
10553-
* 1 / 'columns' : reduce the columns, return a Series whose index is the
10554-
original index.
10555-
* None : reduce all axes, return a scalar.
10556-
bool_only : bool, default None
10557-
Include only boolean columns. If None, will attempt to use everything,
10558-
then use only boolean data. Not implemented for Series.
10559-
skipna : bool, default True
10560-
Exclude NA/null values. If the entire row/column is NA and skipna is
10561-
True, then the result will be %(empty_value)s, as for an empty row/column.
10562-
If skipna is False, then NA are treated as True, because these are not
10563-
equal to zero.
10564-
level : int or level name, default None
10565-
If the axis is a MultiIndex (hierarchical), count along a
10566-
particular level, collapsing into a %(name1)s.
10567-
**kwargs : any, default None
10568-
Additional keywords have no effect but might be accepted for
10569-
compatibility with NumPy.
10570-
Returns
10571-
-------
10572-
%(name1)s or %(name2)s
10573-
If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10574-
is returned.
10575-
%(see_also)s
10545+
_bool_doc = """
10546+
%(desc)s
10547+
Parameters
10548+
----------
10549+
axis : {0 or 'index', 1 or 'columns', None}, default 0
10550+
Indicate which axis or axes should be reduced.
10551+
* 0 / 'index' : reduce the index, return a Series whose index is the
10552+
original column labels.
10553+
* 1 / 'columns' : reduce the columns, return a Series whose index is the
10554+
original index.
10555+
* None : reduce all axes, return a scalar.
10556+
bool_only : bool, default None
10557+
Include only boolean columns. If None, will attempt to use everything,
10558+
then use only boolean data. Not implemented for Series.
10559+
skipna : bool, default True
10560+
Exclude NA/null values. If the entire row/column is NA and skipna is
10561+
True, then the result will be %(empty_value)s, as for an empty row/column.
10562+
If skipna is False, then NA are treated as True, because these are not
10563+
equal to zero.
10564+
level : int or level name, default None
10565+
If the axis is a MultiIndex (hierarchical), count along a
10566+
particular level, collapsing into a %(name1)s.
10567+
**kwargs : any, default None
10568+
Additional keywords have no effect but might be accepted for
10569+
compatibility with NumPy.
10570+
Returns
10571+
-------
10572+
%(name1)s or %(name2)s
10573+
If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10574+
is returned.
10575+
%(see_also)s
1057610576
%(examples)s"""
1057710577

1057810578
_all_desc = """\
@@ -10635,34 +10635,34 @@ def _doc_parms(cls):
1063510635
DataFrame.any : Return True if one (or more) elements are True.
1063610636
"""
1063710637

10638-
_cnum_doc = """
10639-
Return cumulative %(desc)s over a DataFrame or Series axis.
10640-
Returns a DataFrame or Series of the same size containing the cumulative
10641-
%(desc)s.
10642-
Parameters
10643-
----------
10644-
axis : {0 or 'index', 1 or 'columns'}, default 0
10645-
The index or the name of the axis. 0 is equivalent to None or 'index'.
10646-
skipna : bool, default True
10647-
Exclude NA/null values. If an entire row/column is NA, the result
10648-
will be NA.
10649-
*args, **kwargs
10650-
Additional keywords have no effect but might be accepted for
10651-
compatibility with NumPy.
10652-
Returns
10653-
-------
10654-
%(name1)s or %(name2)s
10655-
Return cumulative %(desc)s of %(name1)s or %(name2)s.
10656-
See Also
10657-
--------
10658-
core.window.Expanding.%(accum_func_name)s : Similar functionality
10659-
but ignores ``NaN`` values.
10660-
%(name2)s.%(accum_func_name)s : Return the %(desc)s over
10661-
%(name2)s axis.
10662-
%(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10663-
%(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10664-
%(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10665-
%(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10638+
_cnum_doc = """
10639+
Return cumulative %(desc)s over a DataFrame or Series axis.
10640+
Returns a DataFrame or Series of the same size containing the cumulative
10641+
%(desc)s.
10642+
Parameters
10643+
----------
10644+
axis : {0 or 'index', 1 or 'columns'}, default 0
10645+
The index or the name of the axis. 0 is equivalent to None or 'index'.
10646+
skipna : bool, default True
10647+
Exclude NA/null values. If an entire row/column is NA, the result
10648+
will be NA.
10649+
*args, **kwargs
10650+
Additional keywords have no effect but might be accepted for
10651+
compatibility with NumPy.
10652+
Returns
10653+
-------
10654+
%(name1)s or %(name2)s
10655+
Return cumulative %(desc)s of %(name1)s or %(name2)s.
10656+
See Also
10657+
--------
10658+
core.window.Expanding.%(accum_func_name)s : Similar functionality
10659+
but ignores ``NaN`` values.
10660+
%(name2)s.%(accum_func_name)s : Return the %(desc)s over
10661+
%(name2)s axis.
10662+
%(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10663+
%(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10664+
%(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10665+
%(name2)s.cumprod : Return cumulative product over %(name2)s axis.
1066610666
%(examples)s"""
1066710667

1066810668
_cummin_examples = """\

0 commit comments

Comments
 (0)