numpy函数:np.reshape()

https://blog.csdn.net/qq_28618765/article/details/78083895
并且当设置为np.reshape((-1,1))时,就表示将原本来的数据转换为行数由列数确定,列数为1的矩阵

猜你喜欢

转载自blog.csdn.net/banxiaCSDN/article/details/112793333