title: How to append numpy.array to other numpy.array?
body: <p>I want to create 2D <code>numpy.array</code> knowing at the begining only its shape, i.e <code>shape=2</code>. Now, I want to create in <code>for</code> loop <code>i</code>th one dimensional <code>numpy.array</code>s, and add them to the main matrix of <code>shape=2</code>, so I'll get something like this:</p>
  
  <pre><code>matrix=
  [numpy.array 1]
  [numpy.array 2]
  ...
  [numpy.array n]
  </code></pre>
  
  <p>How can I achieve that? I try to use:</p>
  
  <pre><code>matrix = np.empty(shape=2)
  for i in np.arange(100):
      array = np.zeros(random_value)
      matrix = np.append(matrix, array)
  </code></pre>
  
  <p>But as a result of <code>print(np.shape(matrix))</code>, after loop, I get something like:</p>
  
  <pre><code>(some_number, )
  </code></pre>
  
  <p>How can I append each new <code>array</code> in the next row of the <code>matrix</code>? Thank you in advance.</p>