a.reshape((1,3))print(a)a.shape [[1] [2] [3]]Out[27]:(3, 1) a.reshape((3,1))print(a)a.shape [[1] [2] [3]]Out[28]:(3, 1) 查看完整描述