quick fiddle

Run Settings
LanguagePython
Language Version
Run Command
import numpy as np x = np.array([[1],[2],[3],[4],[5]]) y = np.array([[6, 7], [8, 9], [10, 11], [12, 13], [14, 15]]) merge = lambda a,b: [a[0],b[1]] res = np.array(list(map(merge, x, y))) #show results print(res)
Editor Settings
Theme
Key bindings
Full width
Lines