Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
read_table, header flag. false interpreted as 0. #6113
Comments
|
You might have a good point but we can't break that much code without a stronger reason. Sorry, that's what maintaining a library that has lots of users and existing code is like. |
y-p
closed this
Jan 27, 2014
y-p
reopened this
Jan 27, 2014
|
I spoke too soon. The docstring leaves that behavior undefined and what you suggest makes sense. A the very least, raising on bool with a reasonable error message will |
|
Perfect. If you guys could do it sooner, all the better. In R's read.table, header=False gives pandas' header=None behavior. With the pitfalls of language slurring added to the fine False/None distinction, my feeling is raising an error will cut down on unintended behavior with comparatively little inconvenience... |
|
That's been there for a while. I don't think there's any time pressure. If we don't sort this within a month or so, ping us. |
|
Sounds good. Thanks for taking a look! On Sun, Jan 26, 2014 at 9:05 PM, y-p notifications@github.com wrote:
|
cyrusmaher commentedJan 27, 2014
For read_table, Would it be possible to make "header=None" and "header=False" have the same behavior? Interpreting "False" as saying that the first line is the header has tricked me a couple times...