title: Numpy : String to Float - astype not working?
body: <p>I am trying to convert numpy string array in to a float. Actually array has numbers as strings example ['22.96' '33.96'.....]</p>
  
  <p>i am using astype to convert the string numpy array to float using the below code.</p>
  
  <pre><code>b = a.astype(np.float)
  </code></pre>
  
  <p>The above piece of code returning something like this: <code>1.04200000e+02</code></p>
  
  <p>I tried <code>np.float32</code> and also <code>np.float64</code> but nothing working</p>