list1=[['a','b'],['c','d']] list2=[] for i in list1: list2.append( ','.join(i)) print(list2)
df.replace(r'\[(.*)\]',r'\1',regex=True,inplace=True)