SciPy
dok_array.set_shape
See reshape.
reshape
Deprecated since version 1.11.0: This method will be removed in SciPy 1.13.0. Use X.reshape instead.
previous
scipy.sparse.dok_array.resize
next
scipy.sparse.dok_array.setdefault