title: Format Specifier for arrays
body: <p>I'm returning a few arrays, (a, b, and c) in a function which I want to write out into a text file for which I am currently using numpy.savetxt. </p>
  
  <p>When I print each one separtely, they are formatted as such.</p>
  
  <pre><code>(4, 6)
  [[1 2]
   [2 3]
   [3 4]
   [4 1]
   [1 3]
   [2 4]]
  [ 3.  1.  1.]
  </code></pre>
  
  <p>I'm currently using</p>
  
  <pre><code>numpy.savetxt('text.txt', (a,b,c) , fmt='%s')
  </code></pre>
  
  <p>to save it to a text file but I do not know the format specifiers to be able to save it in the following format</p>
  
  <pre><code>4
  6
  1 2
  2 3
  3 4
  4 1
  1 3
  2 4
  3 1 1
  </code></pre>