I have data in python that needs to convert string from
string = "[-8.27104300e-02 9.09485668e-02 7.72242993e-02]"
to this
converted_string = "-8.27104300e-02, 9.09485668e-02, 7.72242993e-02"
Basically removing brackets [] and putting in comma for the spaces
How do I achieve this ?
str.replacecall to replace 2 spaces with a comma and a space.