larray.Array.info

property Array.info: str

Describe an Array (metadata + shape and labels for each axis).

Returns
str

Description of the array (metadata + shape and labels for each axis).

Examples

>>> mat0 = Array([[2.0, 5.0], [8.0, 6.0]], "nat=BE,FO; sex=F,M")
>>> mat0.info
2 x 2
 nat [2]: 'BE' 'FO'
 sex [2]: 'F' 'M'
dtype: float64
memory used: 32 bytes
>>> mat0.meta.title = 'test matrix'
>>> mat0.info
title: test matrix
2 x 2
 nat [2]: 'BE' 'FO'
 sex [2]: 'F' 'M'
dtype: float64
memory used: 32 bytes