title: How to unpack the key, value of json present in a column of a dataframe is converted into key as columns while value at its values using python?
body: <p>I have a data frame:
  <a href="https://i.stack.imgur.com/10BI6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/10BI6.png" alt="enter image description here"></a></p>
  
  <p>I wanted to unpack key, value of each row of json format, present in cast column, into separate columns and their values respectively. So basically, cast_id, character should be separated into columns in the data frame with their respective values.</p>
  
  <p>I have tried: </p>
  
  <pre><code>from pandas.io.json import json_normalize
  data_1 = json_normalize(data = casts['cast'], 
                              meta =['cast_id', 'character', 'credit_id', 'gender', 'id','name','order', 'profile_path'])
  </code></pre>
  
  <p>The code is throwing the error: <code>AttributeError: 'str' object has no attribute 'values'</code></p>
  
  <p><a href="https://i.stack.imgur.com/TysTl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TysTl.png" alt="enter image description here"></a></p>