Skip to content
masterclass Buddy

Pandas · Function

pd.read_clipboard

Reads text from the system clipboard and parses it into a pandas DataFrame. It uses whitespace as the default separator and accepts read_csv options.

Last updated

Since
2.0

Syntax

pandas.read_clipboard(sep='\s+', dtype_backend=<no_default>, **kwargs)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • DataFrame.to_clipboard
  • read_csv
  • read_fwf

Source: pandas.read_clipboard — pandas 3.1.0 documentation. Checked 2026-11-03.