title: Printing multiple tables together in Python
body: <p>I've got this code:</p>
  
  <pre><code>import numpy as np
  
  headings = np.array(["userID","name","bookingID"])
  data = np.array([[1111111,"Joe Bloggs",2222222][1212121,"Jane Doe",3333333]])
  </code></pre>
  
  <p>How do I go about printing this data in this way:</p>
  
  <pre class="lang-none prettyprint-override"><code>userID
  1111111
  name
  Joe Bloggs
  bookingID
  2222222
  userID
  1212121
  name
  Jane Doe
  bookingID
  3333333
  </code></pre>
  
  <p>This is the closest I've gotten...</p>
  
  <pre><code>keys = headings.values
  datas = df.values
  for i in datas:
      for j in keys:
          print(j)
          print(i)
  </code></pre>
  
  <hr>
  
  <p>results:</p>
  
  <pre><code>userID
  [1111111 'Joe Bloggs' 2222222]
  name
  [1111111 'Joe Bloggs' 2222222]
  bookingID
  [1111111 'Joe Bloggs' 2222222]
  userID
  [1212121 'Jane Doe' 3333333]
  name
  [1212121 'Jane Doe' 3333333]
  bookingID
  [1212121 'Jane Doe' 3333333]
  </code></pre>
  
  <p>But I'm struggling with the extra step to narrow it to the specific data for each key... can somebody help? (Also can somebody recommend a better question title?)</p>