@@ -314,7 +314,6 @@ def from_array(cls, arr, index=None, name=None, dtype=None, copy=False,
314
314
315
315
.. deprecated :: 0.23.0
316
316
Use pd.Series(..) constructor instead.
317
-
318
317
"""
319
318
warnings .warn ("'from_array' is deprecated and will be removed in a "
320
319
"future version. Please use the pd.Series(..) "
@@ -437,7 +436,6 @@ def values(self):
437
436
array(['2013-01-01T05:00:00.000000000',
438
437
'2013-01-02T05:00:00.000000000',
439
438
'2013-01-03T05:00:00.000000000'], dtype='datetime64[ns]')
440
-
441
439
"""
442
440
return self ._data .external_values ()
443
441
@@ -1824,7 +1822,6 @@ def round(self, decimals=0, *args, **kwargs):
1824
1822
--------
1825
1823
numpy.around
1826
1824
DataFrame.round
1827
-
1828
1825
"""
1829
1826
nv .validate_round (args , kwargs )
1830
1827
result = com .values_from_object (self ).round (decimals )
@@ -1906,7 +1903,6 @@ def corr(self, other, method='pearson', min_periods=None):
1906
1903
min_periods : int, optional
1907
1904
Minimum number of observations needed to have a valid result
1908
1905
1909
-
1910
1906
Returns
1911
1907
-------
1912
1908
correlation : float
@@ -2230,8 +2226,6 @@ def append(self, to_append, ignore_index=False, verify_integrity=False):
2230
2226
Traceback (most recent call last):
2231
2227
...
2232
2228
ValueError: Indexes have overlapping values: [0, 1, 2]
2233
-
2234
-
2235
2229
"""
2236
2230
from pandas .core .reshape .concat import concat
2237
2231
@@ -2436,7 +2430,6 @@ def update(self, other):
2436
2430
1 2
2437
2431
2 6
2438
2432
dtype: int64
2439
-
2440
2433
"""
2441
2434
other = other .reindex_like (self )
2442
2435
mask = notna (other )
@@ -3011,7 +3004,6 @@ def swaplevel(self, i=-2, j=-1, copy=True):
3011
3004
3012
3005
The indexes ``i`` and ``j`` are now optional, and default to
3013
3006
the two innermost levels of the index.
3014
-
3015
3007
"""
3016
3008
new_index = self .index .swaplevel (i , j )
3017
3009
return self ._constructor (self ._values , index = new_index ,
@@ -3336,8 +3328,6 @@ def apply(self, func, convert_dtype=True, args=(), **kwds):
3336
3328
New York 3.044522
3337
3329
Helsinki 2.484907
3338
3330
dtype: float64
3339
-
3340
-
3341
3331
"""
3342
3332
if len (self ) == 0 :
3343
3333
return self ._constructor (dtype = self .dtype ,
0 commit comments