scipy.sparse.dok_array.set_shape#

dok_array.set_shape(shape)[source]#

See reshape.

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