pandas.Index.get_indexer_for

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

guaranteed return of an indexer even when non-unique