I have a dataframe containing a column where each row is a list of dictionaries.
| Column A |
1| [{'A':1, 'B':2}] |
2| [{'A':3, 'B':4}, {'A':5, 'B':6}] |
...
How can a create another dataframe from this series?
| A | B |
| - | - |
1 | 1 | 2 |
2 | 3 | 4 |
| 5 | 6 |
...
I’ve tried pd.DataFrame but it only seems to work with a single list of dictionaries.
New contributor
renanvsn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.