-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
--no-headers
doesn't work on most formats
#566
Comments
Thanks, looks like a bug. |
On consulting https://pypi.org/project/tabulate/ it looks like most of those formats don't actually makes sense without headers - so the right thing here might be to raise an error if |
Seems to me that this is not a bug, and that @zellyn might be misunderstanding what The help text for (Well, it applies to TSV files, too. So the help text could be improved.) I reckon raising an error if Furthermore, the options seem a bit messy to me. I mean, you could specify |
My use case for using But you're right that it doesn't make sense for most of the formats that are generating some kind of markup rendering. |
@zellyn Which formats are you working with? I've not looked closely at the list of formats Do bear in mind that if you're using a system that has the $ printf "1\n2\n3\n" | tail -n +2
2
3 |
Yeah, I've done the |
Version 3.33
The text was updated successfully, but these errors were encountered: