CategoricalIndex.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. The mask determines whether labels are found or not in the current index Parameters:
target : MultiIndex or Index (of tuples) method : {?pad?, ?ffill?, ?backfill?, ?bfill?} pad / ffill: propagate LAST valid observation forward to next val