Skip to content

Commit 9c0a1eb

Browse files
authored
DOC: fix small issues (#42621)
read_clipboard passes the text to read_csv not read_table. See here for example: https://pandas.pydata.org/docs/dev/reference/api/pandas.read_clipboard.html also replace "OS X" -> macOS
1 parent 777cabc commit 9c0a1eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2988,15 +2988,15 @@ def to_clipboard(
29882988
--------
29892989
DataFrame.to_csv : Write a DataFrame to a comma-separated values
29902990
(csv) file.
2991-
read_clipboard : Read text from clipboard and pass to read_table.
2991+
read_clipboard : Read text from clipboard and pass to read_csv.
29922992
29932993
Notes
29942994
-----
29952995
Requirements for your platform.
29962996
29972997
- Linux : `xclip`, or `xsel` (with `PyQt4` modules)
29982998
- Windows : none
2999-
- OS X : none
2999+
- macOS : none
30003000
30013001
Examples
30023002
--------

0 commit comments

Comments
 (0)