code: def get_indexer_dict(label_list, keys):
      """return a diction of {labels} -> {indexers}"""
      shape = list(map(len, keys))
  
      group_index = get_group_index(
          label_list, shape, sort=True, xnull=True
      )
      ngroups = (
          ((group_index.size and group_index.max()) + 1)
          if is_int64_overflow_possible(shape)
          else np.prod(shape, dtype="i8")
      )
  
      sorter = get_group_index_sorter(group_index, ngroups)
  
      sorted_labels = [lab.take(sorter) for lab in label_list]
      group_index = group_index.take(sorter)
  
      return lib.indices_fast(sorter, group_index, keys, sorted_labels)
  
imports: import warnings
  import numpy
  from pandas._libs import algos, hashtable, lib
  from pandas._libs.hashtable import unique_label_indices
  from pandas.compat import PY3, long, string_types
  from pandas.core.dtypes.cast import infer_dtype_from_array
  from pandas.core.dtypes.common import ensure_int64, ensure_platform_int, is_categorical_dtype, is_list_like
  from pandas.core.dtypes.missing import isna
  import pandas.core.algorithms
label_desc: Use image node_id 10 for calling a global function with example usage: get_indexer_dict(label_list, keys) and returns: lib