-
ndarray.dtype -
Data-type of the array?s elements.
Parameters: None Returns: d : numpy dtype object See also
Examples
>>> x array([[0, 1], [2, 3]]) >>> x.dtype dtype('int32') >>> type(x.dtype) <type 'numpy.dtype'>
ndarray.dtype
2025-01-10 15:47:30
ndarray.dtype Data-type of the array?s elements.
| Parameters: | None |
|---|---|
| Returns: | d : numpy dtype object |
See also
>>> x
array([[0, 1],
[2, 3]])
>>> x.dtype
dtype('int32')
>>> type(x.dtype)
<type 'numpy.dtype'>
Please login to continue.