I am trying to truncate 'data' (which is size 112943) to shape (1,15000) with the following line of code:
data = np.reshape(data, (1, 15000))
However, that gives me the following error:
ValueError: cannot reshape array of size 112943 into shape (1,15000)
Any suggestions on how to fix this error?