From 8b5ff188e79bb79ca0c2d581e94d3a91654a2d31 Mon Sep 17 00:00:00 2001 From: Charles Blackmon-Luca <20627856+charlesbluca@users.noreply.github.com> Date: Thu, 23 May 2024 20:32:30 -0400 Subject: [PATCH] Remove problematic call of index setter to unblock dask-cuda CI (#15844) Lighter weight alternative to https://github.com/rapidsai/cudf/pull/15843 to unblock dask-cuda's breakage. Authors: - Charles Blackmon-Luca (https://github.com/charlesbluca) - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Matthew Roeschke (https://github.com/mroeschke) - Vyas Ramasubramani (https://github.com/vyasr) URL: https://github.com/rapidsai/cudf/pull/15844 --- python/cudf/cudf/core/indexed_frame.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/cudf/cudf/core/indexed_frame.py b/python/cudf/cudf/core/indexed_frame.py index a166c256689..394904c5855 100644 --- a/python/cudf/cudf/core/indexed_frame.py +++ b/python/cudf/cudf/core/indexed_frame.py @@ -350,7 +350,8 @@ def _from_columns_like_self( frame = self.__class__._from_data(data) if index is not None: - frame.index = index + # TODO: triage why using the setter here breaks dask_cuda.ProxifyHostFile + frame._index = index return frame._copy_type_metadata( self, include_index=bool(index_names),