append () · import numpy as np · a =np.array([1, 2, 3]) · b = np.array([4, 5, 6]) · c = np.append(a, b) · print(c) · # [1 2 3 4 5 6].
確定! 回上一頁