SciPy

scipy.sparse.spmatrix.set_shape

spmatrix.set_shape(self, shape)[source]

See reshape.

Previous topic

scipy.sparse.spmatrix.resize

Next topic

scipy.sparse.spmatrix.setdiag