[Numpy-discussion] arr.dtype.kind is 'i' for dtype=unit !?

Matthew Brett matthew.brett at gmail.com
Thu Sep 21 11:52:49 CDT 2006


Hi,

> It's in the array interface specification:
>
> http://numpy.scipy.org/array_interface.shtml

I was interested in the 't' (bitfield) type - is there an example of
usage somewhere?

In [13]: dtype('t8')
---------------------------------------------------------------------------
exceptions.TypeError                                 Traceback (most
recent call last)

/home/mb312/python/<ipython console>

TypeError: data type not understood

Best,

Matthew




More information about the Numpy-discussion mailing list