[ 
https://issues.apache.org/jira/browse/ARROW-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17116043#comment-17116043
 ] 

Wes McKinney edited comment on ARROW-971 at 5/25/20, 2:03 PM:
--------------------------------------------------------------

The correct way to implement is now as {{arrow::compute::ScalarFunction}}


was (Author: wesmckinn):
The correct way to implement is as {{arrow::compute::ScalarFunction}}

> [C++/Python] Implement Array.isvalid/notnull/isnull as scalar functions
> -----------------------------------------------------------------------
>
>                 Key: ARROW-971
>                 URL: https://issues.apache.org/jira/browse/ARROW-971
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Wes McKinney
>            Priority: Major
>              Labels: dataframe
>             Fix For: 2.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to