I\'ve a pandas dataframe with a similar structure. I want to find out a parent child relationship between the columns i.e Col1 is a parent of Col2
Col1
Col2