title: Numpy.savetxt to save string and float in the meantime and maintain the precision of the float
body: <p>I wrote a python script, </p>
  
  <pre><code>import numpy
  
  a = 8.3
  b = 8.29993191
  c = abs(a - b)
  print c
  d = numpy.array(c)
  e = ['value']
  f = numpy.vstack((e, d))
  print f
  g = ['valuesssssssssssss']
  h = numpy.vstack((g, d))
  print h
  
  numpy.savetxt('2k.csv', f, '%s', delimiter = ',')
  </code></pre>
  
  <p>And here's the output,</p>
  
  <pre><code>6.8090000001e-05
  [['value']
   ['6.809']]
  [['valuesssssssssssss']
   ['6.8090000001e-05']]
  </code></pre>
  
  <p>Apparently, the precision of the float I want to save into the csv file depends on the length of the string, because I need to use '%s' to save string and float simultaneously.</p>
  
  <p>How to solve this problem?</p>