scipy.sparse
scipy.sparse.dok_matrix.getformat
scipy.sparse.dok_matrix.getnnz
dok_matrix.
getmaxprint
Maximum number of elements to display when printed.