I have a pandas dataframe with entries as follows:
index col1 col2 1 [\'a\',\'b\'] [1,2] 2 [\'c\',\'d\'] [3,4]
I would