行向量
import numpy as np
a = np.array(np.arrange(10))
rowVector = a..reshape((1,-1))
列向量
import numpy as np
a = np.array(np.arrange(10))
rowVector = a..reshape((-1,1))
标签:10,..,rowVector,numpy,arange,行向量,np,Numpy
来源: https://www.cnblogs.com/2944014083-zhiyu/p/14856133.html