-
Notifications
You must be signed in to change notification settings - Fork 915
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
[BUG] cudf.testing.assert_series_equal not corrrectly testing for NaNs and assigning cp.nan to Series the same. #8513
Comments
@brandon-b-miller is this something which could be resolved by #8442 ? |
Not sure - I suspect no, but am digging in now. |
slightly simpler repro
|
This is a combination of two things:
|
Here's my (likely slower) workaround:
feel free to test with the following:
and similar and reverse cases should be the only ones that work. |
This issue has been labeled |
Fixes a bug where empty columns were not comparing correctly as well as a few edge cases with strings Partially addresses #8513 Authors: - https://github.com/brandon-b-miller Approvers: - Vyas Ramasubramani (https://github.com/vyasr) - Michael Wang (https://github.com/isVoid) URL: #10011
@brandon-b-miller of your two points above, item (2) is no longer relevant after #10011. Regarding item 1, don't a lot of invariants break if we change the
I don't think we can change the default behavior of |
Yeah, I'd agree. Over the long term I'd rather not have |
Sounds good. We can revisit removing |
Describe the bug
cudf.testing.assert_series_equal gives assertion error when comparing two series that have cp.nan filled in
Steps/Code to reproduce bug
Notice that in [right] the NaN is missing. Also notice in the section below, that the
cudf
has two types of NaN:<NA>
andNaN
. despite both assignedcp.nan
Expected behavior
No error. Feel free to try the
pandas
alternative:Environment overview (please complete the following information)
Rapids 0.19 install via conda
The text was updated successfully, but these errors were encountered: