title: Create a 2-D numpy array with list comprehension
body: <p>I need to create a 2-D numpy array using only list comprehension, but it has to follow the following format:</p>
  <pre><code>[[1, 2, 3],
   [2, 3, 4],
   [3, 4, 5],
   [4, 5, 6],
   [5, 6, 7]]]
  </code></pre>
  <p>So far, all I've managed to figure out is:</p>
  <pre><code>two_d_array = np.array([[x+1 for x in range(3)] for y in range(5)])
  </code></pre>
  <p>Giving:</p>
  <pre><code>array([[1, 2, 3],
         [1, 2, 3],
         [1, 2, 3],
         [1, 2, 3],
         [1, 2, 3]])
  </code></pre>
  <p>Just not very sure how to change the incrementation. Any help would be appreciated, thanks!</p>
  <p>EDIT: Accidentally left out [3, 4, 5] in example. Included it now.</p>