code: def _create_binned_data(bin_numbers, unique_bin_numbers, values, vv):
      """Create hashmap of bin ids to values in bins
      key: bin number
      value: list of binned data
      """
      bin_map = dict()
      for i in unique_bin_numbers:
          bin_map[i] = []
      for i in builtins.range(len(bin_numbers)):
          bin_map[bin_numbers[i]].append(values[vv, i])
      return bin_map
  
file_path: scipy/scipy/stats/_binned_statistic.py
imports: import builtins
  from warnings import catch_warnings, simplefilter
  import numpy
  from operator import index
  from collections import namedtuple
label_desc: Use image node_id 6 for calling a global function with example usage: _create_binned_data(bin_numbers, unique_bin_numbers, values, vv) and returns: bin_map