-
Notifications
You must be signed in to change notification settings - Fork 327
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
Feature request: 'merge' (line 'cat' for rows, but with column interpolation) #4
Comments
Could you give a small example please? Just so I make sure I understand. |
data1.csv:
data2.csv:
Output of
|
Maybe "missing data" or "missing fields" would be a more precise term. The flag could be " |
4 years late to the party but... @jeetsukumaran I have written a utility that does this: https://github.com/danielecook/tut
It's called @BurntSushi - it would be really cool if you were able to add this as I'm sure the |
Echo'ing @danielecook 's last comment: It'd be amazing if this was incorporated as a subcommand 👍 Currently using csvstack - it works, but I think xsv would be faster! |
Maybe tsv-utils can help (written in D). |
I was pretty surprised to find out that this is not the default behavior 😳. Addition of this would be highly appreciated 😊 |
HI, don't exists option in tsv-utils for stack and align input data. |
@alexmarco Please don't post comments just to +1 a feature requests. |
The final output would have the union of all the field names across all input files.
Fields without data (e.g., that column was missing from the original) could be left blank or a user-supplied value (e.g., "--nodata='NA'").
The text was updated successfully, but these errors were encountered: