Skip to content

Commit b4091c0

Browse files
author
y-p
committed
Merge pull request #2674 from elpres/patch-1
DOC: Added missing escape for a backslash
2 parents f73128e + 254190c commit b4091c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/source/io.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
.. _io:
32

43
.. currentmodule:: pandas
@@ -43,7 +42,7 @@ data into a DataFrame object. They can take a number of arguments:
4342
- ``sep`` or ``delimiter``: A delimiter / separator to split fields
4443
on. `read_csv` is capable of inferring the delimiter automatically in some
4544
cases by "sniffing." The separator may be specified as a regular
46-
expression; for instance you may use '\|\s*' to indicate a pipe plus
45+
expression; for instance you may use '\|\\s*' to indicate a pipe plus
4746
arbitrary whitespace.
4847
- ``delim_whitespace``: Parse whitespace-delimited (spaces or tabs) file
4948
(much faster than using a regular expression)

0 commit comments

Comments
 (0)