-
Notifications
You must be signed in to change notification settings - Fork 919
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
Support constructing cudf.Scalar
objects from host side lists
#8459
Support constructing cudf.Scalar
objects from host side lists
#8459
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8459 +/- ##
===============================================
Coverage ? 83.00%
===============================================
Files ? 109
Lines ? 18231
Branches ? 0
===============================================
Hits ? 15132
Misses ? 3099
Partials ? 0 Continue to review full report at Codecov.
|
rerun tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would love to revisit:
cudf/python/cudf/cudf/tests/test_groupby.py
Lines 1788 to 1789 in d30695c
# TODO: Shifting list columns is currently unsupported because we cannot | |
# construct a null list scalar in python. Support once it is added. |
after this is merged. (Can't remember what's the exact issue)
I think it has to do with null filling, it probably fails to construct here using a listdtype: cudf/python/cudf/cudf/_lib/copying.pyx Line 660 in d30695c
As an aside, thank you for pointing that out as this case is actually totally unhandled in this PR - I think it makes sense to go back and add it here before merging. |
@isVoid could you request changes on this PR to temporarily block merging? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request change per above.
This should be ready for another look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks for addressing above.
Co-authored-by: Michael Wang <[email protected]>
…on-b-miller/cudf into fea-construct-listscalar-from-host
Discovered a bug while working forward on |
rerun tests |
rerun tests |
@gpucibot merge |
Closes #8553 based on #8459 Authors: - https://github.com/brandon-b-miller Approvers: - Ashwin Srinath (https://github.com/shwina) - GALI PREM SAGAR (https://github.com/galipremsagar) URL: #8606
Makes it so that this works:
Required for
ListColumn.__setitem__