title: How to flatten zipped object containing nested arrays to a list?
body: <p>I have a zipped object like this:</p>
  
  <pre><code>z = zip(a, b)
  lst = list(z)
  
  print(lst)
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>[(0, array([[72, 65],
             [70, 71]], dtype=uint8)), 
  (1, array([[ 71,  99],
             [190, 163]], dtype=uint8)), 
  (2, array([[52, 59],
             [69, 72]], dtype=uint8)), etc...
  </code></pre>
  
  <p>I would like to flatten this list to the following:</p>
  
  <pre><code>[0, 72, 65, 70, 71, 1, 71, 99, 190, 163, 2, 52, 59 etc..]
  </code></pre>
  
  <p>I've tried doing this with </p>
  
  <pre><code>y = sum(w, ())
  # or 
  y = list(itertools.chain(*lst))
  </code></pre>
  
  <p>But the arrays are still there when I print.</p>
  
  <p>What am I doing wrong?</p>