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

Christopher Barker Chris.Barker@noaa....
Tue Dec 2 16:36:10 CST 2008

Pierre GM wrote:
>> I think that treating an explicitly-passed-in ' ' delimiter as
>> identical to 'no delimiter' is a bad idea. If I say that ' ' is the
>> delimiter, or '\t' is the delimiter, this should be treated *just*
>> like ',' being the delimiter, where the expected output is:
>> ['1', '2', '3', '4', '', '5']
> Valid point.
> Well, all, stay tuned for yet another "yet another implementation..."

While we're at it, it might be nice to be able to pass in more than one 
delimiter: ('\t',' '). though maybe that only combination that I'd 
really want would be something and '\n', which I think is being treated 
specially already.


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception


More information about the Numpy-discussion mailing list