Skip to content

Commit 5920ad2

Browse files
committed
DOC: Remove whitespaces (pandas-dev#25356)
1 parent 26a3dc5 commit 5920ad2

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

pandas/core/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1851,7 +1851,7 @@ def __hash__(self):
18511851

18521852
def __iter__(self):
18531853
"""Iterate over info axis
1854-
1854+
18551855
Returns
18561856
-------
18571857
iterator

pandas/core/groupby/generic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ def value_counts(self, normalize=False, sort=True, ascending=False,
11881188
def count(self):
11891189
"""
11901190
Compute count of group, excluding missing values.
1191-
1191+
11921192
Returns
11931193
-------
11941194
Series
@@ -1493,7 +1493,7 @@ def _fill(self, direction, limit=None):
14931493
def count(self):
14941494
"""
14951495
Compute count of group, excluding missing values
1496-
1496+
14971497
Returns
14981498
-------
14991499
DataFrame

pandas/core/groupby/groupby.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ def std(self, ddof=1, *args, **kwargs):
12051205
----------
12061206
ddof : integer, default 1
12071207
degrees of freedom
1208-
1208+
12091209
Returns
12101210
-------
12111211
Series or DataFrame
@@ -1297,7 +1297,7 @@ def groupby_function(name, alias, npfunc,
12971297

12981298
_local_template = """
12991299
Compute %(f)s of group values
1300-
1300+
13011301
Returns
13021302
-------
13031303
Series or DataFrame
@@ -2195,7 +2195,7 @@ def shift(self, periods=1, freq=None, axis=0, fill_value=None):
21952195
.. versionadded:: 0.24.0
21962196
21972197
Returns
2198-
-------
2198+
-------
21992199
Series or DataFrame
22002200
Object shifted within each group.
22012201
"""
@@ -2218,7 +2218,7 @@ def pct_change(self, periods=1, fill_method='pad', limit=None, freq=None,
22182218
Calculate pct_change of each value to previous entry in group.
22192219
22202220
Returns
2221-
-------
2221+
-------
22222222
Series or DataFrame
22232223
Percentage changes within each group.
22242224
"""
@@ -2243,7 +2243,7 @@ def head(self, n=5):
22432243
except ignores as_index flag.
22442244
22452245
Returns
2246-
-------
2246+
-------
22472247
Series or DataFrame
22482248
%(see_also)s
22492249
Examples
@@ -2274,7 +2274,7 @@ def tail(self, n=5):
22742274
except ignores as_index flag.
22752275
22762276
Returns
2277-
-------
2277+
-------
22782278
Series or DataFrame
22792279
%(see_also)s
22802280
Examples

pandas/core/indexes/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4379,7 +4379,7 @@ def get_value(self, series, key):
43794379
Returns
43804380
-------
43814381
scalar
4382-
A value in the series with the indice of the key value in self.
4382+
A value in the series with the indice of the key value in self.
43834383
"""
43844384

43854385
# if we have something that is Index-like, then

pandas/core/indexes/range.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def ensure_int(value, field):
128128
def from_range(cls, data, name=None, dtype=None, **kwargs):
129129
"""
130130
Create RangeIndex from a range object.
131-
131+
132132
Returns
133133
-------
134134
RangeIndex

pandas/io/excel/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ def parse(self,
798798
Returns
799799
-------
800800
DataFrame or dict of DataFrames
801-
DataFrame from the passed in Excel file.
801+
DataFrame from the passed in Excel file.
802802
"""
803803

804804
# Can't use _deprecate_kwarg since sheetname=None has a special meaning

0 commit comments

Comments
 (0)