If you want an error to be raised when the data is copied, you should assign the new shape to the shape attribute of the array: >>> a = np.zeros((10, ...
確定! 回上一頁