[Numpy-discussion] Transpose Array How?

Alan Bromborsky abrombo@verizon....
Wed Jun 23 15:00:49 CDT 2010


In the transpose function we have transpose(a,axis) where axis can be a 
list of integers.  But exactly what to the integers mean? If axis = 
[i1,i2] switching axis i1 with axis i2 is obvious, but what if axis = 
[i1,i2,i3].  Does this describe a cyclic permutation where 
i1->i2->i3->i2 or what does it describe?


More information about the NumPy-Discussion mailing list