Series.to_clipboard()

pandas.Series.to_clipboard

Series.to_clipboard(excel=None, sep=None, **kwargs) [source]

Attempt to write text representation of object to the system clipboard This can be pasted into Excel, for example.

Parameters:

excel : boolean, defaults to True

if True, use the provided separator, writing in a csv format for allowing easy pasting into excel. if False, write a string representation of the object to the clipboard

sep : optional, defaults to tab

other keywords are passed to to_csv

Notes

Requirements for your platform
  • Linux: xclip, or xsel (with gtk or PyQt4 modules)
  • Windows: none
  • OS X: none

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.20.2/generated/pandas.Series.to_clipboard.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部