[Numpy-discussion] problems with duplicating and slicing an array

Travis Oliphant oliphant at ee.byu.edu
Thu Jan 27 14:31:06 EST 2005


Alan G Isaac wrote:

>On Fri, 21 Jan 2005, Travis Oliphant apparently wrote:
>  
>
>>from scipy import *
>>alter_numeric()
>>i = array([0,2])
>>x = array([1.1,2.2,3.3,4.4])
>>y = x[i]
>>    
>>
>
>This ^ gives me an invalid index error.
>scipy version 0.3.0_266.4242
>  
>
Your version of scipy is apparently too low.

Mine is 0.3.2_299.4506

-Travis








More information about the NumPy-Discussion mailing list