{"action":"created","issue":{"url":"https://api.github.com/repos/pandas-dev/pandas/issues/21857","repository_url":"https://api.github.com/repos/pandas-dev/pandas","labels_url":"https://api.github.com/repos/pandas-dev/pandas/issues/21857/labels{/name}","comments_url":"https://api.github.com/repos/pandas-dev/pandas/issues/21857/comments","events_url":"https://api.github.com/repos/pandas-dev/pandas/issues/21857/events","html_url":"https://github.com/pandas-dev/pandas/issues/21857","id":340216804,"node_id":"MDU6SXNzdWUzNDAyMTY4MDQ=","number":21857,"title":"Missing values when displaying Multi-index after groupby in notebook","user":{"login":"bmaisonn","id":7989822,"node_id":"MDQ6VXNlcjc5ODk4MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/7989822?v=4","gravatar_id":"","url":"https://api.github.com/users/bmaisonn","html_url":"https://github.com/bmaisonn","followers_url":"https://api.github.com/users/bmaisonn/followers","following_url":"https://api.github.com/users/bmaisonn/following{/other_user}","gists_url":"https://api.github.com/users/bmaisonn/gists{/gist_id}","starred_url":"https://api.github.com/users/bmaisonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmaisonn/subscriptions","organizations_url":"https://api.github.com/users/bmaisonn/orgs","repos_url":"https://api.github.com/users/bmaisonn/repos","events_url":"https://api.github.com/users/bmaisonn/events{/privacy}","received_events_url":"https://api.github.com/users/bmaisonn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-11T12:17:42Z","updated_at":"2018-07-11T12:22:17Z","closed_at":"2018-07-11T12:22:17Z","author_association":"NONE","body":"#### Code Sample, a copy-pastable example if possible\r\n\r\n```python\r\ndf = pd.DataFrame({'a':[True, False, False], 'b':[True, True, False], 'c': [1,2,3], 'd':[1,1,1]})\r\ndf.groupby(['a','b','c']).count()\r\n\r\n```\r\n#### Problem description\r\n\r\nA \"True\" label is missing on the mult-index line corresponding to the (False, True) case.\r\n\r\n![image](https://user-images.githubusercontent.com/7989822/42570775-46bdcfac-8515-11e8-84dd-28b2cc587e56.png)\r\n\r\n\r\n#### Expected Output\r\n\r\nI expect to the (False, True) on the second line\r\n\r\n#### Output of ``pd.show_versions()``\r\n\r\nINSTALLED VERSIONS\r\n------------------\r\ncommit: None\r\npython: 3.6.1.final.0\r\npython-bits: 64\r\nOS: Windows\r\nOS-release: 10\r\nmachine: AMD64\r\nprocessor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel\r\nbyteorder: little\r\nLC_ALL: None\r\nLANG: None\r\nLOCALE: None.None\r\n\r\npandas: 0.21.0\r\npytest: 3.5.1\r\npip: 10.0.1\r\nsetuptools: 28.8.0\r\nCython: None\r\nnumpy: 1.14.5\r\nscipy: 1.1.0\r\npyarrow: None\r\nxarray: None\r\nIPython: 6.3.1\r\nsphinx: None\r\npatsy: None\r\ndateutil: 2.7.3\r\npytz: 2018.4\r\nblosc: None\r\nbottleneck: None\r\ntables: None\r\nnumexpr: None\r\nfeather: None\r\nmatplotlib: 2.2.2\r\nopenpyxl: 2.5.4\r\nxlrd: 1.1.0\r\nxlwt: 1.3.0\r\nxlsxwriter: 1.0.2\r\nlxml: 4.1.1\r\nbs4: None\r\nhtml5lib: 1.0.1\r\nsqlalchemy: 1.1.15\r\npymysql: None\r\npsycopg2: 2.7.4 (dt dec pq3 ext lo64)\r\njinja2: 2.10\r\ns3fs: 0.1.0\r\nfastparquet: None\r\npandas_gbq: None\r\npandas_datareader: None\r\n\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/pandas-dev/pandas/issues/comments/404149643","html_url":"https://github.com/pandas-dev/pandas/issues/21857#issuecomment-404149643","issue_url":"https://api.github.com/repos/pandas-dev/pandas/issues/21857","id":404149643,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDE0OTY0Mw==","user":{"login":"bmaisonn","id":7989822,"node_id":"MDQ6VXNlcjc5ODk4MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/7989822?v=4","gravatar_id":"","url":"https://api.github.com/users/bmaisonn","html_url":"https://github.com/bmaisonn","followers_url":"https://api.github.com/users/bmaisonn/followers","following_url":"https://api.github.com/users/bmaisonn/following{/other_user}","gists_url":"https://api.github.com/users/bmaisonn/gists{/gist_id}","starred_url":"https://api.github.com/users/bmaisonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmaisonn/subscriptions","organizations_url":"https://api.github.com/users/bmaisonn/orgs","repos_url":"https://api.github.com/users/bmaisonn/repos","events_url":"https://api.github.com/users/bmaisonn/events{/privacy}","received_events_url":"https://api.github.com/users/bmaisonn/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T12:22:17Z","updated_at":"2018-07-11T12:22:17Z","author_association":"NONE","body":"Ok my bad, i was misled by the shades."}}
{"actor":{"display_login":"bmaisonn"}}