-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: assert_series/frame not comparing for categoricals #13076
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
Comments
cc @sinhrks (on the |
Correct. In addition, I've once tried this, and found lots of errors including stata. Needs some time to check it one by one... |
maybe lets do in 2 stages |
Let me clarify... 2 stages are:
|
yep might be less invasive that way and for series/frame could have an option that we gradually turn on so can do the change in pieces (not ideal but could be lots of test comparison issues) |
stage 1 of #13076 Author: sinhrks <[email protected]> Closes #13080 from sinhrks/test_categorical_message and squashes the following commits: 81172ce [sinhrks] TST: fix assert_categorical_equal message
xref dask/partd#7
all of these should fail as the ordered categoricals don't compare equal in the categories, and ordered is not being compared (nor categories)
Furthermore the
assert_series_equal
fail for the same.assert_categorical_equal
DOES the right thing, but not being called here. (not that this should saycategories
are not equal?)The text was updated successfully, but these errors were encountered: