How is this not allowed in Numpy?

Posted by Delicious-Turnip8373@reddit | learnprogramming | View on Reddit | 6 comments

arr = np.array([
                [[1, 2, 3, 3], [1, 0, 0]],
                [[1, 2, 3, 3], [1, 2, 0]],
                [[1, 3, 4, 3], [1, 3, 4]]
                ])

This gives error:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (3, 2) + inhomogeneous part.

How is this not allowed? It is an array where each element is an array with 2 elements, the first being an array of length 4 and the second being an arra of length 3.

This is ridiculuous! How am I supposed to do anything with tensorflow like this. 
Using Numpy version 1.26.4