Skip to content

Commit

Permalink
Ensure pyarrow.Scalar to pylibcudf.Scalar is cached
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Jan 9, 2025
1 parent 856d9b1 commit 8ab65e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cudf/cudf/core/scalar.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def pa_scalar_to_plc_scalar(pa_scalar: pa.Scalar) -> plc.Scalar:
-------
plc.Scalar
"""
return plc.interop.to_arrow(pa_scalar)
return plc.interop.from_arrow(pa_scalar)


# Note that the metaclass below can easily be generalized for use with
Expand Down

0 comments on commit 8ab65e1

Please sign in to comment.