[Numpy-discussion] genfromtext advice

Citi, Luca lciti@essex.ac...
Tue Sep 1 06:17:48 CDT 2009


I have tried
$ awk -F '|' '{if(NF != 12) print NR;}' /tmp/pp.txt
and besides the first 23 lines and the last 3 lines of the file,
also the following have a number of '|' different from 11:
1635
2851
5538
i.e. BIKIN, BENGUERIR and TERESINA AIRPORT.
But I completely agree with you, genfromtxt could print out
the line number and the actual line giving problems.


More information about the NumPy-Discussion mailing list