title: How to use numpy.dstack in a loop?
body: <p>I'm trying to populate an array by using 2D arrays with np.dstack. </p>
  
  <pre><code>m1 = np.array([[1,1],[1,1]])
  m2 = np.array([[2,2],[2,2]])
  m3 = np.array([[3,3],[3,3]])
  
  lst = m1
  lst = np.dstack((lst,m2))
  lst = np.dstack((lst,m3))
  </code></pre>
  
  <p>What's the proper way to do it in a loop? I'm looking for something like</p>
  
  <pre><code>lst = np.empty(...)
  for _
      lst = np.dstack((lst,variable2Darray))
  </code></pre>