Skip to content

Commit

Permalink
Revert "update dedeprecation message for np.ptp DEPR pandas-dev#28665 p…
Browse files Browse the repository at this point in the history
…andas-dev#6581 requested changes made"

This reverts commit d89d7f6.
  • Loading branch information
hasnain2808 committed Dec 24, 2019
1 parent ab8343a commit 69d1c0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -10199,9 +10199,9 @@ def nanptp(values, axis=0, skipna=True):
warnings.warn(
"Method .ptp is deprecated and will be removed "
"in a future version. Use numpy.ptp instead."
"if you are already using numpy.ptp and still getting this message,"
"please call to_numpy() to avoid this message in future calls."
"For example: np.ptp(pd.Series([1, 2, 3]).to_numpy())",
"if you are already using numpy.ptp and still getting this message"
"please call to_numpy() to avoid this message in future calls"
"eg : np.ptp(pd.Series([1, 2, 3]).to_numpy())",
FutureWarning,
stacklevel=4,
)
Expand Down

0 comments on commit 69d1c0a

Please sign in to comment.