Oh sorry, my example was dumb, never mind. It looks like this way does work
after all. Can someone please confirm for me, though, that the workaround I am
using (just changing to the wider string type) is reliable? Thanks, sorry for
the noise.
-Lewis
Hello-
I see from this thread:
http://article.gmane.org/gmane.comp.python.numeric.general/18746/
that searchsorted does not work correctly with strings. Is there a workaround,
though, that I can use with 1.0.4 until there is a new official numpy release
that includes the fix mentioned in the ref