larray.LArray.ndim

property LArray.ndim

Returns the number of dimensions of the array.

Returns
int

Number of dimensions of a LArray.

Examples

>>> a = ndtest('nat=BE,FO;sex=M,F')
>>> a.ndim
2