

def test_getitem_index(self):
    cube = Dataset(self.cube)
    self.assertEqual(cube[0].data.data, np.array([[1, 5, 9]], dtype=np.int32))

dataset/ETHPy150Open ioam/holoviews/tests/testirisinterface.py TestCube.test_getitem_index/original