code: def iloc(cls, dataset, index):
      from shapely.geometry import MultiPoint
  
      rows, cols = index
  
      data = dict(dataset.data)
      geom = data["geometry"]
  
      if isinstance(geom, MultiPoint):
          if isscalar(rows) or isinstance(rows, slice):
              geom = geom.geoms[rows]
          elif isinstance(rows, (set, list)):
              geom = MultiPoint([geom.geoms[r] for r in rows])
      data["geometry"] = geom
      return data
  
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 17 for calling the GeomDictInterface obj's underlying member method code with example usage: obj.iloc(cls, dataset, index) and returns: data