polars.read_clipboard#
- polars.read_clipboard(separator: str = '\t', **kwargs: Any) DataFrame [source]#
Read text from clipboard and pass to
read_csv
.Useful for reading data copied from Excel or other similar spreadsheet software.
- Parameters:
- separator
Single byte character to use as separator parsing csv from clipboard.
- kwargs
Additional arguments passed to
read_csv
.
See also
read_csv
Read a csv file into a DataFrame.
DataFrame.write_clipboard
Write a DataFrame to the clipboard.