1

I have a lot of strings, that were lists before writing to the csv. And now it looks like

s = "['SOAR', 'SIEM', 'SOAR']"

How can I convert it into list?

out = ['SOAR', 'SIEM', 'SOAR']
ldevyataykina
  • 1,819
  • 6
  • 21
  • 42
  • 2
    Does this answer your question? [How to convert string representation of list to a list?](https://stackoverflow.com/questions/1894269/how-to-convert-string-representation-of-list-to-a-list) – RoseGod Dec 16 '21 at 08:13

0 Answers0