title: np.savetxt and multiple arrays
body: <p>I have three arrays:</p>
  
  <pre><code>a = np.array([1,2,3])
  b = np.array([4,5,6])
  c = np.array([7,8])
  </code></pre>
  
  <p>I want to do something like this:</p>
  
  <pre><code>np.savetxt('data.txt',np.array(a,b,c))
  </code></pre>
  
  <p>or just </p>
  
  <pre><code>np.savetxt('data.txt',(a,b,c))
  </code></pre>
  
  <p>but I get</p>
  
  <pre><code> TypeError: float argument required, not numpy.ndarray
  </code></pre>
  
  <p>I've circumvented this issue by doing something like </p>
  
  <pre><code>np.savetxt('data.txt',np.array([a[0],a[1],...,c[2]]))
  </code></pre>
  
  <p>but this is not very satisfying (especially because the array sizes can change) and also plots all the values in a single column rather than a single row and multiple columns (how I want it).  </p>
  
  <p>The issue seems to be that the arrays are of different dimension. The kind of output I'd ideally like using the above example is:</p>
  
  <pre><code>   1 2 3 4 5 6 7 8
  </code></pre>
  
  <p>Does anyone know a nicer way of doing this?</p>