I have the following list I want to turn into one numpy. What is the best and most effective way to do this?
[[array([1, 2, 3]), 1], [array([1, 2, 3]), 2], [array([1, 2, 3]), 4], [array([4, 4, 4]), 3]]
Expected result:
[[1, 2, 3, 1],
[1, 2, 3, 2],
[1, 2, 3, 4],
[4, 4, 4, 3]]