to_clipboard()

The to_clipboard() function transfers a DataFrame from a Python environment to the clipboard. From the clipboard, the object can be pasted elsewhere through the use of the ctrl + V keyboard command:

df.to_clipboard()

This DataFrame can also be sent to the clipboard in a format that's more compatible with CSV like so:

df.to_clipboard(excel=True,sep=",")
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset