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

Pierre GM pgmdevlist@gmail....
Wed Dec 3 12:52:30 CST 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