title: Combining Three 1D arrays into a 2D array?
body: <p>I have three numpy arrays of shape <code>(250L,)</code> called <code>c</code>, <code>I</code> and <code>error</code>. I want to be able to save the three arrays to a text file so that each array is one column in the file. So far I have tried the following:</p>
  
  <pre><code>DataArray = np.concatenate((c,I,Error),axis=1)
  np.savetxt('VaryingC.txt',DataArray)
  </code></pre>
  
  <p>This returns an error since the initial arrays are 1D:</p>
  
  <blockquote>
    <p>IndexError: axis 1 out of bounds [0, 1)</p>
  </blockquote>
  
  <p>How can I combine the three arrays to make a shape <code>(250,3)</code> array?</p>