Closed
Description
Pandas version checks
- I have checked that the issue still exists on the latest versions of the docs on
main
here
Location of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.read_clipboard.html
Documentation problem
Backslash is missing in the Parameters section:
pandas.read_clipboard(sep='\\s+', **kwargs)
...
Parameters
sep : str, default ‘s+’
A string or regex delimiter. The default of ‘s+’ denotes one or more whitespace characters.
def read_clipboard(sep: str = r"\s+", **kwargs): # pragma: no cover
r"""
...
Parameters
----------
sep : str, default '\s+'
A string or regex delimiter. The default of '\s+' denotes
one or more whitespace characters.
...
"""
Suggested fix for documentation
I believe your documentation generator is removing the backslash at some point, so hopefully there's a way to turn that off.
I don't believe this issue has much impact. At worst it could confuse some newcomers, that's about it.