[Numpy-discussion] searchsorted bug

Alan G Isaac aisaac@american....
Thu Jan 31 09:55:41 CST 2008


Problem also with Windows P3 binaries.
fwiw,
Alan Isaac

Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
'1.0.4'
>>> A = numpy.array(['a','aa','b'])
>>> B = numpy.array(['d','e'])
>>> A.searchsorted(B)
array([3, 0])
>>>




More information about the Numpy-discussion mailing list