title: numpy array concatenate: "ValueError: all the input arrays must have same number of dimensions"
body: <p>How to concatenate these <code>numpy</code> arrays?</p>
  <p>first <code>np.array</code> with a shape <code>(5,4)</code></p>
  <pre><code>[[  6487    400 489580      0]
   [  6488    401 492994      0]
   [  6491    408 489247      0]
   [  6491    408 489247      0]
   [  6492    402 499013      0]]
  </code></pre>
  <p>second <code>np.array</code> with a shape <code>(5,)</code></p>
  <pre><code>[  16.   15.   12.  12.  17. ]
  </code></pre>
  <p>final result should be</p>
  <pre><code>[[  6487    400    489580    0   16]
   [  6488    401    492994    0   15]
   [  6491    408    489247    0   12]
   [  6491    408    489247    0   12]
   [  6492    402    499013    0   17]]
  </code></pre>
  <p>I tried <code>np.concatenate([array1, array2])</code>
  but i get this error</p>
  <p><code>ValueError: all the input arrays must have same number of dimensions</code></p>
  <p>What am I doing wrong?</p>