@@ -10,12 +10,15 @@ Prints descriptive statistics for all columns in a CSV file. Will intelligently
10
10
.. code-block :: bash
11
11
12
12
usage: csvstat [-h] [-d DELIMITER] [-t] [-q QUOTECHAR] [-u {0,1,2,3}] [-b]
13
- [-p ESCAPECHAR] [-z FIELD_SIZE_LIMIT] [-e ENCODING] [-S] [-H]
14
- [-K SKIP_LINES] [-v] [-l] [--zero] [-V] [--csv] [--json]
13
+ [-p ESCAPECHAR] [-z FIELD_SIZE_LIMIT] [-e ENCODING] [-L LOCALE]
14
+ [-S] [--blanks] [--null-value NULL_VALUES [NULL_VALUES ...]]
15
+ [--date-format DATE_FORMAT] [--datetime-format DATETIME_FORMAT]
16
+ [-H] [-K SKIP_LINES] [-v] [-l] [--zero] [-V] [--csv] [--json]
15
17
[-i INDENT] [-n] [-c COLUMNS] [--type] [--nulls] [--non-nulls]
16
- [--unique] [--min] [--max] [--sum] [--mean] [--median] [--stdev]
17
- [--len] [--freq] [--freq-count FREQ_COUNT] [--count]
18
- [--decimal-format DECIMAL_FORMAT] [-G] [-y SNIFF_LIMIT]
18
+ [--unique] [--min] [--max] [--sum] [--mean] [--median]
19
+ [--stdev] [--len] [--max-precision] [--freq]
20
+ [--freq-count FREQ_COUNT] [--count]
21
+ [--decimal-format DECIMAL_FORMAT] [-G] [-y SNIFF_LIMIT] [-I]
19
22
[FILE]
20
23
21
24
Print descriptive statistics for each column in a CSV file.
@@ -48,6 +51,7 @@ Prints descriptive statistics for all columns in a CSV file. Will intelligently
48
51
--median Only output medians.
49
52
--stdev Only output standard deviations.
50
53
--len Only output the length of the longest values.
54
+ --max-precision Only output the most decimal places.
51
55
--freq Only output lists of frequent values.
52
56
--freq-count FREQ_COUNT
53
57
The maximum number of frequent values to display.
@@ -59,7 +63,10 @@ Prints descriptive statistics for all columns in a CSV file. Will intelligently
59
63
Do not use grouping separators in decimal numbers.
60
64
-y SNIFF_LIMIT, --snifflimit SNIFF_LIMIT
61
65
Limit CSV dialect sniffing to the specified number of
62
- bytes. Specify " 0" to disable sniffing.
66
+ bytes. Specify " 0" to disable sniffing entirely, or
67
+ " -1" to sniff the entire file.
68
+ -I, --no-inference Disable type inference when parsing the input. Disable
69
+ reformatting of values.
63
70
64
71
See also: :doc:` ../common_arguments` .
65
72
0 commit comments