I have a string extracted from a .csv which has this format:
str = "[point, contextual, point]"
What I wanna do is convert it to a list in the format:
str = ["point", "contextual", "point"]
How can I do it? I tried with json.loads(str)
but I got the error:
json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)