Still learning python and pandas and having trouble with data display. I have a dataframe that contains an owner id in one column, and a list of dictionaries in another column. I would like to create a more user friendly dataframe that displays (exports to excel) select key values pairs based on owner id.
current df1:
owner id | players
1234 | [{height: 7", weight: 500lbs, other data: not important}, {height: 6", weight" 400lbs, other data: not important}]
4567 | [{height: 10", weight: 100lbs, other data: not important}, {height: 4", weight" 50lbs, other data: not important}]
desired dataframe:
owner id | height | weight
1234 | 7" | 500lbs
| 6" | 400lbs
4567 | 10" | 100lbs
| 4" | 50lbs