-
Notifications
You must be signed in to change notification settings - Fork 606
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
csvlook: Change truncation character for floats #941
Comments
Are you saying that the suggested behavior is to ignore |
Sorry. My mistake. Do you prefer to close this ticket and create a new one? Or rename this one. |
I renamed the issue. We can implement this by exposing the |
the behaviour changed from csvkit==0.9.1 to csvkit==1.0.2 with the --no-inference option you can get close to the prior behavior. before $ csvsql --query "select Date,USD,GBP,PLN,JPY from eurofxrefhist where Date='2016-10-21'" eurofxrefhist.csv |csvlook
|-------------+--------+--------+--------+---------|
| Date | USD | GBP | PLN | JPY |
|-------------+--------+--------+--------+---------|
| 2016-10-21 | 1.0886 | 0.8932 | 4.3251 | 112.96 |
|-------------+--------+--------+--------+---------| now $ csvsql --query "select Date,USD,GBP,PLN,JPY from eurofxrefhist where Date='2016-10-21'" eurofxrefhist.csv |csvlook
/usr/lib/python3/dist-packages/agate/utils.py:275: UnnamedColumnWarning: Column 42 has no name. Using "qq".
| Date | USD | GBP | PLN | JPY |
| ---------- | ------ | ------ | ------ | ------ |
| 2016-10-21 | 1,089… | 0,893… | 4,325… | 112,96 | |
max-column-width
does not work on columns interpreted asfloat
.eg:
Expected behavior (or Workaround):
The text was updated successfully, but these errors were encountered: