Skip to content

BUG: Fix assert_series_equal with check_category_order=False for categoricals with nulls #62017

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

anishkarki
Copy link
Contributor

…goricals with nulls

- Use allow_fill=True and fill_value=np.nan in take() to handle null codes properly
- Add regression testcase test_assert_series_equal_categorical_nulls_different_order
- Closes pandas-dev#62008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: assert_series_equal broken with check_category_order=False for arrays with null values
1 participant