-
-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Add operator.is_none() #115808
Comments
|
For convenience, it might also be nice to have |
Agreed -- I was going to suggest this. It also fits the general pattern of the |
Feature or enhancement
Proposal:
With floating point data, the
float('NaN')special value is commonly used as a placeholder for missing values. We providemath.isnanto support stripping out those values prior to sorting or summation:For non-float data, the
Nonespecial value is commonly used as a placeholder for missing values. I propose a new function in the operator module analogous tomath.isnan():This helps fulfill a primary use case for the operator module which is to support functional programming with
map(),filter(), etc.Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
is_noneandis_not_noneoperators #115814The text was updated successfully, but these errors were encountered: