larray.Array.nbytes

property Array.nbytes: int

Return the number of bytes used to store the array in memory.

Returns
int

Number of bytes in array.

Examples

>>> a = ndtest('sex=M,F;type=type1,type2,type3', dtype=float)
>>> a.nbytes
48