Created
March 6, 2024 17:53
-
-
Save quantra-go-algo/aca5975b3cc9dfb43c53589c0f3907e4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 the corresponding library | |
import cudf | |
# Create a GPU DataFrame | |
data = {'A': [1, 2, 3], 'B': [4, 5, 6]} | |
df = cudf.DataFrame(data) | |
# Perform data manipulation | |
df['C'] = df['A'] + df['B'] | |
print(df) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment