[Numpy-discussion] array of tuples

David M. Cooke cookedm at physics.mcmaster.ca
Tue Jun 6 17:02:37 CDT 2006


On Tue, 06 Jun 2006 14:15:14 -0700
Christopher Barker <Chris.Barker at noaa.gov> wrote:

> David M. Cooke wrote:
> > If you want the dtype
> > used, it's spelled with an appended _.
> > 
> > So in this case you'd want dtype=N.object_. N.object0 works too.
> 
> That will work, thanks. But what does object0 mean?

I think it's "type object, default size". It's a holdover from Numeric. int0,
for instance, is the same as int_ (= int64 on my 64-bit box, for instance).

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca




More information about the Numpy-discussion mailing list