已经有一组数据 读出来shape(10,1) 怎么才能把shape(10,1)变shape(10,)尝试过y=np.reshape(y,shape=[10,])但是不行
y = np.flatten(y)