Try `np.reshape()`. This is duplicate to https://stackoverflow.com/questions/30668223/how-to-change-array-shapes-in-in-numpy
– Mr_U4913Oct 11 '19 at 20:38
1 Answers1
3
Use the reshape() method on the array. (It's also avilable as a NumPy function, np.reshape().)