title: Assigning values to two dimensional array from two one dimensional ones
body: <p>Most probably somebody else already asked this but I couldn't find it. The question is how can I assign values to a 2D array from two 1D arrays. For example:</p>
  
  <pre><code>import numpy as np
  #a is the 2D array. b is the 1D array and should be assigned 
  #to second coordinate. In this exaple the first coordinate is 1.
  a=np.zeros((3,2))
  b=np.asarray([1,2,3])
  c=np.ones(3)
  a=np.vstack((c,b)).T
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>[[ 1.  1.]
   [ 1.  2.]
   [ 1.  3.]]
  </code></pre>
  
  <p>I know the way I am doing it so naive, but I am sure there should be a one line way of doing this.</p>
  
  <p>P.S. In real case that I am dealing with, this is a subarray of an array, and therefore I cannot set the first coordinate from the beginning to one. The whole array's first coordinate are different, but after applying <code>np.where</code> they become constant.</p>