[Numpy-discussion] bug in chararray startswith function?
Stefan van der Walt
stefan at sun.ac.za
Mon Nov 20 02:27:07 EST 2006
On Mon, Nov 20, 2006 at 05:13:49PM +1030, Michael Sorich wrote:
> python 2.4.3 with numpy 1.0
>
> import numpy
> ca = numpy.char.asarray(['hi','there'])
> print ca
> print ca.startswith('h')
>
> --output
> ['hi' 'there']
> Traceback (most recent call last):
> File "D:\eclipse\NumpyExtensions\scripts\testchararray.py", line 4, in ?
Thanks, should be fixed in SVN.
Cheers
Stéfan
More information about the NumPy-Discussion
mailing list