def get_indexer_dict(label_list, keys):
shape = list(map(len, keys))<EOL>group_index = get_group_index(label_list, shape, sort=True, xnull=True)<EOL>ngroups = ((group_index.size and group_index.max()) + <NUM_LIT:1>)if is_int64_overflow_possible(shape)else np.prod(shape, dtype='<STR_LIT>')<EOL>sorter = get_group_index_sorter(group_index, ngroups)<EOL>sorted_labels = [lab.take(sorter) for lab in label_list]<EOL>group_index = group_index.take(sorter)<EOL>return lib.indices_fast(sorter, group_index, keys, sorted_labels)<EOL>
return a diction of {labels} -> {indexers}