Index.get_indexer(target, method=None, limit=None, tolerance=None) [source]
Compute indexer and mask for new index given the current index. The indexer should be then used as an input to ndarray.take to align the current data to the new index. Parameters:
target : Index method : {None, ?pad?/?ffill?, ?backfill?/?bfill?, ?nearest?}, optional default: exact matches only. pad / ffill: find the PREVIOUS index value if no exact match. backfill / bfill: use NEXT index value if no exact match ne