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

Use the new TypeIs feature to update the notna/notnull/isna/isnull type guards #972

Merged
merged 4 commits into from
Aug 7, 2024

Conversation

loicdiridollou
Copy link
Contributor

tests/test_pandas.py Outdated Show resolved Hide resolved
tests/test_pandas.py Outdated Show resolved Hide resolved
tests/test_pandas.py Outdated Show resolved Hide resolved
@loicdiridollou
Copy link
Contributor Author

loicdiridollou commented Aug 6, 2024

Thanks @gandhis1 for the feedback.

Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @loicdiridollou . Nice change

@Dr-Irv Dr-Irv merged commit 1896191 into pandas-dev:main Aug 7, 2024
13 checks passed
@steve-mavens
Copy link

I think this change isn't quite correct: #1009. The return value of this function doesn't actually discriminate the type, because some float are NaN and others aren't.

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.

Use the new TypeIs feature to update the notna/notnull/isna/isnull type guards
4 participants