code: def add_dimension(cls, dataset, dimension, dim_pos, values, vdim):
      data = dataset.data.copy()
      return np.insert(data, dim_pos, values, axis=1)
  
imports: import numpy
  from ..None import util
  from ..dimension import dimension_name
  from ..element import Element
  from ..ndmapping import NdMapping, item_check, sorted_context
  from .interface import DataError, Interface
label_desc: Use image node_id 7 for calling the ArrayInterface obj's underlying member method code with example usage: obj.add_dimension(cls, dataset, dimension, dim_pos, values, vdim) and returns: np