Hi all,
I have a csv file with 500 lines, each containing 3 items such as article 1, summary 1, reference 1.
I am trying to merge/group the line items in batches of 15 and add the references as the end of each batch.
So the structure of each new line will look something like the following:
article 1, summary 1, article 2, summary 2...... reference 1, reference 2, ... reference 15 then move on to the next batch of 15 with same structure
in other words something like this:
article 1
summary 1
article 2
summary 2
....
article 15
summary 15
reference 1
reference 2
.....
reference 15
Here is an image of what i mean
Any help will be much appreciated.
Thank you!
I have a csv file with 500 lines, each containing 3 items such as article 1, summary 1, reference 1.
I am trying to merge/group the line items in batches of 15 and add the references as the end of each batch.
So the structure of each new line will look something like the following:
article 1, summary 1, article 2, summary 2...... reference 1, reference 2, ... reference 15 then move on to the next batch of 15 with same structure
in other words something like this:
article 1
summary 1
article 2
summary 2
....
article 15
summary 15
reference 1
reference 2
.....
reference 15
Here is an image of what i mean
Any help will be much appreciated.
Thank you!