numpy.generic.ndim

generic.ndim

number of array dimensions