title: Numpy could not broadcast input array from shape (2,4) into shape (2,3)
body: <p>I have two arrays with different shapes, for example:</p>
  <pre><code>a = np.zeros((2, 4))
  b = np.ones((2, 3))
  </code></pre>
  <p>And I want to perform the following operation on them:</p>
  <pre><code>x1, x2 = a.shape
  b[:x1, :x2] = a[:x1, :x2] 
  </code></pre>
  <p>I want to accomplish this with the ability to flip the shapes between <code>a</code> and <code>b</code> and have it still working, i.e.</p>
  <pre><code>a = np.zeros((2, 3)) # Note that I flipped 
  b = np.ones((2, 4))  # the shapes from the previous example
  
  x1, x2 = a.shape
  b[:x1, :x2] = a[:x1, :x2]
  </code></pre>
  <p>can that be accomplished using native NumPy and without for loops?</p>