OSDir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-2665) [Python] Add index() method to find first occurence of Python scalar


Uwe L. Korn created ARROW-2665:
----------------------------------

             Summary: [Python] 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: Python
            Reporter: Uwe L. Korn


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)