title: How can i fetch elements from an ndarray per row?
body: <p>I want to fetch each row in an numpy.ndarray and transform it. for instance:</p>
  
  <pre><code>for each row i in array a
      r=random number
      for each element j in row i:
          a[i][j]=a[i][j]*r
  </code></pre>