[Numpy-discussion] Array of PyObject or strings
Nicolas Pernetty
nicopernetty at yahoo.fr
Sat Jun 25 14:57:30 EDT 2005
On Fri, 24 Jun 2005 23:12:07 -0700, Robert Kern <rkern at ucsd.edu> wrote :
> >
> > 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 .
>
Right ! haven't seen it in the doc, sorry.
Anyway it's what I was looking for.
Regards
More information about the NumPy-Discussion
mailing list