Created
January 14, 2021 20:35
-
-
Save brandon-b-miller/fd42a4806ed68a97763c209d9cc7671f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cudf | |
sr1 = cudf.Series([1,2,3]) | |
sr2 = cudf.Series([2,3,4]) | |
val = cudf.Scalar(1) # construct a cuDF scalar | |
result_1 = sr1 + val | |
result_2 = sr2 – val |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment