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

Add option for justifying columns with whitespace before field (after comma) #51

Open
tyhenry opened this issue Aug 14, 2018 · 0 comments

Comments

@tyhenry
Copy link

tyhenry commented Aug 14, 2018

i.e.

John Doe    ,1  ,manager
John Doherty,200,employee

becomes

    John Doe,  1, manager
John Doherty,200,employee

This would help when parsing CSV files with Python's csv reader, which can ignore initial whitespace in a field, but not trailing whitespace (AFAIK):

https://docs.python.org/3/library/csv.html#csv.Dialect.skipinitialspace

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

1 participant