Skip to content

BUG: Fix is_signed_integer_dtype to handle abstract floating types (GH 62018) #62020

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 3 commits into
base: main
Choose a base branch
from

Conversation

Aniketsy
Copy link

@Aniketsy Aniketsy commented Aug 1, 2025

(#GH 62018)
This PR fixes a bug in (is_signed_integer_dtype) where abstarct Numpy floating types would raise a TypeError .
Now, the function returns False for these types, as expected.

Please let me know if my approach or fix needs any improvements . I’m open to feedback and happy to make changes based on suggestions.
Thankyou !

@jbrockmendel
Copy link
Member

Please wait for discussion on the issue as to whether this is worth doing.

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.

2 participants