I have a dataframe with 3 columns (but this could be more depending on the number of files I brought in to the dataframe) and so I created a final column (a 4th column) with a numeric code to tell me where i want the data unstacked (each column contains 4 sets of data so I have coded them as such).
I want to unstack these three columns according to the sort column so that I now have 12 columns (3 columns x 4 sets).
I know this is probably so, so simple but I just can't get it.
Thanks in advance!