pandas.Index.get_indexer_for

Index.get_indexer_for(target, **kwargs)[source]

Guaranteed return of an indexer even when non-unique.

This dispatches to get_indexer or get_indexer_nonunique as appropriate.

Scroll To Top