[Numpy-discussion] unicode string for specifying dtype

Antony Lee antony.lee@berkeley....
Tue Nov 16 23:33:34 CST 2010


I just ran into the following:

>>> np.dtype(u"f4")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: data type not understood

Is that the expected behaviour?

Thanks in advance,
Antony Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20101116/37f33de5/attachment.html 


More information about the NumPy-Discussion mailing list