title: Iterate over a numpy Matrix rows
body: <p>First, I tried to find an answer to my question ( which I think is pretty basic) searching in google and in the site, but nothing came up.</p>
  
  <p>I'm trying to get the rows from a numpy matrix, but I can't. For example if I use this: </p>
  
  <pre><code>result = numpy.matrix([[11, 12, 13],
                         [21, 22, 23],
                         [31, 32, 33]])
  
  for p in result:
      print(p[0])
  </code></pre>
  
  <p>prints this:</p>
  
  <pre><code>[[11 12 13]]
  [[21 22 23]]
  [[31 32 33]]
  </code></pre>
  
  <p>The same if I use just <code>p</code></p>
  
  <p>What I have to do to access every row? <code>numpy.nditer(result)</code> prints an array, and I need every row to perform some operations.</p>