-
ndarray.itemsize
-
Length of one array element in bytes.
Examples
123456>>> x
=
np.array([
1
,
2
,
3
], dtype
=
np.float64)
>>> x.itemsize
8
>>> x
=
np.array([
1
,
2
,
3
], dtype
=
np.complex128)
>>> x.itemsize
16
ndarray.itemsize

2025-01-10 15:47:30
Please login to continue.