I want to find out how to convert a list of strings into a list of numbers.
I have a php form through which user enters values for x and y like this:
X: [1,3,4]
Y: [2,4,5]
These values are stored into database as varchars. From there, these are called by a python program which is supposed to use them as numerical (numpy) arrays. However, these are called as plain strings, which means that calculation can not be performed over them. Is there a way to convert them into numerical arrays before processing or is there something else which is wrong?