SciPy

scipy.sparse.csr_matrix.set_shape

csr_matrix.set_shape(shape)[source]

See reshape.

Previous topic

scipy.sparse.csr_matrix.rint

Next topic

scipy.sparse.csr_matrix.setdiag