📜  转置矩阵 numpy - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:38.950000             🧑  作者: Mango

代码示例1
import numpy as np

A = [1, 2, 3, 4]
np.array(A).T # .T is used to transpose matrix