ndim

property Vector.ndim

As for numpy.ndarray