点击运行
import numpy as np a = np.array([[1,2,3],[4,5,6]]) b = a.reshape(3,2) print(b)
运行结果 :
正在执行...