title: numpy savetxt formatted as integer is not saving zeroes
body: <p>I am trying to save numpy.array to .csv in the following way.</p>
  
  <pre><code>with open("resultTR.csv", "wb") as f:
      f.write(b'ImageId,Label\n')
      numpy.savetxt(f, result, fmt='%i', delimiter=",")
  </code></pre>
  
  <p>result is numpy.array that consists of two columns, first column are indices (numbers 1 through n) and second column values from (0,9).</p>
  
  <p>Unfortunately I have problem that whenever there is 0 in the second column then nothing is written to the resulting .csv file in the second column.</p>
  
  <p>In other words first five rows of array looks like this:</p>
  
  <pre><code>[[  1.00000000e+00   2.00000000e+00]
   [  2.00000000e+00   0.00000000e+00]
   [  3.00000000e+00   9.00000000e+00]
   [  4.00000000e+00   9.00000000e+00]
   [  5.00000000e+00   3.00000000e+00]
  </code></pre>
  
  <p>And first five rows of .csv file like this:</p>
  
  <pre><code>ImageId,Label
  1,2
  2
  3,9
  4,9
  5,3
  </code></pre>
  
  <p>It looks to me like my code should work and thus not saving zeroes seems to me very weird. Does anyone have some idea what can possibly be wrong with my code for writing to .csv file?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Just for compleetnes my python version is 2.7.2 and it's running on Mac OS X 10.9.2 </p>