Merge two arrays in a zipper pattern
You can do it without numpy:
Just add them, a = [1,3,5]+[2,4,6] and then sort them sorted(a)
Say I have two arrays
[1, 3 , 5] and
[2, 4, 6],
what's the best way of merging them to yield [1, 2, 3, 4, 5, 6] without using loops or recursion and just numpy?