[Numpy-discussion] Array of PyObject or strings
nicopernetty at yahoo.fr
Fri Jun 24 17:49:54 EDT 2005
I'm currently in the process of switching from Numeric to numarray but
have a problem with array of strings.
It seems that numarray (with its strings module) only accept array of
fixed-length strings but the problem is that I got an array that I'm
filling on demand, and I don't know beforehand how big the strings will
With Numeric, I use array of PyObject (performance is not an issue here)
and it seems to have disappear with numarray.
Can anyone confirm this ?
And how could I manage array of strings with arbitrary lenght ? (except
the obvious solution of defining a big enough lenght at the beginning,
but I don't like it).
More information about the NumPy-Discussion