Skip to content

Commit b4b945a

Browse files
douglatornellgfyoung
authored andcommitted
DOC: Delete trailing blank lines in docstrings. (#23651)
xref gh-23632
1 parent e413c49 commit b4b945a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pandas/core/series.py

-10
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ def from_array(cls, arr, index=None, name=None, dtype=None, copy=False,
314314
315315
.. deprecated :: 0.23.0
316316
Use pd.Series(..) constructor instead.
317-
318317
"""
319318
warnings.warn("'from_array' is deprecated and will be removed in a "
320319
"future version. Please use the pd.Series(..) "
@@ -437,7 +436,6 @@ def values(self):
437436
array(['2013-01-01T05:00:00.000000000',
438437
'2013-01-02T05:00:00.000000000',
439438
'2013-01-03T05:00:00.000000000'], dtype='datetime64[ns]')
440-
441439
"""
442440
return self._data.external_values()
443441

@@ -1824,7 +1822,6 @@ def round(self, decimals=0, *args, **kwargs):
18241822
--------
18251823
numpy.around
18261824
DataFrame.round
1827-
18281825
"""
18291826
nv.validate_round(args, kwargs)
18301827
result = com.values_from_object(self).round(decimals)
@@ -1906,7 +1903,6 @@ def corr(self, other, method='pearson', min_periods=None):
19061903
min_periods : int, optional
19071904
Minimum number of observations needed to have a valid result
19081905
1909-
19101906
Returns
19111907
-------
19121908
correlation : float
@@ -2230,8 +2226,6 @@ def append(self, to_append, ignore_index=False, verify_integrity=False):
22302226
Traceback (most recent call last):
22312227
...
22322228
ValueError: Indexes have overlapping values: [0, 1, 2]
2233-
2234-
22352229
"""
22362230
from pandas.core.reshape.concat import concat
22372231

@@ -2436,7 +2430,6 @@ def update(self, other):
24362430
1 2
24372431
2 6
24382432
dtype: int64
2439-
24402433
"""
24412434
other = other.reindex_like(self)
24422435
mask = notna(other)
@@ -3011,7 +3004,6 @@ def swaplevel(self, i=-2, j=-1, copy=True):
30113004
30123005
The indexes ``i`` and ``j`` are now optional, and default to
30133006
the two innermost levels of the index.
3014-
30153007
"""
30163008
new_index = self.index.swaplevel(i, j)
30173009
return self._constructor(self._values, index=new_index,
@@ -3336,8 +3328,6 @@ def apply(self, func, convert_dtype=True, args=(), **kwds):
33363328
New York 3.044522
33373329
Helsinki 2.484907
33383330
dtype: float64
3339-
3340-
33413331
"""
33423332
if len(self) == 0:
33433333
return self._constructor(dtype=self.dtype,

0 commit comments

Comments
 (0)