[Numpy-discussion] loadtxt broken if file does not end in newline
Thu Feb 28 08:18:23 CST 2008
On 2/27/08, Travis E. Oliphant <email@example.com> wrote:
> Did this discussion resolve with a fix that can go in before 1.0.5 is
I believe the answer is yes, but we have to choose:
1- Use the regepx based solution of David.
2- Move to use 'index' instead of 'find' as proposed by Alan and
implemented by Christopher in example code.
In my view, (1) is more powerful regarding future improvements; but
(2) is far simpler if we are looking for just a fix. Someone will have
to take a decision about what approach should be followed.
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
More information about the Numpy-discussion