I have a function foo that returns an array with the shape (1000, 2) how can I split it to two arrays a(1000) and b(1000) I'm looking for something like this:
a;b = foo()
I'm looking for an answer that can easily generalize to the case in which the shape is (1000, 5) or so.