zcollection.variable.abc.Variable.dimension_index#

Variable.dimension_index()[source]#

Return an iterator over the variable dimensions and their index.

Returns:

An iterator over the variable dimensions

Return type:

Iterator[tuple[str, int]]