[Numpy-discussion] np.loadtxt : yet a new implementation...

Pierre GM pgmdevlist at gmail.com
Wed Dec 3 13:52:30 EST 2008


On Dec 3, 2008, at 1:00 PM, Christopher Barker wrote:

> by the way, should this work:
>
> io.loadtxt('junk.dat', delimiter=' ')
>
> for more than one space between numbers, like:
>
> 1  2  3  4   5
> 6  7  8  9  10


On the version I'm working on, both delimiter='' and delimiter=None  
(default) would give you the expected output. delimiter=' ' would  
fail, delimiter='  ' would work.



More information about the NumPy-Discussion mailing list