title: Numpy, simple formulation to concatenate integers and ndarrays
body: <p>I am currently switching from Matlab to Python and a rather simple action in Matlab  seems pretty tricky in Python.</p>
  
  <p>Given</p>
  
  <pre><code>A = array([0, 0, 0, 0])
  B = 1
  C = 2
  D = array([3, 4])
  </code></pre>
  
  <p>I only found this way to get the following E:</p>
  
  <pre><code>E = np.vstack((A, np.hstack((np.array([B, C]), D))))
  </code></pre>
  
  <p>In Matlab, the same E is simply obtained writing:</p>
  
  <pre><code>E = [A; B, C, D]
  </code></pre>
  
  <p>Is there any simpler way to get E in Python?</p>