[Numpy-discussion] NumPy types --> Numeric typecodes map?

Francesc Altet faltet at carabos.com
Mon Sep 25 11:47:38 CDT 2006


Anybody know if there is a map between NumPy types and Numeric
typecodes? Something like 'typecodes' for numarray:

>>> numarray.typecode
{'UInt64': 'U', 'Int32': 'i', 'Int16': 's', 'Float64': 'd', 'Object':
'O', 'UInt8': 'b', 'UInt32': 'u', 'Complex64': 'D', 'UInt16': 'w',
'Bool': 'B', 'Complex32': 'F', 'Int64': 'N', 'Int8': '1', 'Float32':


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

More information about the Numpy-discussion mailing list