scipy.sparse.dia_matrix.save

dia_matrix.save(file_name, format='%d %d %fn')

This Page