cf.PartitionMatrix.swapaxes

PartitionMatrix.swapaxes(axis0, axis1)[source]

Swap the positions of two axes.

Note that this does not change the master data array.

Parameters :
axis0, axis1 :

Select the axes to swap. Arguments axis0 and axis1 are integers which select axes coresponding to the given position in the partition matrix.

Returns :

None

Examples

Previous topic

cf.PartitionMatrix.squeeze

Next topic

cf.PartitionMatrix.transpose

This Page