From e49f0622b9afee9920b227746b43a1979a626346 Mon Sep 17 00:00:00 2001 From: partev Date: Tue, 20 Jul 2021 00:40:45 -0400 Subject: [PATCH] DOC: fix small issues 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 --- pandas/core/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index c63aeb736d16a..7865cdb0455b2 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2988,7 +2988,7 @@ def to_clipboard( -------- DataFrame.to_csv : Write a DataFrame to a comma-separated values (csv) file. - read_clipboard : Read text from clipboard and pass to read_table. + read_clipboard : Read text from clipboard and pass to read_csv. Notes ----- @@ -2996,7 +2996,7 @@ def to_clipboard( - Linux : `xclip`, or `xsel` (with `PyQt4` modules) - Windows : none - - OS X : none + - macOS : none Examples --------