Skip to content

Commit

Permalink
Deprecate Series.merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Jan 28, 2022
1 parent 2d4e41b commit d1f4627
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/cudf/cudf/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -3282,6 +3282,11 @@ def merge(
method="hash",
suffixes=("_x", "_y"),
):
warnings.warn(
"Series.merge is deprecated and will be removed in a future "
"release. Use cudf.merge instead.",
FutureWarning,
)
if left_on not in (self.name, None):
raise ValueError(
"Series to other merge uses series name as key implicitly"
Expand Down

0 comments on commit d1f4627

Please sign in to comment.