转置一个矩阵 b = np.reshape(list(zip(*a)),(len(a),-1)) a.T 转载于:https://www.cnblogs.com/wei-huan/p/10580764.html