Skip to content

Commit c619a67

Browse files
kokesjorisvandenbossche
authored andcommitted
DOC: escaping code examples properly in read_csv docstring (pandas-dev#18412)
1 parent 103ea6f commit c619a67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/parsers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@
246246
of a line, the line will be ignored altogether. This parameter must be a
247247
single character. Like empty lines (as long as ``skip_blank_lines=True``),
248248
fully commented lines are ignored by the parameter `header` but not by
249-
`skiprows`. For example, if comment='#', parsing '#empty\\na,b,c\\n1,2,3'
250-
with `header=0` will result in 'a,b,c' being
249+
`skiprows`. For example, if ``comment='#'``, parsing
250+
``#empty\\na,b,c\\n1,2,3`` with ``header=0`` will result in 'a,b,c' being
251251
treated as the header.
252252
encoding : str, default None
253253
Encoding to use for UTF when reading/writing (ex. 'utf-8'). `List of Python

0 commit comments

Comments
 (0)