I have multiple different sized ndarrays (e.g. a = np.arange(3), b = np.arange(4) which I'd like to concat/stack to one ndarray res with the dtype ndarray:
> res
array([array([0, 1, 2]), array([0, 1, 2, 3])], dtype=np.ndarray)
Is there a way to achieve this?