Skip to content

Commit

Permalink
Some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Sep 25, 2023
1 parent b11fc0a commit 33de8d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions python/cudf/cudf/_lib/scalar.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ from libcpp.memory cimport unique_ptr

from rmm._lib.memory_resource cimport DeviceMemoryResource

# TODO: Would like to remove this cimport, but it will require some more work
# to excise all C code in scalar.pyx that relies on using the C API of the
# pylibcudf Scalar underlying the DeviceScalar.
from cudf._lib cimport pylibcudf
from cudf._lib.cpp.scalar.scalar cimport scalar

Expand Down
4 changes: 0 additions & 4 deletions python/cudf/cudf/_lib/scalar.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,6 @@ cdef class DeviceScalar:
_replace_nested(ret, lambda item: item is None, NA)
return ret

# TODO: This is just here for testing and should be removed.
def get(self):
return self.c_value

@property
def dtype(self):
"""
Expand Down

0 comments on commit 33de8d4

Please sign in to comment.