scipy.sparse.lil_array.set_shape

lil_array.set_shape(shape)[source]

See reshape.

Deprecated since version 1.11.0: This method will be removed in SciPy 1.13.0. Use X.reshape instead.