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
Describe the issue:
is_nan is a bit weird in that it also returns true for data types that are not numbers.
Proposed solution:
Make is_nan be compliant with most other languages and only return True if the value is actual a float NaN.
The existing behavior could be inversed and be part of a new process is_numerical (returns true for all integers and floating point numbers except for NaN, false for NaN and all non-numerical data types).
Process ID: is_nan / is_numerical
Describe the issue:
is_nan is a bit weird in that it also returns true for data types that are not numbers.
Proposed solution:
Make is_nan be compliant with most other languages and only return True if the value is actual a float NaN.
The existing behavior could be inversed and be part of a new process is_numerical (returns true for all integers and floating point numbers except for NaN, false for NaN and all non-numerical data types).
Any opinions? @soxofaan @clausmichele
The text was updated successfully, but these errors were encountered: