

def get_indexer_for(self, target, **kwargs):
    ' guaranteed return of an indexer even when non-unique '
    if self.is_unique:
        return self.get_indexer(_, **kwargs)
    (indexer, _) = self.get_indexer_non_unique(target, **kwargs)
    return indexer

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.get_indexer_for/VarMisuse@29/57 `target`->`_`