[Numpy-discussion] Array of PyObject or strings

Robert Kern rkern at ucsd.edu
Fri Jun 24 23:13:29 CDT 2005


Nicolas Pernetty wrote:
> Hello,
> 
> 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
> be.
> 
> 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 ?

It's in numarray.objects .

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the Numpy-discussion mailing list