Skip to content

Commit b955a44

Browse files
committed
removed trailing white spaces
1 parent 926c901 commit b955a44

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

10626-
_num_ddof_doc = """
10627-
%(desc)s
10628-
Parameters
10629-
----------
10630-
axis : %(axis_descr)s
10631-
skipna : bool, default True
10632-
Exclude NA/null values. If an entire row/column is NA, the result
10633-
will be NA.
10634-
level : int or level name, default None
10635-
If the axis is a MultiIndex (hierarchical), count along a
10636-
particular level, collapsing into a %(name1)s.
10637-
ddof : int, default 1
10638-
Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10639-
where N represents the number of elements.
10640-
numeric_only : bool, default None
10641-
Include only float, int, boolean columns. If None, will attempt to use
10642-
everything, then use only numeric data. Not implemented for Series.
10643-
Returns
10644-
-------
10626+
_num_ddof_doc = """
10627+
%(desc)s
10628+
Parameters
10629+
----------
10630+
axis : %(axis_descr)s
10631+
skipna : bool, default True
10632+
Exclude NA/null values. If an entire row/column is NA, the result
10633+
will be NA.
10634+
level : int or level name, default None
10635+
If the axis is a MultiIndex (hierarchical), count along a
10636+
particular level, collapsing into a %(name1)s.
10637+
ddof : int, default 1
10638+
Delta Degrees of Freedom. The divisor used in calculations is N - ddof,
10639+
where N represents the number of elements.
10640+
numeric_only : bool, default None
10641+
Include only float, int, boolean columns. If None, will attempt to use
10642+
everything, then use only numeric data. Not implemented for Series.
10643+
Returns
10644+
-------
1064510645
%(name1)s or %(name2)s (if level specified)\n"""
1064610646

10647-
_bool_doc = """
10648-
%(desc)s
10649-
Parameters
10650-
----------
10651-
axis : {0 or 'index', 1 or 'columns', None}, default 0
10652-
Indicate which axis or axes should be reduced.
10653-
* 0 / 'index' : reduce the index, return a Series whose index is the
10654-
original column labels.
10655-
* 1 / 'columns' : reduce the columns, return a Series whose index is the
10656-
original index.
10657-
* None : reduce all axes, return a scalar.
10658-
bool_only : bool, default None
10659-
Include only boolean columns. If None, will attempt to use everything,
10660-
then use only boolean data. Not implemented for Series.
10661-
skipna : bool, default True
10662-
Exclude NA/null values. If the entire row/column is NA and skipna is
10663-
True, then the result will be %(empty_value)s, as for an empty row/column.
10664-
If skipna is False, then NA are treated as True, because these are not
10665-
equal to zero.
10666-
level : int or level name, default None
10667-
If the axis is a MultiIndex (hierarchical), count along a
10668-
particular level, collapsing into a %(name1)s.
10669-
**kwargs : any, default None
10670-
Additional keywords have no effect but might be accepted for
10671-
compatibility with NumPy.
10672-
Returns
10673-
-------
10674-
%(name1)s or %(name2)s
10675-
If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10676-
is returned.
10677-
%(see_also)s
10647+
_bool_doc = """
10648+
%(desc)s
10649+
Parameters
10650+
----------
10651+
axis : {0 or 'index', 1 or 'columns', None}, default 0
10652+
Indicate which axis or axes should be reduced.
10653+
* 0 / 'index' : reduce the index, return a Series whose index is the
10654+
original column labels.
10655+
* 1 / 'columns' : reduce the columns, return a Series whose index is the
10656+
original index.
10657+
* None : reduce all axes, return a scalar.
10658+
bool_only : bool, default None
10659+
Include only boolean columns. If None, will attempt to use everything,
10660+
then use only boolean data. Not implemented for Series.
10661+
skipna : bool, default True
10662+
Exclude NA/null values. If the entire row/column is NA and skipna is
10663+
True, then the result will be %(empty_value)s, as for an empty row/column.
10664+
If skipna is False, then NA are treated as True, because these are not
10665+
equal to zero.
10666+
level : int or level name, default None
10667+
If the axis is a MultiIndex (hierarchical), count along a
10668+
particular level, collapsing into a %(name1)s.
10669+
**kwargs : any, default None
10670+
Additional keywords have no effect but might be accepted for
10671+
compatibility with NumPy.
10672+
Returns
10673+
-------
10674+
%(name1)s or %(name2)s
10675+
If level is specified, then, %(name2)s is returned; otherwise, %(name1)s
10676+
is returned.
10677+
%(see_also)s
1067810678
%(examples)s"""
1067910679

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

10740-
_cnum_doc = """
10741-
Return cumulative %(desc)s over a DataFrame or Series axis.
10742-
Returns a DataFrame or Series of the same size containing the cumulative
10743-
%(desc)s.
10744-
Parameters
10745-
----------
10746-
axis : {0 or 'index', 1 or 'columns'}, default 0
10747-
The index or the name of the axis. 0 is equivalent to None or 'index'.
10748-
skipna : bool, default True
10749-
Exclude NA/null values. If an entire row/column is NA, the result
10750-
will be NA.
10751-
*args, **kwargs
10752-
Additional keywords have no effect but might be accepted for
10753-
compatibility with NumPy.
10754-
Returns
10755-
-------
10756-
%(name1)s or %(name2)s
10757-
Return cumulative %(desc)s of %(name1)s or %(name2)s.
10758-
See Also
10759-
--------
10760-
core.window.Expanding.%(accum_func_name)s : Similar functionality
10761-
but ignores ``NaN`` values.
10762-
%(name2)s.%(accum_func_name)s : Return the %(desc)s over
10763-
%(name2)s axis.
10764-
%(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10765-
%(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10766-
%(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10767-
%(name2)s.cumprod : Return cumulative product over %(name2)s axis.
10740+
_cnum_doc = """
10741+
Return cumulative %(desc)s over a DataFrame or Series axis.
10742+
Returns a DataFrame or Series of the same size containing the cumulative
10743+
%(desc)s.
10744+
Parameters
10745+
----------
10746+
axis : {0 or 'index', 1 or 'columns'}, default 0
10747+
The index or the name of the axis. 0 is equivalent to None or 'index'.
10748+
skipna : bool, default True
10749+
Exclude NA/null values. If an entire row/column is NA, the result
10750+
will be NA.
10751+
*args, **kwargs
10752+
Additional keywords have no effect but might be accepted for
10753+
compatibility with NumPy.
10754+
Returns
10755+
-------
10756+
%(name1)s or %(name2)s
10757+
Return cumulative %(desc)s of %(name1)s or %(name2)s.
10758+
See Also
10759+
--------
10760+
core.window.Expanding.%(accum_func_name)s : Similar functionality
10761+
but ignores ``NaN`` values.
10762+
%(name2)s.%(accum_func_name)s : Return the %(desc)s over
10763+
%(name2)s axis.
10764+
%(name2)s.cummax : Return cumulative maximum over %(name2)s axis.
10765+
%(name2)s.cummin : Return cumulative minimum over %(name2)s axis.
10766+
%(name2)s.cumsum : Return cumulative sum over %(name2)s axis.
10767+
%(name2)s.cumprod : Return cumulative product over %(name2)s axis.
1076810768
%(examples)s"""
1076910769

1077010770
_cummin_examples = """\

0 commit comments

Comments
 (0)