title: Save multiple arrays to a csv file with column names
body: <p>As simple as it seems, I could not find any solution for my question online. Basically, I have two arrays <code>a</code> and <code>b</code> that I want to save to a csv file. It will be two columns. I want to add the column names as well. Below code I use to dump arrays to a csv.</p>
  
  <pre><code>from np import array, savetxt
  
  a = array([1,2,3,4])
  b = array([5,6,7,8])
  savetxt('submission2.csv', zip(a,b), delimiter=',', fmt='%f')
  </code></pre>
  
  <p>How would I add column names? I would like the csv file to look like</p>
  
  <pre><code>Name1 Name2
   1     5
   2     6
   3     7
   4     8
  </code></pre>
  
  <p>It is so strange that this option is not in the <code>savetxt</code> function. <code>header</code> option does do it because it just pastes a comment into the first cell. Thanks.</p>
  
  <p>Edit: Arrays </p>