Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
numpy
GitHub Repository: numpy/numpy
Path: blob/main/doc/release/upcoming_changes/29994.expired.rst
2242 views
Remove ``newshape`` parameter from ``numpy.reshape``
----------------------------------------------------

The ``newshape`` parameter was deprecated in NumPy 2.1.0 and has been
removed from ``numpy.reshape``. Pass it positionally or use ``shape=``
on newer NumPy versions.