Hi I am trying to flatten one column of a dataframe while i repeat another column. It is a sort of cross join on the same table. Below is an example,
Sample dataframe:
I want to flatten this in the following way,
Transformed dataframe:
Any help is appreciated.