📜  numpy 添加新列 - Python 代码示例

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

代码示例5
import numpy as np
N = 10
a = np.random.rand(N,N)
b = np.zeros((N,N+1))
b[:,:-1] = a