Skip to content

Commit cabe9b1

Browse files
committed
Merge pull request #5408 from patricktokeeffe/fix-parser-docstring
DOC/BUG: fix details for 'quoting' parser parameter
2 parents 0b9570a + 2ee7398 commit cabe9b1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/io/parsers.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636
%s
3737
lineterminator : string (length 1), default None
3838
Character to break file into lines. Only valid with C parser
39-
quotechar : string
40-
The character to used to denote the start and end of a quoted item. Quoted
39+
quotechar : string (length 1)
40+
The character used to denote the start and end of a quoted item. Quoted
4141
items can include the delimiter and it will be ignored.
42-
quoting : int
43-
Controls whether quotes should be recognized. Values are taken from
44-
`csv.QUOTE_*` values. Acceptable values are 0, 1, 2, and 3 for
45-
QUOTE_MINIMAL, QUOTE_ALL, QUOTE_NONE, and QUOTE_NONNUMERIC, respectively.
42+
quoting : int or csv.QUOTE_* instance, default None
43+
Control field quoting behavior per ``csv.QUOTE_*`` constants. Use one of
44+
QUOTE_MINIMAL (0), QUOTE_ALL (1), QUOTE_NONNUMERIC (2) or QUOTE_NONE (3).
45+
Default (None) results in QUOTE_MINIMAL behavior.
4646
skipinitialspace : boolean, default False
4747
Skip spaces after delimiter
4848
escapechar : string

0 commit comments

Comments
 (0)