-
Notifications
You must be signed in to change notification settings - Fork 902
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
Create objects from iterables that contain cudf.NA #8442
Create objects from iterables that contain cudf.NA #8442
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8442 +/- ##
===============================================
Coverage ? 83.89%
===============================================
Files ? 109
Lines ? 19636
Branches ? 0
===============================================
Hits ? 16473
Misses ? 3163
Partials ? 0 Continue to review full report at Codecov.
|
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.
Great! Looks good to me!
rerun tests |
@gpucibot merge |
Closes #8287
PyArrow knows how to handle the
pd.NA
singleton and knows it represents nulls iffrom_pandas=True
during array construction. There's not an option to choose what sentinel or value is used to represent null however and the 'detection' of which values are exactly this object is implemented at the c++ level in pyarrow, limiting our options for 'tricking' pyarrow into seeingcudf.NA
as null.As such it is probably best that our
NA
be identically the pandasNA
. This also makescudf.NA is pd.NA
return true, which is probably what we want as well.