wireservice / csvkit

A suite of utilities for converting to and working with CSV, the king of tabular file formats.
https://csvkit.readthedocs.io
MIT License
6.03k stars 603 forks source link

Question about quoting #1144

Closed shinokada closed 2 years ago

shinokada commented 3 years ago

I googled it but in vain to find answers. I'd like to know how to use -q and -u options with the csvlook command. Can anyone give some examples?

-q QUOTECHAR, --quotechar QUOTECHAR
                        Character used to quote strings in the input CSV file.
-u {0,1,2,3}, --quoting {0,1,2,3}
                        Quoting style used in the input CSV file. 0 = Quote Minimal, 1 = Quote All, 2 = Quote Non-
                        numeric, 3 = Quote None.
jpmckinney commented 3 years ago

Does this page help? https://docs.python.org/3/library/csv.html

See under "The csv module defines the following constants:"