qsv to ods/xlsx makes strings out of numbers #2693
-
I am extracting exchanges rates from a CSV provided by the EU Central Bank daily via the extracted file of today
same if I export to xlsx or sqlite, didn't try the others. I expected those fields to be numerical.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
If I'm not mistaken, ODS is schema-less and that may be why they are saved as strings. One can run Another workaround is to use the "smart" cc @kindly as he maintains the csvs_convert crate which powers the |
Beta Was this translation helpful? Give feedback.
-
@ondohotola as the file contains spaces after the You probably want to run |
Beta Was this translation helpful? Give feedback.
-
Indeed, thank you so much, I used
to strip however :-0-O |
Beta Was this translation helpful? Give feedback.
Indeed, thank you so much, I used
qsv input --trim-fields --trim-headers eurofxref.csv
to strip however :-0-O