title: CSV reader string to float in python
body: <p>I'm using this function to read in a csv file but I want to convert it from strings to floats. I'm not sure where to insert. When I try I usually get an error that ' float' object has no attribute 'getitem' </p>
  
  <pre><code>def getColumn(filename, column):
     results = csv.reader(open(filename), delimiter=',')
     next(results, None)
     return [result[column] for result in results]
  </code></pre>