zcollection.variable.array.Array.dimension_index#

Array.dimension_index()#

Return an iterator over the variable dimensions and their index.

Returns:

An iterator over the variable dimensions

Return type:

Iterator[tuple[str, int]]