Skip to content

Commit

Permalink
Updated warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankanand007 committed Sep 23, 2021
1 parent 7633fd2 commit 12a4dc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/cudf/cudf/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -3636,10 +3636,10 @@ def label_encoding(self, cats, dtype=None, na_sentinel=-1):
4 -1
dtype: int8
"""

warnings.warn(
"Series.label_encoding is deprecated and will be removed "
"in the future.",
"Series.label_encoding is deprecated and will be removed in the future.\
Consider using cuML's LabelEncoder instead",
DeprecationWarning,
)

Expand Down

0 comments on commit 12a4dc1

Please sign in to comment.