Skip to content

Commit

Permalink
Remove problematic call of index setter to unblock dask-cuda CI (#15844)
Browse files Browse the repository at this point in the history
Lighter weight alternative to #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: #15844
  • Loading branch information
charlesbluca authored May 24, 2024
1 parent f873e23 commit 8b5ff18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/cudf/cudf/core/indexed_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 8b5ff18

Please sign in to comment.