skip to Main Content

flatten nested dictionary in list

I have a data from Facebook Insights API and some columns in the data look like this: "[{'action_type': 'link_click', 'value': '812'}, {'action_type':'page_engagement','value':'823'}, {'action_type': 'post_engagement', 'value': '823'}, {'action_type':'post', 'value': '1'}, {'action_type': 'post_reaction', 'value': '10'}, {'action_type':'landing_page_view', 'value': '143'}]"] I'm trying to put…

VIEW QUESTION
Back To Top
Search