cf.PartitionMatrix.transpose

PartitionMatrix.transpose(axes)[source]

Permute the partition dimensions of the partition matrix in place.

Note that this does not change the master data array.

Parameters :
axes : sequence of ints

Permute the axes according to the values given.

Returns :

None

Examples

>>> pm.transpose((2,0,1))

Previous topic

cf.PartitionMatrix.squeeze

Next topic

cf.CfDict

This Page