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

Uwe L. Korn commented on ARROW-2665:
------------------------------------

Yes, they need to live on the cpp side as this is an element-wise operation on 
an array.

> [Python/C++] Add index() method to find first occurence of Python scalar
> ------------------------------------------------------------------------
>
>                 Key: ARROW-2665
>                 URL: https://issues.apache.org/jira/browse/ARROW-2665
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Python
>            Reporter: Uwe L. Korn
>            Priority: Major
>
> Python lists have an {{index(x, start, end)}} method to find the first 
> occurence of an element. We should add a method with the same interface 
> supporting Python scalars on the typical triplet 
> {{Array/ChunkedArray/Columns}}.
> See also 
> https://docs.python.org/3.6/tutorial/datastructures.html#more-on-lists



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to