title: ValueError in numpy.fromstring
body: <p>I want to convert these string values to numpy array of int16 datatype </p>
  
  <pre><code>import numpy as np
  raw=b''
  w="\x01\x02 \x01\x02"
  w1="\x01\x03 \x04"
  p=w.replace(" ", "")
  w1=w1.replace(" ","")
  raw +=p
  raw +=w1
  results = np.fromstring(raw, dtype=np.uint16)
  print results
  </code></pre>
  
  <p>I am getting the error as:</p>
  
  <pre><code>&gt;File "prj1.py", line 11, in &lt;module&gt;
  &gt; results = np.fromstring(raw, dtype=np.uint16)
  &gt;ValueError: string size must be a multiple of element size
  </code></pre>
  
  <p>How can I convert these strings to numpy arrray with data type as int16?</p>