From d1f4627e18fcedb5ae0ddeabbe5d35f518e3b5e5 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Wed, 26 Jan 2022 16:50:37 -0800 Subject: [PATCH] Deprecate Series.merge. --- python/cudf/cudf/core/series.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/cudf/cudf/core/series.py b/python/cudf/cudf/core/series.py index d8c41235a3c..a910c5ac0dc 100644 --- a/python/cudf/cudf/core/series.py +++ b/python/cudf/cudf/core/series.py @@ -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"