-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Add is_any_real_numeric_dtype
to solve discrepancy between Index.is_numeric()
and is_numeric_dtype()
#51160
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
Conversation
is_any_real_numeric_dtype
to solve discrepancy between Index.is_numeric() and is_numeric_dtype()
is_any_real_numeric_dtype
to solve discrepancy between Index.is_numeric() and is_numeric_dtype()is_any_real_numeric_dtype
to solve discrepancy between Index.is_numeric()
and is_numeric_dtype()
Could you check the failing builds? |
@@ -1219,9 +1219,9 @@ def is_numeric_dtype(arr_or_dtype) -> bool: | |||
) | |||
|
|||
|
|||
def is_any_numeric_dtype(arr_or_dtype) -> bool: | |||
def is_any_real_numeric_dtype(arr_or_dtype) -> bool: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@phofl on the off chance someone is actually using this, maybe it's safer if we make an alias is_any_real_numeric_dtype = is_any_numeric_dtype
the "public" version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was only added a couple of days ago, it's especially in no release yet, so I think we are good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah okay gotcha. Fine to change then
When i solve conflict , I did wrong.
thx @ABCPAN-rank |
.is_numeric()
andis_numeric_dtype
forbool
Index
#51152doc/source/whatsnew/v2.0.0.rst
file if fixing a bug or adding a new feature.