code: def map_array_values(array, value_map):
      # value map must be { src : target }
      ret = array.copy()
      for src, target in value_map.items():
          ret[ret == src] = target
      return ret
  
file_path: anchor/anchor/utils.py
imports: import copy
  import sklearn
  import numpy
  import lime
  import lime.lime_tabular
  import os
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: map_array_values(array, value_map) and returns: ret