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

Pierre GM pgmdevlist@gmail....
Tue Dec 2 16:46:15 CST 2008


Chris,
I can try, but in that case, please write me a unittest, so that I  
have a clear and unambiguous idea of what you expect.
ANFSCD, have you tried the missing_values option ?


On Dec 2, 2008, at 5:36 PM, Christopher Barker wrote:

> 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.
>
> -Chris
>
>
>
>
> -- 
> Christopher Barker, Ph.D.
> Oceanographer
>
> 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
>
> Chris.Barker@noaa.gov
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion



More information about the Numpy-discussion mailing list