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

Alessandro Molina commented on ARROW-13035:
-------------------------------------------

[~niranda] Let me give it a try, if I don't do it by this week I'll gladly give 
it to you ;)

> [C++] Create a compute function returning indices of non-zero values
> --------------------------------------------------------------------
>
>                 Key: ARROW-13035
>                 URL: https://issues.apache.org/jira/browse/ARROW-13035
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Antoine Pitrou
>            Assignee: Akhil
>            Priority: Major
>              Labels: good-first-issue
>
> This would be similar to Numpy's {{nonzero}} function:
> [https://numpy.org/doc/stable/reference/generated/numpy.nonzero.html]
> {code:python}
> >>> arr = np.array([4,5,0,6,0,5])
> >>> np.nonzero(arr)
> (array([0, 1, 3, 5]),)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to