Skip to content

Commit

Permalink
get the pointer from the tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt711 authored Dec 9, 2024
1 parent 24586dc commit 7eb1009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/cudf/cudf/_lib/column.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,8 @@ cdef class Column:
offset = col.offset()
dtype_itemsize = getattr(dtype, "itemsize", 1)

data_ptr = col.data().obj.ptr
mask_ptr = col.null_mask().obj.ptr
data_ptr = col.data().obj.data[0]
mask_ptr = col.null_mask().obj.data[0]
data = None
base_size = size + offset
data_owner = col.data().obj.owner
Expand Down

0 comments on commit 7eb1009

Please sign in to comment.