Skip to content

Commit eca7891

Browse files
gfyoungjreback
authored andcommitted
DOC: document doublequote in read_csv
Title is self-explanatory. Author: gfyoung <[email protected]> Closes #13368 from gfyoung/doublequote-doc and squashes the following commits: f3e01fc [gfyoung] DOC: document doublequote in read_csv
1 parent faf9b7d commit eca7891

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

doc/source/io.rst

+4
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ quoting : int or ``csv.QUOTE_*`` instance, default ``None``
273273
``QUOTE_MINIMAL`` (0), ``QUOTE_ALL`` (1), ``QUOTE_NONNUMERIC`` (2) or
274274
``QUOTE_NONE`` (3). Default (``None``) results in ``QUOTE_MINIMAL``
275275
behavior.
276+
doublequote : boolean, default ``True``
277+
When ``quotechar`` is specified and ``quoting`` is not ``QUOTE_NONE``,
278+
indicate whether or not to interpret two consecutive ``quotechar`` elements
279+
**inside** a field as a single ``quotechar`` element.
276280
escapechar : str (length 1), default ``None``
277281
One-character string used to escape delimiter when quoting is ``QUOTE_NONE``.
278282
comment : str, default ``None``

pandas/io/parsers.py

+4
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@
192192
Control field quoting behavior per ``csv.QUOTE_*`` constants. Use one of
193193
QUOTE_MINIMAL (0), QUOTE_ALL (1), QUOTE_NONNUMERIC (2) or QUOTE_NONE (3).
194194
Default (None) results in QUOTE_MINIMAL behavior.
195+
doublequote : boolean, default ``True``
196+
When quotechar is specified and quoting is not ``QUOTE_NONE``, indicate
197+
whether or not to interpret two consecutive quotechar elements INSIDE a
198+
field as a single ``quotechar`` element.
195199
escapechar : str (length 1), default None
196200
One-character string used to escape delimiter when quoting is QUOTE_NONE.
197201
comment : str, default None

0 commit comments

Comments
 (0)