Skip to content
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

Allow setting "missing value" string when using join. #54

Open
ghuls opened this issue Jan 5, 2017 · 3 comments
Open

Allow setting "missing value" string when using join. #54

ghuls opened this issue Jan 5, 2017 · 3 comments

Comments

@ghuls
Copy link

ghuls commented Jan 5, 2017

It would be nice that it would be possible to set a missing value string when using join, so it is possible to put for example "NA" instead of empty fields.

@ghuls
Copy link
Author

ghuls commented Jan 5, 2017

Another option would be to add a --null option to fmt, so fmt can replace all empty fields with a specific string:

xsv join 2 test1.csv 2 test2.csv | xsv fmt --null 'NA'

If the -null option is also added to input, it would allow to specify a string which, if found will result in a NULL value (empty column) for xsv. This probably would solve: #38

@BurntSushi
Copy link
Owner

I think this is a straight out duplicate of #38, no? I think even the proposals you've given were already suggested in some form in #38.

@ghuls
Copy link
Author

ghuls commented Jan 5, 2017

Yes, it is very similar to #38.

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

No branches or pull requests

2 participants