cf.PartitionMatrix.shape

PartitionMatrix.shape

List of the partition matrix’s dimension sizes.

Not to be confused with the sizes of the master data array’s dimensions.

Examples

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

Previous topic

cf.PartitionMatrix.ndim

Next topic

cf.PartitionMatrix.size

This Page