Dan Yamins wrote:
>
>
> > Then I attempt
> >>>> A = numpy.rec.fromarrays(L,names =
> ['Aggregates','__color__'])
>
> So what happens when you set the dtype here?
>
>
> Since you have variable lengths of strings, numpy probably has guessed
> incorrectly. I would also chec
>
> > Then I attempt
> >>>> A = numpy.rec.fromarrays(L,names = ['Aggregates','__color__'])
>
> So what happens when you set the dtype here?
>
> Since you have variable lengths of strings, numpy probably has guessed
> incorrectly. I would also check that Col1 and Col2 are what you expect,
> esp
Dan Yamins wrote:
> Hi all,
>
> I'm having a seg fault error from numpy.rec.fromarrays.
>
> I have a python list
> L = [Col1, Col2]
> where Col1 and Col2 are python lists of short strings (the max length
> of Col1 strings is 4 chars and max length of Col2 is 7 chars). The
> len of Col1 and
>
>> Can someone explain why this might be happening, and how I can fix it
>> (without having to use the pickling hack)?
>>
>
> What architecture/operating system is this?
>
Sorry, I should have included this information before. it's OS 10.5.6. the
is a 64-bit intel core-2 duo, but the python i
2009/3/24 Dan Yamins
> Hi all,
>
> I'm having a seg fault error from numpy.rec.fromarrays.
>
> I have a python list
> L = [Col1, Col2]
> where Col1 and Col2 are python lists of short strings (the max length of
> Col1 strings is 4 chars and max length of Col2 is 7 chars). The len of Col1
> an
Hi all,
I'm having a seg fault error from numpy.rec.fromarrays.
I have a python list
L = [Col1, Col2]
where Col1 and Col2 are python lists of short strings (the max length of
Col1 strings is 4 chars and max length of Col2 is 7 chars). The len of Col1
and Col2 is about 11500.
Then I attempt