I am trying to merge the strings from the first two rows of a .csv file into one row in python. I am using a file with over 150 columns.
Right now it looks like this:
- ;; Test1; Test1; Test1; Test 2; Test 2; Test2
- Name;Birthday; Points Q1; Points Q2; Points Q3; Points Q1; Points Q2; Points Q3
but I need to merge the information into one row, that looks like this:
- Name;Birthday;Test1 PointsQ1; Test1 Points Q2; Test1 Points Q3; Test2 Points Q1;...