I found that you can combine a list of NumPy arrays with different shapes into a single array by setting the outer array’s dtype to object, like so:
x = np.array(temp_list, dtype=object)
Maybe this is a more suitable representation of the data for you.