🌈 搜索
📅  最后修改于: 2022-03-11 14:45:51.470000             🧑  作者: Mango
import numpy as np N = 10 a = np.random.rand(N,N) b = np.zeros((N,N+1)) b[:,:-1] = a