code: def onehot(value, num_values):
      arr = np.zeros(num_values)
      arr[value] = 1.0
      return arr
  
imports: import numpy
  import pandas
  import seaborn
  import matplotlib.pyplot
  import warnings
  import itertools
label_desc: Use image node_id 9 for calling a global function with example usage: onehot(value, num_values) and returns: arr