-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Python] Add is_nan
for Python
#34154
Comments
I think an |
Sorry, I wasn't clear. I meant as part of the expressions API. |
Ah, I see. Now, that actually works as well with the functions (something we probably need to document better):
But given that we have a method on the expression for is_null, we could maybe do that for is_nan as well (although is_nan is specific to one data type, while is_null is generic). |
* Closes: GH-34154 Lead-authored-by: Fokko Driesprong <fokko@tabular.io> Co-authored-by: Fokko Driesprong <fokko@apache.org> Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Issue resolved by pull request 34184 |
Describe the enhancement requested
We currently use
field.is_null(nan_is_null=True) & field.is_valid()
for filtering on NaN values, but would be great to fall back tois_nan
. The abovementioned expression doesn't seem to catch NaN values.Component(s)
Python
The text was updated successfully, but these errors were encountered: