diff --git a/python/cudf/cudf/core/series.py b/python/cudf/cudf/core/series.py index 5618ea3176d..f10dca3e610 100644 --- a/python/cudf/cudf/core/series.py +++ b/python/cudf/cudf/core/series.py @@ -3008,11 +3008,10 @@ def astype(self, dtype, copy=False, errors="raise"): return self.copy(deep=copy) try: data = self._column.astype(dtype) - if copy: - data = data.copy(deep=True) return self._from_data( - {self.name: data.copy(deep=True)}, index=self._index + {self.name: (data.copy(deep=True) if copy else data)}, + index=self._index, ) except Exception as e: