Skip to content

Commit b53bbbb

Browse files
committed
removed trailing white spaces
1 parent 78a5b25 commit b53bbbb

File tree

1 file changed

+78
-78
lines changed

1 file changed

+78
-78
lines changed

pandas/core/generic.py

+78-78
Original file line numberDiff line numberDiff line change
@@ -10515,58 +10515,58 @@ def _doc_parms(cls):
1051510515
%(examples)s
1051610516
"""
1051710517

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+
-------
1053710537
%(name1)s or %(name2)s (if level specified)\n"""
1053810538

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
1057010570
%(examples)s"""
1057110571

1057210572
_all_desc = """\
@@ -10629,34 +10629,34 @@ def _doc_parms(cls):
1062910629
DataFrame.any : Return True if one (or more) elements are True.
1063010630
"""
1063110631

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.
1066010660
%(examples)s"""
1066110661

1066210662
_cummin_examples = """\

0 commit comments

Comments
 (0)