Skip to content

[Python/C++] Add index() method to find first occurence of Python scalar #19058

@asfimport

Description

@asfimport

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

Reporter: Uwe Korn / @xhochy
Assignee: David Li / @lidavidm

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-2665. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions