[SciPy-dev] chararray array method has vanished
Travis Oliphant
oliphant.travis at ieee.org
Fri Jan 6 15:24:24 CST 2006
Christopher Hanley wrote:
>Hi Travis,
>
>The following no longer works in numpy:
>
>In [117]: import numpy.core.chararray as nc
>
>In [118]: a = nc.array('abcdefg'*10,itemsize=10)
>---------------------------------------------------------------------------
>exceptions.AttributeError Traceback (most
>recent call last)
>
>
I just renamed the module defchararray to avoid confusion. numpy.core
contains the class object chararray as well and that's what you were
getting...
-Travis
More information about the Scipy-dev
mailing list