I have the following dataset
Original dataset:
ID Col1 Col1 Col1 Col2 Col2 Col2
A Dog House
B Dog Car Bike
C Cat House
D Mouse Bike
Is there any way to create a new dataframe that combines all values with the same column name like below
Expected dataset:
ID Col1 Col2
A Dog House
B Dog Car, Bike
C Cat House
D Mouse Bike