@@ -5766,8 +5766,7 @@ def ftypes(self):
5766
5766
5767
5767
def as_blocks (self , copy = True ):
5768
5768
"""
5769
- Convert the frame to a dict of dtype -> Constructor Types that each has
5770
- a homogeneous dtype.
5769
+ Convert the frame to a dict of dtype -> Constructor Types.
5771
5770
5772
5771
.. deprecated:: 0.21.0
5773
5772
@@ -9428,9 +9427,10 @@ def shift(self, periods=1, freq=None, axis=0, fill_value=None):
9428
9427
9429
9428
def slice_shift (self , periods = 1 , axis = 0 ):
9430
9429
"""
9431
- Equivalent to `shift` without copying data. The shifted data will
9432
- not include the dropped periods and the shifted axis will be smaller
9433
- than the original.
9430
+ Equivalent to `shift` without copying data.
9431
+
9432
+ The shifted data will not include the dropped periods and the
9433
+ shifted axis will be smaller than the original.
9434
9434
9435
9435
Parameters
9436
9436
----------
@@ -10739,10 +10739,11 @@ def nanptp(values, axis=0, skipna=True):
10739
10739
name ,
10740
10740
name2 ,
10741
10741
axis_descr ,
10742
- """Return the difference between the maximum value and the
10742
+ """Return the difference between the min and max value.
10743
+ \n .. deprecated:: 0.24.0 Use numpy.ptp instead
10744
+ \n Return the difference between the maximum value and the
10743
10745
minimum value in the object. This is the equivalent of the
10744
- ``numpy.ndarray`` method ``ptp``.\n \n .. deprecated:: 0.24.0
10745
- Use numpy.ptp instead""" ,
10746
+ ``numpy.ndarray`` method ``ptp``.""" ,
10746
10747
nanptp ,
10747
10748
)
10748
10749
0 commit comments