code: def dimension_type(cls, dataset, dim):
      name = dataset.get_dimension(dim, strict=True).name
      if name in cls.geom_dims(dataset):
          return float
      values = dataset.data[name]
      return type(values) if isscalar(values) else values.dtype.type
  
imports: import sys
  from collections import OrderedDict
  import numpy
  from holoviews.core.data import Interface, DictInterface, MultiInterface
  from holoviews.core.data.interface import DataError
  from holoviews.core.data.spatialpandas import to_geom_dict
  from holoviews.core.dimension import dimension_name
  from holoviews.core.util import isscalar
  from ..util import asarray, geom_types, geom_to_array, geom_length
label_desc: Use image node_id 9 for calling the GeomDictInterface obj's underlying member method code with example usage: obj.dimension_type(cls, dataset, dim) and returns: unknown, float