[Numpy-discussion] Unexpected behavior with numpy array

Damian Eads eads@soe.ucsc....
Sun Feb 3 13:27:32 CST 2008


Damian Eads wrote:
> Good day,
> 
> Reversing a 1-dimensional array in numpy is simple,
> 
>     A = A[:,:,-1]     .

Err, I meant A=A[::-1] here. My apologies.


More information about the Numpy-discussion mailing list