I have a file with various rows for each id and I want to transpose some informations in column, in that way I will have 1 rows for each id.
ex :
I want to pass from this :
id / name / surname/ date_test/ result_test
1 / franck / wilson / 01-2002 / P
1 / franck / wilson / 07-2004 / N
1 / franck / wilson / 04-2008 / N
2 / annie/ mark/ 08-2001 / N
2 / annie/ mark/ 03-2005 / P
To this :
id / name / surname/ date_test1/ result_test1/ date_test2/ result_test2/ date_test3/ result_test3
1 / franck / wilson / 01-2002 / P / 07-2004 / N / 04-2008 / N
2 / annie/ mark/ 08-2001 / N / 03-2005 / P
I have first a problematic to transpose my row and then i don't know how to do that my column names about the test are named with the number at the end.
Thank you in advance for answering me!