[Numpy-discussion] searchsorted bug

Alan G Isaac aisaac at american.edu
Thu Jan 31 10:55:41 EST 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