📜  python numpy 矩阵列表 - Python 代码示例

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

代码示例2
import numpy as np
x = np.matrix([[1,2,3],
               [7,1,3],
               [9,4,3]])
y = x.tolist()

y --> [[1, 2, 3], [7, 1, 3], [9, 4, 3]]