title: How add a column to the front of np array?
body: <p>I want to add a column <code>x0</code> of <code>shape(1,10)</code> to the front of an existing nparray <code>X</code> of <code>shape(10,3)</code> so that the final np array <code>X_new</code> becomes of the <code>shape (10,4)</code>.</p>
  
  <pre><code>x0 = np.ones((1,np.shape(X)[0]))
  X = np.array([[1500,1,2],[1700,3,3],[2000,2,2],[2400,2,3],[2700,3,3],[3000,3,4],[3100,2,3],[3300,3,4],[3500,4,5],[3600,3,4]])
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>X_new = np.array([[1,1500,1,2],[1,1700,3,3],[1,2000,2,2],[1,2400,2,3],[1,2700,3,3],[1,3000,3,4],[1,3100,2,3],[1,3300,3,4],[1,3500,4,5],[1,3600,3,4]])
  
  </code></pre>
  
  <p>I have tried doing concatenation, hstack but I am not able to get the desired resultant np array.</p>
  
  <p>Please help.
  Thank you.</p>