Skip to content

Commit 253fd45

Browse files
committed
removed trailing white spaces
1 parent c9a3a77 commit 253fd45

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
@@ -10624,58 +10624,58 @@ def _doc_parms(cls):
1062410624
%(examples)s
1062510625
"""
1062610626

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

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
1067910679
%(examples)s"""
1068010680

1068110681
_all_desc = """\
@@ -10738,34 +10738,34 @@ def _doc_parms(cls):
1073810738
DataFrame.any : Return True if one (or more) elements are True.
1073910739
"""
1074010740

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.
1076910769
%(examples)s"""
1077010770

1077110771
_cummin_examples = """\

0 commit comments

Comments
 (0)