I have some numpy arrays of size (2, 4, 11), (2, 4, 5), (2, 4, 15).
I want to make an single array (shape [1 * 3]) like this:
array([[array(size 2, 4, 11), array(size 2, 4, 5), array(size 2, 4, 15)]], dtype=object)
I tried to call np.array([the list of arrays], dtype=object)
, but this error occured:
ValueError: could not broadcast input array from shape (2,4,11) into shape (2,4)
How can I do this?