title: Unpack list of elements into pandas Data Frame
body: <p>I am trying to create a pandas data frame based on some responses received from an API. I am able to access the elements which are not nested but not able to access the nested elements.</p>
  <p>This is the part of the response I got.</p>
  <pre><code>    [{'account_currency': 'USD',
    'account_name': 'S series',
    'actions': [{'action_type': 'video_view', 'value': '1500'},
                {'action_type': 'post_reaction', 'value': '39'}],
    'video_p100_watched_actions': [{'action_type': 'video_view',
                                    'value': '200'}]},
   {'account_currency': 'USD',
    'account_name': 'S New series',
    'actions': [{'action_type': 'video_view', 'value': '1400'},
                {'action_type': 'post_reaction', 'value': '17'}],
    'video_p100_watched_actions': [{'action_type': 'video_view',
                                    'value': '1200'}]}]
  </code></pre>
  <p>My approach:</p>
  <pre><code>final_results = []
  for obj in results:
      video_100 = obj['video_p100_watched_actions']
      actions = obj['actions']
      final_results.append([obj['account_name'], obj['account_currency']])
  </code></pre>
  <p>I am trying to append the post_reaction into the final_result but not able to access the element.</p>
  <p>Expected Output:</p>
  <pre><code>Currency    Account name    Post Reaction   video view
  USD         Series          39              200
  USD         New Series      17              1200
  </code></pre>