-
Notifications
You must be signed in to change notification settings - Fork 389
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
Break isnull type operations out into a separate expression #697
Comments
If this is commonly used in the following way
Then we might consider the following operation instead
|
pandas actually has two names for this just fyi |
aesthetically not a fan of |
Yeah, What is more convenient from a computational perspective, |
I think both should exist. Isnull gives you an indicator variable and drop null gives you values where the result of isnull is false. |
In regards to syntax I agree. In regards to computation I think that this requires us to look at how computational backends handle things. For example. If everything is like numpy then we don't need to bother with |
Currently the
isnan
method usesnp.isnan
ormath.isnan
. We should add an additionalisnull
that checks for null values.Most backends have something that corresponds to this operation.
cc @quasiben @chdoig @mrocklin
The text was updated successfully, but these errors were encountered: