def _vindex_transpose(block, axis):
    axes = [axis] + list(range(axis)) + list(range(axis + 1, block.ndim))
    return block.transpose(axes)
Rotate block so that points are on the first dimension
dataset/ETHPy150Open dask/dask/dask/array/core.py/_vindex_transpose