title: How to access specific data pairs in csv_reader files python?
body: <p>I have CSV file that contains data pairs exported from a spectrum analyzer software. I am coding in python.</p>
  
  <p>I need to get the individual data pairs and have tried this two ways: one using numpy and one using the csv module
  when using numpy I have tried loadtxt and genfromtxt. The issue I run into is with both of those when I print it it has a "b" character in front of it such as :(b'-0.0001835, 4.27E-05'). Thus, I cannot do operations on those floats because they aren't read as floats. </p>
  
  <p>Using the csv_module my code looks like :</p>
  
  <pre><code>import csv
  
  f = open('/Users/kaitlynmckee/Downloads/python_try.csv')
  
  csv_f = csv.reader(f) #opens data w/out b flag 
  
  for row in csv_f:
      print(row)  
      print("Test 1!")
      print(float(row))
  
  data = []
  
  for row in csv_f:
      data[row] = float(row(1))
  
  print("You are the coolest")
  print (data)
  </code></pre>
  
  <p>It throws an error with the "print(float(row))" part, because you can only pass it one part at a time, I guess. However, I got an error earlier trying to index a csv reader file.</p>
  
  <p>How can I resolve this issue?</p>