title: Add 1 To Every Element in an ndarray if Not Zero
body: <p>Python noobie here :)  Trying to figure out how to do things succinctly.</p>
  
  <pre><code>&gt;&gt;&gt; f = np.zeros((2,2), dtype=int)
  &gt;&gt;&gt; f[0][1] = 100
  &gt;&gt;&gt; f[1][0] = 200
  &gt;&gt;&gt; print f
  
  [[  0 100]
   [200   0]]
  
  &gt;&gt;&gt; f1 = # do something special
  &gt;&gt;&gt; print f1
  
  [[  0 101]
   [201   0]]
  </code></pre>
  
  <p>Thanks!</p>