cf.PartitionMatrix.ndim

PartitionMatrix.ndim

The number of partition dimensions in the partition matrix.

Not to be confused with the number of dimensions of the master data array.

Examples

>>> pm.shape
(8, 4)
>>> pm.ndim
2
>>> pm.shape
()
>>> pm.ndim
0

Previous topic

cf.PartitionMatrix.transpose

Next topic

cf.PartitionMatrix.shape

This Page