{"action":"created","issue":{"url":"https://api.github.com/repos/pandas-dev/pandas/issues/14610","repository_url":"https://api.github.com/repos/pandas-dev/pandas","labels_url":"https://api.github.com/repos/pandas-dev/pandas/issues/14610/labels{/name}","comments_url":"https://api.github.com/repos/pandas-dev/pandas/issues/14610/comments","events_url":"https://api.github.com/repos/pandas-dev/pandas/issues/14610/events","html_url":"https://github.com/pandas-dev/pandas/issues/14610","id":187882946,"number":14610,"title":"ENHANCEMENT to_clipboard index=False","user":{"login":"WaylonWalker","id":22648375,"avatar_url":"https://avatars.githubusercontent.com/u/22648375?v=3","gravatar_id":"","url":"https://api.github.com/users/WaylonWalker","html_url":"https://github.com/WaylonWalker","followers_url":"https://api.github.com/users/WaylonWalker/followers","following_url":"https://api.github.com/users/WaylonWalker/following{/other_user}","gists_url":"https://api.github.com/users/WaylonWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/WaylonWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WaylonWalker/subscriptions","organizations_url":"https://api.github.com/users/WaylonWalker/orgs","repos_url":"https://api.github.com/users/WaylonWalker/repos","events_url":"https://api.github.com/users/WaylonWalker/events{/privacy}","received_events_url":"https://api.github.com/users/WaylonWalker/received_events","type":"User","site_admin":false},"labels":[{"id":2301354,"url":"https://api.github.com/repos/pandas-dev/pandas/labels/Data%20IO","name":"Data IO","color":"06909A","default":false},{"id":34444536,"url":"https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question","name":"Usage Question","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pandas-dev/pandas/milestones/33","html_url":"https://github.com/pandas-dev/pandas/milestones/No%20action","labels_url":"https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels","id":997544,"number":33,"title":"No action","description":"A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n","creator":{"login":"jorisvandenbossche","id":1020496,"avatar_url":"https://avatars.githubusercontent.com/u/1020496?v=3","gravatar_id":"","url":"https://api.github.com/users/jorisvandenbossche","html_url":"https://github.com/jorisvandenbossche","followers_url":"https://api.github.com/users/jorisvandenbossche/followers","following_url":"https://api.github.com/users/jorisvandenbossche/following{/other_user}","gists_url":"https://api.github.com/users/jorisvandenbossche/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisvandenbossche/subscriptions","organizations_url":"https://api.github.com/users/jorisvandenbossche/orgs","repos_url":"https://api.github.com/users/jorisvandenbossche/repos","events_url":"https://api.github.com/users/jorisvandenbossche/events{/privacy}","received_events_url":"https://api.github.com/users/jorisvandenbossche/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":498,"state":"open","created_at":"2015-02-26T19:29:05Z","updated_at":"2016-11-08T08:36:53Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-11-08T02:07:10Z","updated_at":"2016-11-08T13:33:47Z","closed_at":"2016-11-08T02:44:52Z","body":"#### ENHANCEMENT: to_clipboard(index=False)\r\nCommonly in my work I am pasting a column of data into another program that I have no api for as an input.  I cannot have the index index in the input.  I will generally use the .to_clipboard() method paste in excel, then copy the column from excel.  I would really like to avoid opening another program to solve this problem.  Would there be a way to add a keyword argument such that the index is not copied to the clipboard?\r\n\r\n\r\n```python\r\nimport pandas as pd\r\ndf = pd.DataFrame({'a':[1,2,3,4]})\r\ndf.to_clipboard(index=False)\r\n```\r\n\r\n#### Expected Output\r\n_Values in clipboard_\r\n```\r\na\r\n1\r\n2\r\n3\r\n4\r\n```\r\n\r\n_rather than_\r\n\r\n```\r\n\ta\r\n0\t1\r\n1\t2\r\n2\t3\r\n3\t4\r\n\r\n```\r\n\r\n\r\n#### Output of ``pd.show_versions()``\r\n\r\n<details>\r\n# INSTALLED VERSIONS\r\n------------------\r\ncommit: None\r\npython: 3.5.2.final.0\r\npython-bits: 64\r\nOS: Windows\r\nOS-release: 7\r\nmachine: AMD64\r\nprocessor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel\r\nbyteorder: little\r\nLC_ALL: None\r\nLANG: None\r\nLOCALE: None.None\r\n\r\npandas: 0.19.0\r\nnose: 1.3.7\r\npip: 8.1.2\r\nsetuptools: 26.1.1.post20160901\r\nCython: None\r\nnumpy: 1.11.2\r\nscipy: 0.18.1\r\nstatsmodels: 0.6.1\r\nxarray: None\r\nIPython: 5.1.0\r\nsphinx: None\r\npatsy: 0.4.1\r\ndateutil: 2.5.3\r\npytz: 2016.7\r\nblosc: None\r\nbottleneck: 1.1.0\r\ntables: None\r\nnumexpr: 2.6.1\r\nmatplotlib: 1.5.2\r\nopenpyxl: None\r\nxlrd: 1.0.0\r\nxlwt: None\r\nxlsxwriter: None\r\nlxml: None\r\nbs4: None\r\nhtml5lib: None\r\nhttplib2: None\r\napiclient: None\r\nsqlalchemy: None\r\npymysql: None\r\npsycopg2: None\r\njinja2: 2.8\r\nboto: 2.43.0\r\npandas_datareader: None"},"comment":{"url":"https://api.github.com/repos/pandas-dev/pandas/issues/comments/259137092","html_url":"https://github.com/pandas-dev/pandas/issues/14610#issuecomment-259137092","issue_url":"https://api.github.com/repos/pandas-dev/pandas/issues/14610","id":259137092,"user":{"login":"WaylonWalker","id":22648375,"avatar_url":"https://avatars.githubusercontent.com/u/22648375?v=3","gravatar_id":"","url":"https://api.github.com/users/WaylonWalker","html_url":"https://github.com/WaylonWalker","followers_url":"https://api.github.com/users/WaylonWalker/followers","following_url":"https://api.github.com/users/WaylonWalker/following{/other_user}","gists_url":"https://api.github.com/users/WaylonWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/WaylonWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WaylonWalker/subscriptions","organizations_url":"https://api.github.com/users/WaylonWalker/orgs","repos_url":"https://api.github.com/users/WaylonWalker/repos","events_url":"https://api.github.com/users/WaylonWalker/events{/privacy}","received_events_url":"https://api.github.com/users/WaylonWalker/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T13:33:47Z","updated_at":"2016-11-08T13:33:47Z","body":"Thanks guys"}}
{"actor":{"display_login":"WaylonWalker"}}