scipy.sparse.dia_matrix.ndim ============================ .. currentmodule:: scipy.sparse .. autoattribute:: dia_matrix.ndim