title: How to convert array inside list into list item using Python?
body: <p>I have array as list item inside a list that I want to convert into list later on. Code below is a result from looping over <strong>a</strong> and <strong>b</strong>. <br>
  <br><strong>Output</strong><br></p>
  
  <pre><code>&gt;&gt;&gt; 
  [[2, 0], [0, 0]]
  [array([5, 7]), array([5, 5])]
  [[1, 0, 2], [0, 0, 0], [1], [1]]
  [array([5, 6, 4]), array([6, 6, 6]), array([3]), array([3])]
  [[1, 0], [1, 0]]
  [array([4, 5]), array([4, 5])]
  &gt;&gt;&gt; type(a)
  &lt;type 'list'&gt;
  &gt;&gt;&gt; type(b)
  &lt;type 'list'&gt;
  </code></pre>
  
  <p>I use tolist() function to convert them into list but there is one line that is not successful:<br><br>
  <strong>Output</strong><br></p>
  
  <pre><code>&gt;&gt;&gt; 
  [[2, 0], [0, 0]]
  [[5, 7], [5, 5]]
  [[1, 0, 2], [0, 0, 0], [1], [1]]
  [array([5, 6, 4]), array([6, 6, 6]), array([3]), array([3])]
  [[1, 0], [1, 0]]
  [[4, 5], [4, 5]]
  </code></pre>
  
  <p>Can anyone help me?</p>