code: def test_scalar_index(self):
      self.assertEqual(self.dataset1d[4.5], 4)
      self.assertEqual(self.dataset1d[3.7], 3)
      self.assertEqual(self.dataset1d[9.9], 9)
  
imports: from unittest import SkipTest
  import numpy
  from holoviews.core.data import Dataset
  from holoviews.core.data.interface import DataError
  from holoviews.core.dimension import Dimension
  from holoviews.core.spaces import HoloMap
  from holoviews.element import Histogram, QuadMesh
  from holoviews.element.comparison import ComparisonTestCase
  from holoviews.util.transform import dim
label_desc: Use image node_id 11 for calling the Binned1DTest obj's underlying member method code with example usage: obj.test_scalar_index() without return types