Hi,
I have several CSV files which looks like this. I would like to create a new CSV file which is rearranged to the one below.
*The time is irrelevant information in the new file.
*The number of ratings can changes from "questionnaire" to "questionnaire"
*Also I dont know how many qustionnaires will be handed in each day.
Hope someone can help me. I am new to python, and unfortunately the first time I have to use it is for my thesis. In other words, slightly desperate
.
Form_date Rating Rating1 Rating2 Rating3 Rating4 Rating5 Rating6 Rating7 Rating8 Rating9 Rating10
07.10.2018 10:09 3
07.10.2018 10:31 2 2 1 1 1
07.10.2018 10:46 2 3
07.10.2018 10:48 1 2
08.10.2018 12:09 6
08.10.2018 12:31 2 2 1 1 1 2 4 6
09.10.2018 17:46 2 3 4 5
09.10.2018 17:48 2 3 4 5 2 3 4 5 2 3 4
09.10.2018 17:51 2 3
09.10.2018 17:52 3 3
09.10.2018 18:53 1 3
09.10.2018 19:46 2 1 1 1 1
ect…
I want to create a new CSV file which is rearranged and looks like the one below
07.10.2018 3 2 2 1 1 1 2 3 1 2
08.10.2018 6 2 2 1 1 1 2 4 6
09.10.2018 2 3 4 5 2 3 4 5 2 3 4 5 2 3 4 2 3 3 3 1 3 2 1 1 1 1
ect…
I have several CSV files which looks like this. I would like to create a new CSV file which is rearranged to the one below.
*The time is irrelevant information in the new file.
*The number of ratings can changes from "questionnaire" to "questionnaire"
*Also I dont know how many qustionnaires will be handed in each day.
Hope someone can help me. I am new to python, and unfortunately the first time I have to use it is for my thesis. In other words, slightly desperate

Form_date Rating Rating1 Rating2 Rating3 Rating4 Rating5 Rating6 Rating7 Rating8 Rating9 Rating10
07.10.2018 10:09 3
07.10.2018 10:31 2 2 1 1 1
07.10.2018 10:46 2 3
07.10.2018 10:48 1 2
08.10.2018 12:09 6
08.10.2018 12:31 2 2 1 1 1 2 4 6
09.10.2018 17:46 2 3 4 5
09.10.2018 17:48 2 3 4 5 2 3 4 5 2 3 4
09.10.2018 17:51 2 3
09.10.2018 17:52 3 3
09.10.2018 18:53 1 3
09.10.2018 19:46 2 1 1 1 1
ect…
I want to create a new CSV file which is rearranged and looks like the one below
07.10.2018 3 2 2 1 1 1 2 3 1 2
08.10.2018 6 2 2 1 1 1 2 4 6
09.10.2018 2 3 4 5 2 3 4 5 2 3 4 5 2 3 4 2 3 3 3 1 3 2 1 1 1 1
ect…