Skip to content

Commit

Permalink
Avoid private mask cudf API in favor of Column.as_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Nov 13, 2024
1 parent a5fdc8b commit 63465f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cugraph/cugraph/utilities/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def create_list_series_from_2d_ar(ar, index):
cp.arange(start=0, stop=len(data) + 1, step=n_cols), dtype="int32"
)
mask_col = cp.full(shape=n_rows, fill_value=True)
mask = cudf._lib.transform.bools_to_mask(as_column(mask_col))
mask = as_column(mask_col).as_mask()
lc = cudf.core.column.ListColumn(
data=None,
size=n_rows,
Expand Down

0 comments on commit 63465f9

Please sign in to comment.