-
Notifications
You must be signed in to change notification settings - Fork 607
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
Custom delimiter for grouping option #1253
Comments
Why? |
Hi James, Because the grouping option converts the delimiter to be "," Best, |
Can you provide a sample command, with sample input? All CSV Kit commands assume that comma is used as the delimiter, except for in2csv. If you do the following, the semi-colons are preserved only because
You can set a custom delimiter with
You'll see that, now, csvstack understands that To get output that uses a different delimiter, you must use csvformat. The reason for this design decision, is that all tools use a common format, and only in2csv controls modifying the input format (along with options like |
Basically, if you are currently doing |
When the grouping option is enabled, "," is used as a field delimiter and the delimiter of the input csv file is ignored.
Would it be possible to use the automatically determined delimiter or delimiter of the csv-input file?
csvkit/csvkit/utilities/csvstack.py
Line 50 in f73742f
The text was updated successfully, but these errors were encountered: