1.数组的拼接 import numpy as np t1 = np.array([[0, 1, 2, 3, 4, 5], [6, 7, 8, 9, 10, 11]]) t2 = np.array([[12, 13, 14, 15, 16, 17], [18, 19, 20, 21, 22, 23]]) print(np.vstack((t1, t2))) # 竖直拼接 print(np.hstack((t1, t2))) # 水平拼接 [[ 0 1 2 3 4 5] [ 6 7 8 9 10…