{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/comments/155175623","pull_request_review_id":81445920,"id":155175623,"diff_hunk":"@@ -319,6 +319,27 @@ module TestDataFrame\n     df4[1,:Mass] = missing\n     @test df2 ≅ df4\n \n+    # test empty set of grouping variables\n+    @testthrows ArgumentError unstack(df, Int[], :Key, :Value)","path":"test/dataframe.jl","position":5,"original_position":5,"commit_id":"64aaef6c88038163285f1f18d3764beb5fe17317","original_commit_id":"64aaef6c88038163285f1f18d3764beb5fe17317","user":{"login":"nalimilan","id":1120448,"avatar_url":"https://avatars3.githubusercontent.com/u/1120448?v=4","gravatar_id":"","url":"https://api.github.com/users/nalimilan","html_url":"https://github.com/nalimilan","followers_url":"https://api.github.com/users/nalimilan/followers","following_url":"https://api.github.com/users/nalimilan/following{/other_user}","gists_url":"https://api.github.com/users/nalimilan/gists{/gist_id}","starred_url":"https://api.github.com/users/nalimilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalimilan/subscriptions","organizations_url":"https://api.github.com/users/nalimilan/orgs","repos_url":"https://api.github.com/users/nalimilan/repos","events_url":"https://api.github.com/users/nalimilan/events{/privacy}","received_events_url":"https://api.github.com/users/nalimilan/received_events","type":"User","site_admin":false},"body":"`@test_throws`. ","created_at":"2017-12-06T08:54:29Z","updated_at":"2017-12-06T08:54:42Z","html_url":"https://github.com/JuliaData/DataFrames.jl/pull/1309#discussion_r155175623","pull_request_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/1309","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/comments/155175623"},"html":{"href":"https://github.com/JuliaData/DataFrames.jl/pull/1309#discussion_r155175623"},"pull_request":{"href":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/1309"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/1309","id":156591780,"html_url":"https://github.com/JuliaData/DataFrames.jl/pull/1309","diff_url":"https://github.com/JuliaData/DataFrames.jl/pull/1309.diff","patch_url":"https://github.com/JuliaData/DataFrames.jl/pull/1309.patch","issue_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1309","number":1309,"state":"open","locked":false,"title":"Refactor unstack","user":{"login":"bkamins","id":6187170,"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},"body":"Changes:\r\n1) allow multiple columns in rowkeys\r\n2) remove incorrect and slower implementation for single column in rowkey","created_at":"2017-12-05T22:29:00Z","updated_at":"2017-12-06T08:54:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80f47b8722e7f57e12ede7afd1ee4087b600ed1d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/1309/commits","review_comments_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/1309/comments","review_comment_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1309/comments","statuses_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/statuses/64aaef6c88038163285f1f18d3764beb5fe17317","head":{"label":"bkamins:improve_unstack","ref":"improve_unstack","sha":"64aaef6c88038163285f1f18d3764beb5fe17317","user":{"login":"bkamins","id":6187170,"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},"repo":{"id":112845765,"name":"DataFrames.jl","full_name":"bkamins/DataFrames.jl","owner":{"login":"bkamins","id":6187170,"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},"private":false,"html_url":"https://github.com/bkamins/DataFrames.jl","description":"Library for working with tabular data in Julia","fork":true,"url":"https://api.github.com/repos/bkamins/DataFrames.jl","forks_url":"https://api.github.com/repos/bkamins/DataFrames.jl/forks","keys_url":"https://api.github.com/repos/bkamins/DataFrames.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bkamins/DataFrames.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bkamins/DataFrames.jl/teams","hooks_url":"https://api.github.com/repos/bkamins/DataFrames.jl/hooks","issue_events_url":"https://api.github.com/repos/bkamins/DataFrames.jl/issues/events{/number}","events_url":"https://api.github.com/repos/bkamins/DataFrames.jl/events","assignees_url":"https://api.github.com/repos/bkamins/DataFrames.jl/assignees{/user}","branches_url":"https://api.github.com/repos/bkamins/DataFrames.jl/branches{/branch}","tags_url":"https://api.github.com/repos/bkamins/DataFrames.jl/tags","blobs_url":"https://api.github.com/repos/bkamins/DataFrames.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bkamins/DataFrames.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bkamins/DataFrames.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/bkamins/DataFrames.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bkamins/DataFrames.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/bkamins/DataFrames.jl/languages","stargazers_url":"https://api.github.com/repos/bkamins/DataFrames.jl/stargazers","contributors_url":"https://api.github.com/repos/bkamins/DataFrames.jl/contributors","subscribers_url":"https://api.github.com/repos/bkamins/DataFrames.jl/subscribers","subscription_url":"https://api.github.com/repos/bkamins/DataFrames.jl/subscription","commits_url":"https://api.github.com/repos/bkamins/DataFrames.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/bkamins/DataFrames.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/bkamins/DataFrames.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/bkamins/DataFrames.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/bkamins/DataFrames.jl/contents/{+path}","compare_url":"https://api.github.com/repos/bkamins/DataFrames.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bkamins/DataFrames.jl/merges","archive_url":"https://api.github.com/repos/bkamins/DataFrames.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bkamins/DataFrames.jl/downloads","issues_url":"https://api.github.com/repos/bkamins/DataFrames.jl/issues{/number}","pulls_url":"https://api.github.com/repos/bkamins/DataFrames.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/bkamins/DataFrames.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/bkamins/DataFrames.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bkamins/DataFrames.jl/labels{/name}","releases_url":"https://api.github.com/repos/bkamins/DataFrames.jl/releases{/id}","deployments_url":"https://api.github.com/repos/bkamins/DataFrames.jl/deployments","created_at":"2017-12-02T13:50:44Z","updated_at":"2017-12-02T13:50:46Z","pushed_at":"2017-12-05T22:37:31Z","git_url":"git://github.com/bkamins/DataFrames.jl.git","ssh_url":"git@github.com:bkamins/DataFrames.jl.git","clone_url":"https://github.com/bkamins/DataFrames.jl.git","svn_url":"https://github.com/bkamins/DataFrames.jl","homepage":"","size":9044,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JuliaData:master","ref":"master","sha":"20ab5c540a0f2a67e7164b835f7885715f593fdb","user":{"login":"JuliaData","id":20142970,"avatar_url":"https://avatars3.githubusercontent.com/u/20142970?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaData","html_url":"https://github.com/JuliaData","followers_url":"https://api.github.com/users/JuliaData/followers","following_url":"https://api.github.com/users/JuliaData/following{/other_user}","gists_url":"https://api.github.com/users/JuliaData/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaData/subscriptions","organizations_url":"https://api.github.com/users/JuliaData/orgs","repos_url":"https://api.github.com/users/JuliaData/repos","events_url":"https://api.github.com/users/JuliaData/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaData/received_events","type":"Organization","site_admin":false},"repo":{"id":4992873,"name":"DataFrames.jl","full_name":"JuliaData/DataFrames.jl","owner":{"login":"JuliaData","id":20142970,"avatar_url":"https://avatars3.githubusercontent.com/u/20142970?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaData","html_url":"https://github.com/JuliaData","followers_url":"https://api.github.com/users/JuliaData/followers","following_url":"https://api.github.com/users/JuliaData/following{/other_user}","gists_url":"https://api.github.com/users/JuliaData/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaData/subscriptions","organizations_url":"https://api.github.com/users/JuliaData/orgs","repos_url":"https://api.github.com/users/JuliaData/repos","events_url":"https://api.github.com/users/JuliaData/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaData/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaData/DataFrames.jl","description":"Library for working with tabular data in Julia","fork":false,"url":"https://api.github.com/repos/JuliaData/DataFrames.jl","forks_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/forks","keys_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/teams","hooks_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/events","assignees_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/tags","blobs_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/subscription","commits_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/merges","archive_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/downloads","issues_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaData/DataFrames.jl/deployments","created_at":"2012-07-11T18:00:09Z","updated_at":"2017-12-04T06:53:23Z","pushed_at":"2017-12-05T22:37:32Z","git_url":"git://github.com/JuliaData/DataFrames.jl.git","ssh_url":"git@github.com:JuliaData/DataFrames.jl.git","clone_url":"https://github.com/JuliaData/DataFrames.jl.git","svn_url":"https://github.com/JuliaData/DataFrames.jl","homepage":"","size":9053,"stargazers_count":420,"watchers_count":420,"language":"Julia","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":189,"mirror_url":null,"archived":false,"open_issues_count":70,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":189,"open_issues":70,"watchers":420,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/1309"},"html":{"href":"https://github.com/JuliaData/DataFrames.jl/pull/1309"},"issue":{"href":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1309"},"comments":{"href":"https://api.github.com/repos/JuliaData/DataFrames.jl/issues/1309/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/1309/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaData/DataFrames.jl/pulls/1309/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaData/DataFrames.jl/statuses/64aaef6c88038163285f1f18d3764beb5fe17317"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"nalimilan"}}