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

Nathaniel Smith njs at pobox.com
Mon Jul 16 15:56:35 EDT 2012


On Mon, Jul 16, 2012 at 8:06 PM, Paul Natsuo Kishimoto
<mail at 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