Skip to content
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

[C++/Python] Implement Array.isvalid/notnull/isnull as scalar functions #16570

Closed
asfimport opened this issue May 8, 2017 · 4 comments
Closed

Comments

@asfimport
Copy link

asfimport commented May 8, 2017

For arrays with nulls, this amounts to returning the validity bitmap. Without nulls, an array of all 1 bits must be constructed. For isnull, the bits must be flipped (in this case, the un-set part of the new bitmap must stay 0, though).

Reporter: Wes McKinney / @wesm
Assignee: Ben Kietzman / @bkietz

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-971. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Licht Takeuchi / @Licht-T:
@wesm Is this already implemented in C++?

bool IsNull(int64_t i) const {

@asfimport
Copy link
Author

Wes McKinney / @wesm:
The desired scope for this JIRA was to be like pandas.isnull or pandas.notnull, so returning a pyarrow.BooleanArray result

@asfimport
Copy link
Author

Wes McKinney / @wesm:
The correct way to implement is now as arrow::compute::ScalarFunction

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Issue resolved by pull request 7410
#7410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants