I've a dataframe column with an string of numbers and I want to convert it into a list of numbers. The output must be a list, since I need be able to pull the index value (for instance, df.probabilities[0][0] and return 0.001).
This my current dataframe:
probabilities
0.001, 0.002, 0.003, 0.004
I need this:
probabilities
[0.001, 0.002, 0.003, 0.004]
Thank you in advance.