I've been going crazy trying to figure out what stupid thing I'm doing wrong here. I'm using NumPy, and I …
python arrays numpy multidimensional-array numpy-slicingI am trying to truncate 'data' (which is size 112943) to shape (1,15000) with the following line of code: data = np.reshape(…
python numpy reshape valueerror numpy-slicing