Skip to content

Commit c8f13d2

Browse files
committed
DOC: Fix delim_whitespace regex typo.
1 parent 4de83d2 commit c8f13d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/io.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ delimiter : str, default ``None``
9999
Alternative argument name for sep.
100100
delim_whitespace : boolean, default False
101101
Specifies whether or not whitespace (e.g. ``' '`` or ``'\t'``)
102-
will be used as the delimiter. Equivalent to setting ``sep='\+s'``.
102+
will be used as the delimiter. Equivalent to setting ``sep='\s+'``.
103103
If this option is set to True, nothing should be passed in for the
104104
``delimiter`` parameter.
105105

pandas/io/parsers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
Alternative argument name for sep.
5656
delim_whitespace : boolean, default False
5757
Specifies whether or not whitespace (e.g. ``' '`` or ``'\t'``) will be
58-
used as the sep. Equivalent to setting ``sep='\+s'``. If this option
58+
used as the sep. Equivalent to setting ``sep='\s+'``. If this option
5959
is set to True, nothing should be passed in for the ``delimiter``
6060
parameter.
6161

0 commit comments

Comments
 (0)