title: array multiplication with integer
body: <p>I have a 2D array &quot;pop&quot; in python. I want to multiply each element of column one with an integer. I used the following code</p>
  <pre><code>temp[i] = b*pop[i,0]+a*pop[i,1] 
  </code></pre>
  <p>But it is returning error &quot;list indices must be integers or slices, not tuple&quot;</p>