numpy / 1.18.5 / reference / generated / numpy.memmap.dtype.html /

numpy.memmap.dtype

attribute

memmap.dtype

Data-type of the array’s elements.

Parameters
None
Returns
dnumpy dtype object

See also

numpy.dtype

Examples

>>> x
array([[0, 1],
       [2, 3]])
>>> x.dtype
dtype('int32')
>>> type(x.dtype)
<type 'numpy.dtype'>

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.memmap.dtype.html