From numpy 2.1 in the function `np.reshape()` the variable `newshape` is replaced by `shape` And in Numpy 2.4 this change is definitive #api
From numpy 2.1 in the function
np.reshape()the variablenewshapeis replaced byshapeAnd in Numpy 2.4 this change is definitive
#api