Skip to content

Commit

Permalink
Fix minor numpy bug
Browse files Browse the repository at this point in the history
Signed-off-by: Vibhu Jawa <[email protected]>
  • Loading branch information
VibhuJawa committed Jun 27, 2024
1 parent 1ee3de4 commit 27b36e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crossfit/backend/cudf/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create_list_series_from_1d_or_2d_ar(ar, index):
return RuntimeError(f"Unexpected input shape: {ar.shape}")
data = as_column(ar.flatten())
offset_col = as_column(cp.arange(start=0, stop=len(data) + 1, step=n_cols), dtype="int32")
mask_col = cp.full(shape=n_rows, fill_value=True)
mask_col = cp.full(shape=n_rows, fill_value=cp.bool_(True))
mask = cudf._lib.transform.bools_to_mask(as_column(mask_col))
lc = cudf.core.column.ListColumn(
size=n_rows,
Expand Down

0 comments on commit 27b36e4

Please sign in to comment.