I have a dataset with 600 rows. the data has one main ID= Version and second ID= Task. Data looks like this:
 Version  Task  Concept  Att 1 -  Att 2 -
       1     1        1        3        2
       1     1        2        1        1
       1     2        1        2        3
       1     2        2        1        2
       1     3        1        2        3
       1     3        2        3        1
       2     1        1        2        1
       2     1        2        3        2
       2     2        1        2        2
       2     2        2        1        3
       2     3        1        3        1
       2     3        2        1        3
I would like to change the format, so to have "Task" which belongs to the same "Version" in the same row like this:
 Version  Task  Concept  Att 1 -  Att 2 -  Version  Task  Concept  Att 1 -  Att 2 -
       1     1        1        3        2        1     1        2        1        1
       1     2        1        2        3        1     2        2        1        2
       1     3        1        2        3        1     3        2        3        1
       2     1        1        2        1        2     1        2        3        2
       2     2        1        2        2        2     2        2        1        3
       2     3        1        3        1        2     3        2        1        3
I have tried different things like groupby, pivot but I cannot find the right solution
 
    