a = np.arange(6).reshape(2,3)
b = np.arange(7,13).reshape(2,3)
np.concatenate(a,b)
解决,help(concatenate)
concatenate((array),axis,out)
修改
a = np.arange(6).reshape(2,3)
b = np.arange(7,13).reshape(2,3)
np.concatenate((a,b))
TypeError: only integer scalar arrays can be converted to a scalar index
最新推荐文章于 2023-02-10 09:17:37 发布