I have a pandas dataframe like this:
Column1 | Column2 | Column3 |
---|---|---|
a | k | x |
a | l | y |
b | k | z |
I want to transform this dataframe to this:
Column1 | Column2 | Column3 |
---|---|---|
a | "k,l" | "x,y" |
b | k | z |
I found similar examples but couldn't find an exact solution to my problem. Thank you so much for your help!