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