[Numpy-discussion] numpy.genfromtxt converters issue

Pierre GM pgmdevlist at gmail.com
Sun Nov 14 15:34:31 EST 2010


On Nov 14, 2010, at 9:30 PM, Lluís wrote:

> This will work as long as 'first_values' is assured to always contain
> valid data and as long as its indexes are equivalent to those in
> converters (which I simply haven't checked).

I beat you to it, actually ;) Check the git push I committed earlier today. I followed exactly the same approach as yours (well, almost: I do check whether the first line is empty (there were names) and then fall back on the default testing value ('1')...


More information about the NumPy-Discussion mailing list