Return the number of dimensions of the array.
Number of dimensions of an Array.
Examples
>>> a = ndtest('nat=BE,FO;sex=M,F') >>> a.ndim 2