[Numpy-discussion] More about data types in NumPy

Francesc Altet faltet at carabos.com
Wed Sep 27 12:29:25 CDT 2006

El dc 27 de 09 del 2006 a les 11:01 -0600, en/na Travis Oliphant va
> Francesc Altet wrote:
> > Hello,
> >
> > Sorry for being insistent, but I recognize that I'm having a bad time
> > with NumPy data type rational. Is there an explanation for this?:
> >
> >   
> Your actually talking about the array scalar types not the data-type 
> objects. 

Yes, that's right. It's just that I didn't get used to the correct
jargon :-(

> On my 32-bit system I get:
> numpy.sctypeDict['i4'] is numpy.sctypeDict['int32']
> True
> Hmm..... I don't know why you are getting a different result, but 
> perhaps it has to do with the fact that the character alias ('i4') is 
> not getting set at the same type as 'int32'.  I just fixed that.   That 
> should fix the problem.

Yup. I can confirm that the problem is solved in my machine as well.


>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data

More information about the Numpy-discussion mailing list