title: Sum specific columns in a CSV file
body: <p>I have a csv file with 100 columns. I want to calculate the sum for column 4 to n. I could generate the sum for a single column but when I try it for all columns I fail. Here is what I have so far</p>
  
  <pre><code>import decimal
  import numpy as np
  import os as os
  import csv as csv
  import re as re
  import sys
  
  col=10
  values=[]
  with open('test.csv', 'r') as f:
      reader = csv.reader(f)
      headers = reader.next()
      for line in reader:
      #print line
          line = [int(i) for i in line]
      col_totals = [sum(result) for result in zip(*line)]
      print col_totals
         #values.append(int(line[col]))
         #csum=sum(values)
      #print csum  
  </code></pre>
  
  <p>Thanks,</p>