Pandas DataFrame: to_clipboard() function
DataFrame - to_clipboard() function
The to_clipboard() function is used to write a text representation of object to the system clipboard.
Syntax:
DataFrame.to_clipboard(self, excel=True, sep=None, **kwargs)
Parameters:
| Name | Description | Type/Default Value | Required / Optional | 
|---|---|---|---|
| excel | 
  | 
bool Default Value: True  | 
Required | 
| sep | Field delimiter. | str Default Value: '\t'  | 
  Required | 
| **kwargs | These parameters will be passed to DataFrame.to_csv. | Required | 
Notes: Requirements for your platform.
- Linux : xclip, or xsel (with PyQt4 modules)
 - Windows : none
 - OS X : none
 
Example:
Download the Pandas DataFrame Notebooks from here.
Previous: DataFrame - to_string() function 
  Next: Python pandas tutorials
