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