[Numpy-discussion] unicode string for specifying dtype

Anthony Scopatz scopatz@gmail....
Wed Nov 17 15:09:43 CST 2010


Hi Antony

This seems to work for me...  What version of python/numpy are you using?

Be Well
Anthony

On Tue, Nov 16, 2010 at 11:33 PM, Antony Lee <antony.lee@berkeley.edu>wrote:

> 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
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20101117/abbef264/attachment.html 


More information about the NumPy-Discussion mailing list