You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Alessandro Molina (Jira)" <ji...@apache.org> on 2022/01/20 10:14:00 UTC

[jira] [Updated] (ARROW-13035) [C++] Create a compute function returning indices of non-zero values

     [ https://issues.apache.org/jira/browse/ARROW-13035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessandro Molina updated ARROW-13035:
--------------------------------------
    Labels: good-first-issue kernel pull-request-available  (was: good-first-issue pull-request-available)

> [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: Alessandro Molina
>            Priority: Major
>              Labels: good-first-issue, kernel, pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 11.5h
>  Remaining Estimate: 0h
>
> 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)