I would like to convert 2 numpy
arrays such as these ones:
a = [[1, 2, 3]]
b = [[100, 200, 300]]
to an array like below.
[[1, 100], [1, 200], [1, 300], [2, 100], [2, 200], [3, 300], [3, 100], [3, 200], [3, 300]]
Is this possible in NumPy?
Thanks in advance.
(edited to clarify the point of this question.) I'm trying to find a numpy way of solution.