scipy.sparse.dok_matrix.save

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

This Page