Skip to content

Instantly share code, notes, and snippets.

@brandon-b-miller
Created January 14, 2021 20:53
Show Gist options
  • Save brandon-b-miller/5521c5bba9cff3a25611c70b5a9e9fed to your computer and use it in GitHub Desktop.
Save brandon-b-miller/5521c5bba9cff3a25611c70b5a9e9fed to your computer and use it in GitHub Desktop.
import cudf
# a valid op
x = cudf.Scalar('2011-01-01', dtype='datetime64[ns]')
y = cudf.Scalar(100, dtype='timedelta64[ms]')
print(x + y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment