code: def _build_contiguous_map(elements):
      return dict(zip(elements, np.arange(len(elements)) + 1))
  
file_path: spotlight/spotlight/datasets/amazon.py
imports: import h5py
  import numpy
  from spotlight.datasets import _transport
  from spotlight.interactions import Interactions
label_desc: Use image node_id 3 for calling a global function with example usage: _build_contiguous_map(elements) and returns: dict