Skip to content

Commit

Permalink
Fix ListColumn constructor argument (#4620)
Browse files Browse the repository at this point in the history
A recent API change in cudf (rapidsai/cudf#16465) now requires the `data` argument to be passed (consistent with the other Column subclasses)

Authors:
  - Matthew Roeschke (https://github.com/mroeschke)

Approvers:
  - Rick Ratzel (https://github.com/rlratzel)

URL: #4620
  • Loading branch information
mroeschke authored Aug 20, 2024
1 parent 4c26e7a commit 710f268
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/cugraph/cugraph/utilities/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ def create_list_series_from_2d_ar(ar, index):
mask_col = cp.full(shape=n_rows, fill_value=True)
mask = cudf._lib.transform.bools_to_mask(as_column(mask_col))
lc = cudf.core.column.ListColumn(
data=None,
size=n_rows,
dtype=cudf.ListDtype(data.dtype),
mask=mask,
Expand Down

0 comments on commit 710f268

Please sign in to comment.