[Numpy-discussion] Transpose Array How?

Alan Bromborsky abrombo at verizon.net
Wed Jun 23 16:13:21 EDT 2010


Alan Bromborsky wrote:
> 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?
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>   
I meant i1->i2->i3->i1 of course!



More information about the NumPy-Discussion mailing list