I am trying to make a box plot out of a dataframe with 1000 rows and 80 columns. It currently looks like this. enter image description here
Now I want to move each column to stack 80 different columns but not sure how to do that. How can I separate the columns and stack to make a wide format dataframe to a long format data?
Current dataframe looks like this:
age1 age 2 age3 
x1   y1    z1 
x2   y2    z2 
x3   y3    z3 
Desired outcome is:
age value
 1   x1
 1   x2
 1   x3
 1   x1
 2   y1
 2   y2
 2   y3
 3   z1
 3   z2
 3   z3
 
    