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
cf.PartitionMatrix.transpose
cf.PartitionMatrix.shape
Enter search terms or a module, class or function name.