SciPy

scipy.sparse.dok_matrix.update

dok_matrix.update(self, val)[source]

If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

Previous topic

scipy.sparse.dok_matrix.transpose

Next topic

scipy.sparse.dok_matrix.values