[Numpy-discussion] Transpose Array How?

Alan Bromborsky abrombo@verizon....
Wed Jun 23 15:13:21 CDT 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@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