Re: [Numpy-discussion] loadmat output (was Re: Accessing elements of an object array)

2011-03-16 Thread lists_ravi
> On Wed, Mar 16, 2011 at 15:18, wrote: >> In [10]: x >> Out[10]: >> array(array((7.399500875785845e-10, 7.721153414752673e-10, -0.984375), >> Â Â Â dtype=[('cl', '|O8'), ('tl', '|O8'), ('dagc', '|O8')]), >> dtype=object) >> >> In [11]: x.shape, x.size >> Out[11]: ((), 1) > > It's not that it's

Re: [Numpy-discussion] loadmat output (was Re: Accessing elements of an object array)

2011-03-16 Thread Matthew Brett
Hi, On Wed, Mar 16, 2011 at 1:56 PM, wrote: >> On Wed, Mar 16, 2011 at 15:18,   wrote: >>> In [10]: x >>> Out[10]: >>> array(array((7.399500875785845e-10, 7.721153414752673e-10, -0.984375), >>> Â  Â  Â dtype=[('cl', '|O8'), ('tl', '|O8'), ('dagc', '|O8')]), >>> dtype=object) >>> >>> In [11]: x.s