Imagine we have a 5x4 matrix. We need to remove only the first dimension. How can we do it with numpy?
array([[ 0., 1., 2., 3.],
You don't need the second reshape.
matrix=np.delete(matrix,0,1)