title: The error "AttributeError: 'list' object has no attribute 'values'" appears when I try to convert JSON to Pandas Dataframe
body: <p>I have a dict data(import from JSON) as follows and would like to change it into Pandas Dataframe like below.</p>
  
  <pre><code>date            value        profit
  01/06/2020        0        0
  01/07/202        0.42        12.59
  ......            ......        ......
  ......            ......        ......
  </code></pre>
  
  <p>Step 1 original data</p>
  
  <p>d_gain</p>
  
  <pre><code>{'error': False, 'message': '', 'dailyGain': [[{'date': '01/06/2020', 'value': 0, 'profit': 0}], [{'date': '01/07/2020', 'value': 0.42, 'profit': 12.59}], [{'date': '01/08/2020', 'value': -14.49, 'profit': -447.42}], [{'date': '01/09/2020', 'value': -12.47, 'profit': 362.38}], [{'date': '01/10/2020', 'value': -12.6, 'profit': -4.28}]]}
  </code></pre>
  
  <p>Step 2 </p>
  
  <p>In; d_gain2 = d_gain['dailyGain']</p>
  
  <p>Out;</p>
  
  <pre><code>&lt;class 'list'&gt;
  
  [[{'date': '01/06/2020', 'value': 0, 'profit': 0}], [{'date': '01/07/2020', 'value': 0.42, 'profit': 12.59}], [{'date': '01/08/2020', 'value': -14.49, 'profit': -447.42}], [{'date': '01/09/2020', 'value': -12.47, 'profit': 362.38}], [{'date': '01/10/2020', 'value': -12.6, 'profit': -4.28}]]
  </code></pre>
  
  <p>Then I try to convert to DataFrame, but the error appears,</p>
  
  <pre><code>AttributeError: 'list' object has no attribute 'values'
  
  </code></pre>
  
  <p>Please help me to sort this out.</p>
  
  <p>Thanks</p>