Index.
ndim
The number of dimensions in the data array.
See also
data, hasdata, isscalar, shape
data
hasdata
isscalar
shape
Examples:
>>> f.hasdata True >>> f.shape (73, 96) >>> f.ndim 2
>>> f.shape () >>> f.ndim 0