{"action":"opened","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/14194","repository_url":"https://api.github.com/repos/pydata/pandas","labels_url":"https://api.github.com/repos/pydata/pandas/issues/14194/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/14194/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/14194/events","html_url":"https://github.com/pydata/pandas/issues/14194","id":176069745,"number":14194,"title":"ENH: DataFrame.style option for hiding the index","user":{"login":"TomAugspurger","id":1312546,"avatar_url":"https://avatars.githubusercontent.com/u/1312546?v=3","gravatar_id":"","url":"https://api.github.com/users/TomAugspurger","html_url":"https://github.com/TomAugspurger","followers_url":"https://api.github.com/users/TomAugspurger/followers","following_url":"https://api.github.com/users/TomAugspurger/following{/other_user}","gists_url":"https://api.github.com/users/TomAugspurger/gists{/gist_id}","starred_url":"https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomAugspurger/subscriptions","organizations_url":"https://api.github.com/users/TomAugspurger/orgs","repos_url":"https://api.github.com/users/TomAugspurger/repos","events_url":"https://api.github.com/users/TomAugspurger/events{/privacy}","received_events_url":"https://api.github.com/users/TomAugspurger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/Difficulty%20Intermediate","name":"Difficulty Intermediate","color":"fbca04"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Effort%20Low","name":"Effort Low","color":"006b75"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Style","name":"Style","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pydata/pandas/milestones/39","html_url":"https://github.com/pydata/pandas/milestones/0.20.0","labels_url":"https://api.github.com/repos/pydata/pandas/milestones/39/labels","id":1570595,"number":39,"title":"0.20.0","description":"after 0.19.x series","creator":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"open_issues":107,"closed_issues":2,"state":"open","created_at":"2016-02-08T15:30:21Z","updated_at":"2016-09-09T17:56:31Z","due_on":"2016-12-30T23:00:00Z","closed_at":null},"comments":0,"created_at":"2016-09-09T17:56:31Z","updated_at":"2016-09-09T17:56:31Z","closed_at":null,"body":"#### Code Sample, a copy-pastable example if possible\r\n\r\n```python\r\ndf = pd.DataFrame(np.random.randn(10, 2))\r\ndf.style.set_include_index(False)  # name TBD\r\n```\r\n\r\n#### Expected Output\r\n\r\nSame output, but without the index\r\n\r\nWould maybe want a way to hide the columns too.\r\n\r\n---\r\n\r\nCurrent workaround\r\n\r\n```python\r\ndf = pd.DataFrame(np.random.randn(10, 2))\r\ndf.style.set_table_styles([\r\n    {'selector': '.row_heading, .blank', 'props': [('display', 'none;')]}\r\n])\r\n```\r\n\r\nThis doesn't work if there's a `df.index.name` and almost surely doesn't work with MultiIndexes."}}
{"actor":{"display_login":"TomAugspurger"}}