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 to truncate long columns with an additional option for csvlook (fixes #389) #482

Closed
wants to merge 2 commits into from

Conversation

Tabea-K
Copy link

@Tabea-K Tabea-K commented Jan 11, 2016

I added the option "-c"/"--cutoff" to csvlook, to specify a maximum column width. This is useful for files which have very long columns. See issue #389

… maximum number of characters to be printed for each column. I.e. a value of 10 tells csvlook to only print the first 10 characters of each column.
@jpmckinney
Copy link
Member

The implementation of this functionality is moving out of the csvkit repository into its new dependency agate (#515). This is the file that would need to be modified. I've opened an issue there referring to all issues and PRs related to this feature request.

Also, preferring #429 (has test).

@jpmckinney jpmckinney closed this Jan 30, 2016
lcorbasson pushed a commit to lcorbasson/csvkit that referenced this pull request Sep 7, 2020
lcorbasson pushed a commit to lcorbasson/csvkit that referenced this pull request Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants