You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With floating point data, the float('NaN') special value is commonly used as a placeholder for missing values. We provide math.isnan to support stripping out those values prior to sorting or summation:
For non-float data, the None special value is commonly used as a placeholder for missing values. I propose a new function in the operator module analogous to math.isnan():
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 #115814