When I call:
np.fromstring('3 3 3 0', sep=' ')
it returns
array([ 3., 3., 3., 0.])
Since by default, sep='', I would expect the following call to return the same result:
np.fromstring('3330')
However it raises
ValueError: string size must be a multiple of element size
Why is this? What's the most pythonic way of getting array([ 3., 3., 3., 0.]) from '3330'?
sepkeyword: "If not provided or, equivalently, the empty string, the data will be interpreted as binary data."