Skip to content

Instantly share code, notes, and snippets.

@brandon-b-miller
Created January 14, 2021 20:47
Show Gist options
  • Save brandon-b-miller/9e08c17e46473045f751cce120e5c0de to your computer and use it in GitHub Desktop.
Save brandon-b-miller/9e08c17e46473045f751cce120e5c0de to your computer and use it in GitHub Desktop.
import cudf
val = cudf.Scalar(12, dtype="int8")
print(val)
str_val = cudf.Scalar("hello", dtype="str")
print(str_val)
datetime_val = cudf.Scalar("2011-01-01", dtype="datetime64[ns]")
print(datetime_val)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment