[Numpy-discussion] The "I" dtype character

Georg Brandl g.brandl@gmx....
Mon Apr 8 02:14:51 CDT 2013


Hi,

is it intentional that "I" is supported as a dtype character, but cannot be
suffixed with a size?

>>> dtype('i1')
dtype('int8')
>>> dtype('I1')
dtype('uint32')

I know "u" is documented as unsigned integer, but this seems an unnecessary
restriction that is confusing.

thanks,
Georg



More information about the NumPy-Discussion mailing list