7.5.23.62. dtype¶
-
Array.
dtype
Data-type of the array’s elements.
None
d : numpy dtype object
numpy.dtype
>>> x array([[0, 1], [2, 3]]) >>> x.dtype dtype('int32') >>> type(x.dtype) <type 'numpy.dtype'>
Array.
dtype
Data-type of the array’s elements.
None
d : numpy dtype object
numpy.dtype
>>> x
array([[0, 1],
[2, 3]])
>>> x.dtype
dtype('int32')
>>> type(x.dtype)
<type 'numpy.dtype'>