title: How to append N number of an array to the end of another array
body: <p>I have an array of size 99 columns by 100 rows but want to add the last row of the 2D array to the end of the array N times. My current code to do this is:</p>
  <pre><code>import numpy 
  
  array = numpy .concatenate((l, numpy.tile(l[-1],n)))
  </code></pre>
  <p>where l is the array and n is the number of arrays I want to add on to it.</p>
  <p>When I try to run this I get the error:</p>
  <pre><code>ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 2 dimension(s) and the array at index 1 has 1 dimension(s)
  </code></pre>
  <p>Any advice would be a massive help</p>