[Numpy-discussion] Proposed change in genfromtxt(..., comments='#', names=True) behaviour

Nathaniel Smith njs@pobox....
Mon Jul 16 14:56:35 CDT 2012


On Mon, Jul 16, 2012 at 8:06 PM, Paul Natsuo Kishimoto
<mail@paul.kishimoto.name> wrote:
> I've implemented this feature with skip_header=-1 as suggested by
> Pierre, and in doing so removed the regression. TravisBot seems to like
> it: https://github.com/numpy/numpy/pull/351

Can we please not use weird magic values like this? This isn't C.
skip_header="comments" would work just as well and be far more
self-explanatory...

-n


More information about the NumPy-Discussion mailing list