I have a pandas dataframe with a structure similar to the following:
I want to create a tensor 3D tensor where each element has a varying number of rows. Usin