def _vindex_slice(block, points):
    points = [p if isinstance(p, slice) else list(p) for p in points]
    return block[tuple(points)]
Pull out point-wise slices from block
dataset/ETHPy150Open dask/dask/dask/array/core.py/_vindex_slice