Say, in Column 1, you have :
Santa Cruz; Santa Cruz Beach Boardwalk
And in Column 2, you have:Santa Cruz; Santa Cruz Beach Boardwalk
California; Surfing
first = cells['column1']['value']
split1 = first.split(';')
second = cells['column2']['value']
split2 = second.split(';')
split3 = map('; '.join, zip(split1, split2))
return str.join("; ", split3)
No comments:
Post a Comment