I have an example data in the form of a stringed array in python, Input: '[1,2,3,4,5]'
And I want to remove the quotes and convert the data into an array element, Output: [1,2,3,4,5]
When I try int(), I get the following error: ValueError: invalid literal for int() with base 10: '[1,2,3,4,5]'
Any help on how to solve this?