Skip to content

Commit

Permalink
DOC: Delete trailing blank lines in docstrings.
Browse files Browse the repository at this point in the history
re: issue #23632
  • Loading branch information
douglatornell committed Nov 12, 2018
1 parent 011b79f commit c114376
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ def from_array(cls, arr, index=None, name=None, dtype=None, copy=False,
.. deprecated :: 0.23.0
Use pd.Series(..) constructor instead.
"""
warnings.warn("'from_array' is deprecated and will be removed in a "
"future version. Please use the pd.Series(..) "
Expand Down Expand Up @@ -437,7 +436,6 @@ def values(self):
array(['2013-01-01T05:00:00.000000000',
'2013-01-02T05:00:00.000000000',
'2013-01-03T05:00:00.000000000'], dtype='datetime64[ns]')
"""
return self._data.external_values()

Expand Down Expand Up @@ -1824,7 +1822,6 @@ def round(self, decimals=0, *args, **kwargs):
--------
numpy.around
DataFrame.round
"""
nv.validate_round(args, kwargs)
result = com.values_from_object(self).round(decimals)
Expand Down Expand Up @@ -1906,7 +1903,6 @@ def corr(self, other, method='pearson', min_periods=None):
min_periods : int, optional
Minimum number of observations needed to have a valid result
Returns
-------
correlation : float
Expand Down Expand Up @@ -2230,8 +2226,6 @@ def append(self, to_append, ignore_index=False, verify_integrity=False):
Traceback (most recent call last):
...
ValueError: Indexes have overlapping values: [0, 1, 2]
"""
from pandas.core.reshape.concat import concat

Expand Down Expand Up @@ -2436,7 +2430,6 @@ def update(self, other):
1 2
2 6
dtype: int64
"""
other = other.reindex_like(self)
mask = notna(other)
Expand Down Expand Up @@ -3011,7 +3004,6 @@ def swaplevel(self, i=-2, j=-1, copy=True):
The indexes ``i`` and ``j`` are now optional, and default to
the two innermost levels of the index.
"""
new_index = self.index.swaplevel(i, j)
return self._constructor(self._values, index=new_index,
Expand Down Expand Up @@ -3336,8 +3328,6 @@ def apply(self, func, convert_dtype=True, args=(), **kwds):
New York 3.044522
Helsinki 2.484907
dtype: float64
"""
if len(self) == 0:
return self._constructor(dtype=self.dtype,
Expand Down

0 comments on commit c114376

Please sign in to comment.