[Numpy-discussion] indexing bug?

Nadia Dencheva dencheva at stsci.edu
Fri Sep 28 14:07:43 EDT 2007


Is indexing with floats really allowed in numpy?


 >>> a=numpy.array([1,2,3,4])
 >>> a[2.99]
3


Nadia Dencheva



More information about the NumPy-Discussion mailing list