-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Allowing caller to specify the csv dialect #36
Comments
I had thought about this in the beginning, started a discussion on pandoc-discuss about filter options. Since none of the suggestions there has been materialized, probably we should just use env. var. to pass filter options. |
c.f. #8 |
Indeed I had tested this and found that command-line arguments did not work; pity because it would make sense. This is why I am suggesting, as a workaround, to do that change with environment variables (e.g. |
I just pushed v0.12.1 that has a csv-kwargs option. See the doc for (not so much) details. This is a case that no test is written. So I'd appreciate if you could add an example at the end of |
Thanks a lot for this good development of pantable. Currently, it supports the default format of csv (essentially commas as separator).
It would be good if it also allowed different csv formats (e.g. semicolons as separator).
I would like to define something according to those lines in pantable.py:
As a suggestion, there could be two complementary approaches:
export PANTABLE_DELIMITER=';' ; export PANTABLE_DIALECT=excel
(my preferred one, since "Excel with ;" is a very workable default)What would you think about this?
The text was updated successfully, but these errors were encountered: