larray.LArray.memory_used

property LArray.memory_used

Returns the memory consumed by the array in human readable form.

Returns
str

Memory used by the array.

Examples

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