ndim

property ArrayOfNumeric.ndim

As for numpy.ndarray