code: def random(data):
      """Fill missing values in with a randomly selected value from the same
      column.
  
      Parameters
      ----------
      data: numpy.ndarray
          Data to impute.
  
      Returns
      -------
      numpy.ndarray
          Imputed data.
  
      """
      nan_xy = matrix.nan_indices(data)
      for x, y in nan_xy:
          uniques = np.unique(data[:, y])
          uniques = uniques[~np.isnan(uniques)]
          data[x][y] = np.random.choice(uniques)
      return data
  
label_desc: Use image node_id 1 for calling a global function with example usage: random(data) and returns: data