pyspark.pandas.read_clipboard

pyspark.pandas.read_clipboard(sep: str = '\\s+', **kwargs: Any) → pyspark.pandas.frame.DataFrame

Read text from clipboard and pass to read_csv. See read_csv for the full argument list

Parameters
sepstr, default ‘s+’

A string or regex delimiter. The default of ‘s+’ denotes one or more whitespace characters.

Returns
parsedDataFrame

See also

DataFrame.to_clipboard

Write text out to clipboard.