I have a python data from as below. in every row I have some similar "string", in every round of similar string, I want to merge the first one with the first, then the