title: Python: Concatenate (or clone) a numpy array N times
body: <p>I want to create an MxN numpy array by cloning a Mx1 ndarray N times. Is there an efficient pythonic way to do that instead of looping?</p>
  
  <p>Btw the following way doesn't work for me (X is my Mx1 array) :</p>
  
  <pre><code>   numpy.concatenate((X, numpy.tile(X,N)))
  </code></pre>
  
  <p>since it created a [M*N,1] array instead of [M,N]</p>