title: Convert a string with bytes to a float array
body: <p>I get a string from a socket that contains a float array as bytes. Now I want to convert this string in to a float (4bit) numpy array.</p>
  
  <p>for example I get:</p>
  
  <pre><code>"\x00\x00\x00\x00\x00\x00\x00\x00"
  </code></pre>
  
  <p>and I want an output like this:</p>
  
  <pre><code>[0, 0]
  </code></pre>