I have a df = pd.DataFrame([[1, 3, 5], [2, 4, 6]]) that looks like
0 1 2
0 1 3 5
1 2 4 6
I am trying to move each of the columns to the bottom of the first column. It should look something like...
0
0 1
1 2
2 3
3 4
4 5
5 6
Looking for a way to do this with n rows on a much larger dataframe. I was looking for other ways with pandas stack() but have not found a solution.