

def test_select_slice(self):
    cube = Dataset(self.cube)
    self.assertEqual(cube.select(longitude=(0, 1)).data.data, np.array([[1, 2], [5, 6], [9, 10]], dtype=np.int32))

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