SciPy

scipy.sparse.lil_matrix.set_shape

lil_matrix.set_shape(shape)[source]

See reshape.

Previous topic

scipy.sparse.lil_matrix.resize

Next topic

scipy.sparse.lil_matrix.setdiag