I have a dataframe with a column named coor which is having dict with in a list as a string.
df['coor'][0]
'[{'x': 720.65215, 'y': 636.51048, 'width': 332.19348, 'height': 648.12561}, {'x': 2044.77989, 'y': 847.90622, 'width': 329.87049, 'height': 576.11169}]'
I tried few items like json loading, string to list conversion. no result. Output
[
{'x': 720.65215, 'y': 636.51048, 'width': 332.19348, 'height': 648.12561},
{'x': 2044.77989, 'y': 847.90622, 'width': 329.87049, 'height': 576.11169}
]