SciPy

scipy.sparse.dok_matrix.set_shape

dok_matrix.set_shape(self, shape)[source]

See reshape.

Previous topic

scipy.sparse.dok_matrix.resize

Next topic

scipy.sparse.dok_matrix.setdefault