

def _get_fill_indexer_searchsorted(self, target, method, limit=None):
    '\n        Fallback pad/backfill get_indexer that works for monotonic decreasing\n        indexes and non-monotonic targets\n        '
    if (limit is not None):
        raise ValueError(('limit argument for %r method only well-defined if index and target are monotonic' % method))
    side = ('left' if (method == 'pad') else 'right')
    target = np.asarray(target)
    indexer = self.get_indexer(target)
    nonexact = (indexer == (- 1))
    indexer[nonexact] = self._searchsorted_monotonic(target[self], side)
    if (side == 'left'):
        indexer[nonexact] -= 1
    else:
        indexer[(indexer == len(self))] = (- 1)
    return indexer

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index._get_fill_indexer_searchsorted/VarMisuse@95/195 `nonexact`->`self`