title: change column values in CSV using python
body: <p>Let say this in the input CSV file.</p>
  
  <p><a href="https://i.stack.imgur.com/lkxwq.jpg" rel="nofollow"><img src="https://i.stack.imgur.com/lkxwq.jpg" alt="enter image description here"></a></p>
  
  <p>I would like to go over the <code>Babys</code> column and change it to increasing number by 1.</p>
  
  <p>what i did is to count how many row there are in the file, and run a for loop on all of them.
  But i cant figure out how to change the values</p>
  
  <pre><code>    v = open(input.csv)
      r=csv.reader(v)
      numline = len(v.readlines())
      print (numline)
      for row in r:
          if row["Baby"] == "Baby":
              for i in range (1, numline):
                  print("test")
  </code></pre>