📜  附加两个一维数组 python 代码示例

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

代码示例2
# append two 1d arrays python
a = np.array([0, 1, 2])
b = np.array([3, 4, 5])
c = np.concatenate((a, b), axis=0)
print(c)

# Output
# [0 1 2 3 4 5]