I have this \'file.csv\' file to read with pandas:
Title|Tags T1|\"[Tag1,Tag2]\" T1|\"[Tag1,Tag2,Tag3]\" T2|\"[Tag3,Tag1]\"
using
You can split the string manually:
>>> df['Tags'] = df.Tags.apply(lambda x: x[1:-1].split(',')) >>> df.Tags[0] ['Tag1', 'Tag2']