Skip to content

Commit

Permalink
Remove .device_value
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Oct 2, 2024
1 parent d7f67aa commit 70513c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/cudf/cudf/_lib/string_casting.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -419,16 +419,16 @@ def stoul(Column input_col):
def to_booleans(Column input_col):
plc_column = plc.strings.convert.convert_booleans.to_booleans(
input_col.to_pylibcudf(mode="read"),
as_device_scalar("True").device_value.c_value,
as_device_scalar("True").c_value,
)
return Column.from_pylibcudf(plc_column)


def from_booleans(Column input_col):
plc_column = plc.strings.convert.convert_booleans.from_booleans(
input_col.to_pylibcudf(mode="read"),
as_device_scalar("True").device_value.c_value,
as_device_scalar("False").device_value.c_value,
as_device_scalar("True").c_value,
as_device_scalar("False").c_value,
)
return Column.from_pylibcudf(plc_column)

Expand Down

0 comments on commit 70513c0

Please sign in to comment.