title: How to modify values in a csv file
body: <p>lets say I have a csv file with 5 values from 1 to 5, how could I divide each of them by 10 and save the csv file? I normally have thousands of values so I will need an automatic way of doing it.</p>
  
  <p>So initial csv file is:</p>
  
  <pre><code>1
  2
  3
  4
  5
  </code></pre>
  
  <p>Output should be:</p>
  
  <pre><code>0.1
  0.2
  0.3
  0.4
  0.5
  </code></pre>
  
  <p>I can read csv files in an array and save them but how do I modify each value in an array when I read them?</p>
  
  <p>The lines I use to read and write are:</p>
  
  <pre><code>A = np.loadtxt("C:\\A.csv", delimiter=",")
  
  np.savetxt("C:\\A.csv", A, delimiter = ",")
  </code></pre>