dtype() examples that used to work

Joris De Ridder joris at ster.kuleuven.be
Mon Oct 30 07:58:39 CST 2006

On Friday 27 October 2006 19:06, Francesc Altet wrote:
   [FA]: for example:
   [FA]: In [67]: dtype([('f1', int16)])
   [FA]: Out[67]: dtype([('f1', '<i2')])
   [FA]: In [68]: dtype([('f1', int16, (2,2))])
   [FA]: Out[68]: dtype([('f1', '<i2', (2, 2))])
   [FA]: In [69]: dtype([('f1', int16, (2,2)), ('f3', int32)])
   [FA]: Out[69]: dtype([('f1', '<i2', (2, 2)), ('f3', '<i4')])

Thanks, Francesc, for the examples!

IMO, record arrays seem powerful, but also intimidating at a first glance.
I think many didactical examples will help getting them into common use.
I made some effort to get updated examples in the Numpy Example List:


Could people who already have some experience with it, have a look at
them and give me their opinion?


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list