Skip to content
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: identity checking NA in map incorrect #58392

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

Conversation

droussea2001
Copy link
Contributor

@droussea2001 droussea2001 commented Apr 23, 2024

The idea is just to avoid that pd.NA value are converted to np.nan by calling to_numpy: pd.NA values stay pd.NA values after a map operation

That's why test_map and test_map_na_action_ignore were modified in this way (we expect in this modified tests to keep pd.NA after a map)

@mroeschke: would it be acceptable to manage this problem in this way ?

@droussea2001 droussea2001 changed the title BUG: identity checking na in map incorrect BUG: identity checking NA in map incorrect Apr 24, 2024
@droussea2001 droussea2001 marked this pull request as ready for review April 26, 2024 18:01
@droussea2001
Copy link
Contributor Author

@mroeschke: Hello, hope you're doing well, would it be possible to merge this PR or should I propose another approach ?
Thanks in advance

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: Identity checking NA in map is incorrect
1 participant