{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1438","repository_url":"https://api.github.com/repos/JuliaData/DataFrames.jl","labels_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1438/labels{/name}","comments_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1438/comments","events_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1438/events","html_url":"https://github.com/JuliaData/DataFrames.jl/issues/1438","id":337586796,"node_id":"MDU6SXNzdWUzMzc1ODY3OTY=","number":1438,"title":"Ungrouping","user":{"login":"bogiebro","id":61420,"node_id":"MDQ6VXNlcjYxNDIw","avatar_url":"https://avatars2.githubusercontent.com/u/61420?v=4","gravatar_id":"","url":"https://api.github.com/users/bogiebro","html_url":"https://github.com/bogiebro","followers_url":"https://api.github.com/users/bogiebro/followers","following_url":"https://api.github.com/users/bogiebro/following{/other_user}","gists_url":"https://api.github.com/users/bogiebro/gists{/gist_id}","starred_url":"https://api.github.com/users/bogiebro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogiebro/subscriptions","organizations_url":"https://api.github.com/users/bogiebro/orgs","repos_url":"https://api.github.com/users/bogiebro/repos","events_url":"https://api.github.com/users/bogiebro/events{/privacy}","received_events_url":"https://api.github.com/users/bogiebro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-02T16:33:28Z","updated_at":"2018-12-14T09:40:41Z","closed_at":null,"author_association":"NONE","body":"It seems that DataFrames is currently lacking a mechanism to ungroup a DataFrame once it has been grouped. This is useful because the current overload of `getindex` for `GroupedDataFrame`s allows one to filter out undesired groups. The `combine` function only works after application, and isn't particularly efficient for this use case. I'm thinking something along the following lines:\r\n\r\n```\r\nungroup(g) = view(g.parent, g.idx[collect(Iterators.flatten(s:e for (s,e) in zip(g.starts, g.ends)))])\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/comments/447270581","html_url":"https://github.com/JuliaData/DataFrames.jl/issues/1438#issuecomment-447270581","issue_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1438","id":447270581,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzI3MDU4MQ==","user":{"login":"bkamins","id":6187170,"node_id":"MDQ6VXNlcjYxODcxNzA=","avatar_url":"https://avatars3.githubusercontent.com/u/6187170?v=4","gravatar_id":"","url":"https://api.github.com/users/bkamins","html_url":"https://github.com/bkamins","followers_url":"https://api.github.com/users/bkamins/followers","following_url":"https://api.github.com/users/bkamins/following{/other_user}","gists_url":"https://api.github.com/users/bkamins/gists{/gist_id}","starred_url":"https://api.github.com/users/bkamins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkamins/subscriptions","organizations_url":"https://api.github.com/users/bkamins/orgs","repos_url":"https://api.github.com/users/bkamins/repos","events_url":"https://api.github.com/users/bkamins/events{/privacy}","received_events_url":"https://api.github.com/users/bkamins/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T09:40:41Z","updated_at":"2018-12-14T09:40:41Z","author_association":"MEMBER","body":"Can we close this given now `combine` does what was requested?"}}
{"actor":{"display_login":"bkamins"}}