r/pythonhelp • • Mar 16 '20

How to convert str 2 list

Hello I had some troubles 2 convert a str response 2 a list. My str looks like this:

[[“date”,”color”,”model”], [“2018”,”red”,”6”], [“2019”,”blue”,”1”]]

Is there any easy way 2 convert this string 2 a numpy array or even json?

0 Upvotes

0 comments sorted by