-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QST] How to update Table.column value in libcudf Java API #17652
Comments
@ttnghia would you please share your thoughts on the best way to update a column using the libcudf Java API? |
No, cudf Java provides the function
That means, this is needed when calling
Add that second line to your example. That's all you need. When the original table is destroyed, the reused columns are not destroyed but moved to be managed by the new table because their reference counts have been increased. |
Thank you for answering. It's really helpful to know more about reference counting.
So, are the following conclusions correct?
|
Yes these are correct. A table is just a manager for the columns, so creating a new table holding existing columns of another table is relatively cheap. |
What is your question?
2 Questions.
Hi. I'm trying to rewrite cudf(Python) code to libcudf(Java) code.
In my understanding, they are implemented diffrenct concept. So, I do not believe that they are completely compatible, of course.
How can I write a process in libcudf(Java) that corresponds to the following process of updating a Series in a cudf.DataFrame?
libcudf(Java) prohibit to access
Table.columns
and don't have update column API. ex)setColumn(index, value)
A simple implementation would yield the following code, which does not seem very smart.
Also, I know there is libcudf(C++) documentation, but I could not find any Java documentation or example code. Is there somewhere I can find it?
Now I'm trying to implement with reading Test code and API implementation...
The text was updated successfully, but these errors were encountered: