I have a Pandas DataFrame with about 500000 lines in the following format:
**ID Name Tags**
4345 Bill {'circle:blue', 'background:orange', 'Type':12}
For more straightforward data analysis I would like to convert to:
**ID Name Key Value**
4345 Bill Circle Blue
4345 Bill Background Orange
4345 Bill Type 12
I have found an answer that can split one key/value per row: Python Pandas: How to split a sorted dictionary in a column of a dataframe, but I have failed miserably to extend this to perform my requirement above.
I could probably manage this with some standard loops, but I'm hoping there's an elegant and efficient Pandas approach?