I have a dataframe that looks like:
Column1 | Column2
-----------------
A | 1
A | 2
B | 3
B | 4
I want to produce the following:
Column3 | Column4 | Column5
---------------------------
A | 1 | 2
---------------------------
B | 3 | 4
---------------------------
I know the pd.melt() can be used to go from my desired df to the original. How can I transform the current df into the desired?