title: How can I add a small matrix into a big one with numpy?
body: <p>I'm trying to figure out how to take a small matrix (Matrix <code>B</code> below) and add the values into a larger matrix (Matrix <code>A</code> below) at a certain index. It seems like numpy would be a good option for this scenario but I can't figure out how to do it.</p>
  
  <p>Matrix <code>A</code>:</p>
  
  <pre><code>[[0, 0, 0, 0, 0, 0]
   [0, 0, 0, 0, 0, 0]
   [0, 0, 0, 0, 0, 0]
   [0, 0, 0, 0, 0, 0]
   [0, 0, 0, 0, 0, 0]]
  </code></pre>
  
  <p>Matrix <code>B</code>:</p>
  
  <pre><code>[[2, 3, 4]
   [5, 6, 7]
   [8, 9, 3]]
  </code></pre>
  
  <p>Desired end result:</p>
  
  <pre><code>[[0, 0, 0, 0, 0, 0]
   [0, 0, 2, 3, 4, 0]
   [0, 0, 5, 6, 7, 0]
   [0, 0, 8, 9, 3, 0]
   [0, 0, 0, 0, 0, 0]]
  </code></pre>