title: Appending multiple arrays into a single array in Python
body: <p>I want to append starting from <code>B1[0,0]</code> to <code>B1[0,6]</code> into a single array <code>B</code> with shape <code>(1,7,2)</code>. The desired output is attached.</p>
  <pre><code>import numpy as np
  
  B1[0,0]=np.array([0,1])
  B1[0,1]=np.array([1,3])
  B1[0,2]=np.array([2,5])
  B1[0,3]=np.array([3,4])
  B1[0,4]=np.array([4,7])
  B1[0,5]=np.array([5,6])
  B1[0,6]=np.array([6,7])
  </code></pre>
  <p>The desired output is</p>
  <pre><code>B = np.array([[[0, 1],
          [1, 3],
          [2, 5],
          [3, 4],
          [4, 7],
          [5, 6],
          [6, 7]]])
  </code></pre>