Skip to content

add comments argument to text readers #962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andreas-h opened this issue Mar 24, 2012 · 2 comments
Closed

add comments argument to text readers #962

andreas-h opened this issue Mar 24, 2012 · 2 comments
Milestone

Comments

@andreas-h
Copy link
Contributor

It would be very helpful if read_table and read_csv would support a comments keyarg, like np.loadtxt, to handle filesets with varying numbers of headers which are indicated by a comment character at the beginning.

@wesm
Copy link
Member

wesm commented Apr 12, 2012

I agree that would be nice. That doesn't seem to be what the comments option does, though, it actually splits comments off of any line, maybe have to dig a little deeper

@changhiskhan
Copy link
Contributor

note that the comment keyword will not comment out a whole line and will only split comments off the end of a line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants