[Numpy-discussion] Proposed change in genfromtxt(..., comments='#', names=True) behaviour
Tue Jul 17 10:56:17 CDT 2012
On Tuesday, July 17, 2012 at 17:47 , Nathaniel Smith wrote:
I guess I still have a small preference for skip_header="comments"
over skip_header=True, since the latter is more opaque for no purpose.
Also it makes me slightly antsy since skip_header is normally an
integer, and True is, in fact, just an integer with a special
Nathaniel, that's basically my problem with `skip_header=True`. I still
prefer my -1 to your "comments", but whatever, personal taste again.
I'm not convinced by line 1353: unless you change it to
you gonna lose the '#', aren't you ? With the 'index' way, we just pick the
first one, as intended. But it's late and multitasking isn't really working
for me now.
I think you guys are looking for .split(comments, 1).
Tadah! Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion