[Numpy-discussion] numpy dtype str is '<i4' instead of 'int'

Sebastian Haase haase at msg.ucsf.edu
Sun Jul 9 16:59:20 CDT 2006


Hi Travis,
Is it possible to change dtype str() [and repr() ?]
of "standard types" to a more user friendly string:
Example: instead of '<i4' 'int':
 >>> N.array([1,2])
[1 2]
 >>> _.dtype
'<i4'


and so on ?

I think it would be much more readable.

(I just build from todays SVN)

Thanks for the great work !!

- Sebastian Haase




More information about the Numpy-discussion mailing list