I have a 2 dimensional array, but the array is in a stringyfied form. I would like to convert it back to a python object so I can access the context
stringedArray = "[[4.50000e+01, 2.24000e+02, 1.70000e+02, 3.46000e+02, 9.40884e-01, 0.00000e+00],
[2.91000e+02, 0.00000e+00, 4.69000e+02, 5.90000e+01, 9.19830e-01, 2.00000e+00],
[4.71000e+02, 1.20000e+01, 5.22000e+02, 9.20000e+01, 9.04654e-01, 1.00000e+00],
[1.93000e+02, 6.90000e+01, 2.64000e+02, 1.35000e+02, 8.95800e-01, 1.00000e+00],
[1.80000e+01, 1.13000e+02, 1.29000e+02, 1.79000e+02, 8.90799e-01, 0.00000e+00],
[9.90000e+01, 1.39000e+02, 2.78000e+02, 2.09000e+02, 2.62809e-01, 2.00000e+00]]"
arrayObject = #convertion code here
print(arrayObject[3][5])
# prints: 1 or 1.00000
Is there a function in python similar to javascripts JSON.parse which converts a string to a object?