When trying to load data from DIM which contains several LOOP questions which contains the same subquestions, the method quantipy_clean(ddf) fails.

As you can see from the screenshot, the parent is not str object, because there are multiple parents for the same element.
I'm not familiar enough with the quantipy, but I believe some recursion must be implemented into this method in order to handle that.