numpy.matrix.ndim ================= .. currentmodule:: numpy .. autoattribute:: matrix.ndim