zcollection.partitioning.abc.Partitioning._split#

abstract Partitioning._split(variables)[source]#

Split the variables constituting the partitioning into partitioning schemes.

Parameters:

variables (dict[str, ArrayLike]) – The variables to be split constituting the partitioning scheme.

Returns:

A sequence of tuples that contains the partitioning

scheme and the associated indexer to divide the dataset on each partition found..

Return type:

Iterator[Tuple[Tuple[Tuple[str, Any], …], slice]]