I need to separate a list of objects in Python but I don't know how to do and don't found the solution.
My list is 244 cells of data like that :
{'x':-9.717017,'y':-14.0228567,'z':145.401215}
and I want, as a result, 3 lists with all the 'x', all the 'y' and all the 'z'. The original list is express as :
['{'x':-9.717017,'y':-14.0228567,'z':145.401215}', ... , '{'x':-6.44751644,'y':-65.20397,'z':-67.7079239}'].
Thanks a lot.
x = [d['x'] for d in data].