title: How to convert csv string to float?
body: <p>I have <code>export.csv</code> file, with data</p>
  <pre><code>name,total
  candy,10
  ice cream,15
  potatoe chips,20 
  </code></pre>
  <p>when i read the .csv file with this code</p>
  <pre><code>with open('files/export.csv','r') as file_csv:
      read= list(csv.reader(file_csv))
      for row in read:
          print(row)
  </code></pre>
  <p>Turns out that the data in the total column is a string data type not a float. I want the output be like this:</p>
  <pre><code>&quot;name&quot;,&quot;total&quot;
  &quot;candy&quot;,10
  &quot;ice cream&quot;,15
  &quot;potatoe chips&quot;,20
  </code></pre>
  <p>So I can sum and take the total column data.</p>