title: How to convert numpy bytes to float in python3?
body: <p>My question is similar to <a href="https://stackoverflow.com/questions/40215100/how-to-convert-string-datatypes-to-float-in-numpy-arrays-in-python-3">this</a>; I tried using genfromtxt but still, it doesn't work. Reads the file as expected but not as floats. Code and File excerpt below</p>
  
  <pre><code>     temp = np.genfromtxt('PFRP_12.csv', names=True, skip_header=1, comments="#", delimiter=",", dtype=None)
  </code></pre>
  
  <p>reads as <code>(b'"0"', b'"0.2241135"', b'"0"', b'"0.01245075"', b'"0"', b'"0"')</code></p>
  
  <pre><code>     "1 _ 1",,,,,
       "Time","Force","Stroke","Stress","Strain","Disp."
       #"sec","N","mm","MPa","%","mm"
       "0","0.2241135","0","0.01245075","0","0"
       "0.1","0.2304713","0.0016","0.01280396","0.001066667","0.0016"
       "0.2","1.707077","0.004675","0.09483761","0.003116667","0.004675"
  </code></pre>
  
  <p>I tried with different dtypes (none, str, float, byte), still no success. Thanks!</p>
  
  <p>Edit: As <a href="https://stackoverflow.com/users/707650/evert">Evert</a> mentioned I tried float also but reads all them as none <code>(nan, nan, nan, nan, nan, nan)</code></p>