{"action":"closed","number":433,"pull_request":{"url":"https://api.github.com/repos/onyxfish/agate/pulls/433","id":56987125,"html_url":"https://github.com/onyxfish/agate/pull/433","diff_url":"https://github.com/onyxfish/agate/pull/433.diff","patch_url":"https://github.com/onyxfish/agate/pull/433.patch","issue_url":"https://api.github.com/repos/onyxfish/agate/issues/433","number":433,"state":"closed","locked":false,"title":"Implement grouping factor for TableSet.merge. Closes #406","user":{"login":"nbedi","id":2553386,"avatar_url":"https://avatars.githubusercontent.com/u/2553386?v=3","gravatar_id":"","url":"https://api.github.com/users/nbedi","html_url":"https://github.com/nbedi","followers_url":"https://api.github.com/users/nbedi/followers","following_url":"https://api.github.com/users/nbedi/following{/other_user}","gists_url":"https://api.github.com/users/nbedi/gists{/gist_id}","starred_url":"https://api.github.com/users/nbedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbedi/subscriptions","organizations_url":"https://api.github.com/users/nbedi/orgs","repos_url":"https://api.github.com/users/nbedi/repos","events_url":"https://api.github.com/users/nbedi/events{/privacy}","received_events_url":"https://api.github.com/users/nbedi/received_events","type":"User","site_admin":false},"body":"Here's my attempt at implementing this. I turned the already implemented grouping factor using Table names into the default functionality and allow users to specify values to overwrite that. Let me know if this is or isn't what you were looking for. Closes #406.","created_at":"2016-01-23T21:30:23Z","updated_at":"2016-01-27T02:31:21Z","closed_at":"2016-01-27T02:31:21Z","merged_at":"2016-01-27T02:31:21Z","merge_commit_sha":"78b229d6dc8e0b2190519db975f6fe23d9fc0e18","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/onyxfish/agate/pulls/433/commits","review_comments_url":"https://api.github.com/repos/onyxfish/agate/pulls/433/comments","review_comment_url":"https://api.github.com/repos/onyxfish/agate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/onyxfish/agate/issues/433/comments","statuses_url":"https://api.github.com/repos/onyxfish/agate/statuses/94f911fa1207970115138fef79e3c1969c6aac03","head":{"label":"nbedi:csvstack","ref":"csvstack","sha":"94f911fa1207970115138fef79e3c1969c6aac03","user":{"login":"nbedi","id":2553386,"avatar_url":"https://avatars.githubusercontent.com/u/2553386?v=3","gravatar_id":"","url":"https://api.github.com/users/nbedi","html_url":"https://github.com/nbedi","followers_url":"https://api.github.com/users/nbedi/followers","following_url":"https://api.github.com/users/nbedi/following{/other_user}","gists_url":"https://api.github.com/users/nbedi/gists{/gist_id}","starred_url":"https://api.github.com/users/nbedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbedi/subscriptions","organizations_url":"https://api.github.com/users/nbedi/orgs","repos_url":"https://api.github.com/users/nbedi/repos","events_url":"https://api.github.com/users/nbedi/events{/privacy}","received_events_url":"https://api.github.com/users/nbedi/received_events","type":"User","site_admin":false},"repo":{"id":45126821,"name":"agate","full_name":"nbedi/agate","owner":{"login":"nbedi","id":2553386,"avatar_url":"https://avatars.githubusercontent.com/u/2553386?v=3","gravatar_id":"","url":"https://api.github.com/users/nbedi","html_url":"https://github.com/nbedi","followers_url":"https://api.github.com/users/nbedi/followers","following_url":"https://api.github.com/users/nbedi/following{/other_user}","gists_url":"https://api.github.com/users/nbedi/gists{/gist_id}","starred_url":"https://api.github.com/users/nbedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbedi/subscriptions","organizations_url":"https://api.github.com/users/nbedi/orgs","repos_url":"https://api.github.com/users/nbedi/repos","events_url":"https://api.github.com/users/nbedi/events{/privacy}","received_events_url":"https://api.github.com/users/nbedi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nbedi/agate","description":"A Python data analysis library that is optimized for humans instead of machines.","fork":true,"url":"https://api.github.com/repos/nbedi/agate","forks_url":"https://api.github.com/repos/nbedi/agate/forks","keys_url":"https://api.github.com/repos/nbedi/agate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nbedi/agate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nbedi/agate/teams","hooks_url":"https://api.github.com/repos/nbedi/agate/hooks","issue_events_url":"https://api.github.com/repos/nbedi/agate/issues/events{/number}","events_url":"https://api.github.com/repos/nbedi/agate/events","assignees_url":"https://api.github.com/repos/nbedi/agate/assignees{/user}","branches_url":"https://api.github.com/repos/nbedi/agate/branches{/branch}","tags_url":"https://api.github.com/repos/nbedi/agate/tags","blobs_url":"https://api.github.com/repos/nbedi/agate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nbedi/agate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nbedi/agate/git/refs{/sha}","trees_url":"https://api.github.com/repos/nbedi/agate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nbedi/agate/statuses/{sha}","languages_url":"https://api.github.com/repos/nbedi/agate/languages","stargazers_url":"https://api.github.com/repos/nbedi/agate/stargazers","contributors_url":"https://api.github.com/repos/nbedi/agate/contributors","subscribers_url":"https://api.github.com/repos/nbedi/agate/subscribers","subscription_url":"https://api.github.com/repos/nbedi/agate/subscription","commits_url":"https://api.github.com/repos/nbedi/agate/commits{/sha}","git_commits_url":"https://api.github.com/repos/nbedi/agate/git/commits{/sha}","comments_url":"https://api.github.com/repos/nbedi/agate/comments{/number}","issue_comment_url":"https://api.github.com/repos/nbedi/agate/issues/comments{/number}","contents_url":"https://api.github.com/repos/nbedi/agate/contents/{+path}","compare_url":"https://api.github.com/repos/nbedi/agate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nbedi/agate/merges","archive_url":"https://api.github.com/repos/nbedi/agate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nbedi/agate/downloads","issues_url":"https://api.github.com/repos/nbedi/agate/issues{/number}","pulls_url":"https://api.github.com/repos/nbedi/agate/pulls{/number}","milestones_url":"https://api.github.com/repos/nbedi/agate/milestones{/number}","notifications_url":"https://api.github.com/repos/nbedi/agate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nbedi/agate/labels{/name}","releases_url":"https://api.github.com/repos/nbedi/agate/releases{/id}","deployments_url":"https://api.github.com/repos/nbedi/agate/deployments","created_at":"2015-10-28T16:37:47Z","updated_at":"2016-01-12T21:04:27Z","pushed_at":"2016-01-24T04:19:36Z","git_url":"git://github.com/nbedi/agate.git","ssh_url":"git@github.com:nbedi/agate.git","clone_url":"https://github.com/nbedi/agate.git","svn_url":"https://github.com/nbedi/agate","homepage":"http://agate.readthedocs.org/","size":1183,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"onyxfish:master","ref":"master","sha":"8022550ddc97b1fffbfa3e2b2c17998a68aaddb2","user":{"login":"onyxfish","id":33046,"avatar_url":"https://avatars.githubusercontent.com/u/33046?v=3","gravatar_id":"","url":"https://api.github.com/users/onyxfish","html_url":"https://github.com/onyxfish","followers_url":"https://api.github.com/users/onyxfish/followers","following_url":"https://api.github.com/users/onyxfish/following{/other_user}","gists_url":"https://api.github.com/users/onyxfish/gists{/gist_id}","starred_url":"https://api.github.com/users/onyxfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onyxfish/subscriptions","organizations_url":"https://api.github.com/users/onyxfish/orgs","repos_url":"https://api.github.com/users/onyxfish/repos","events_url":"https://api.github.com/users/onyxfish/events{/privacy}","received_events_url":"https://api.github.com/users/onyxfish/received_events","type":"User","site_admin":false},"repo":{"id":19147961,"name":"agate","full_name":"onyxfish/agate","owner":{"login":"onyxfish","id":33046,"avatar_url":"https://avatars.githubusercontent.com/u/33046?v=3","gravatar_id":"","url":"https://api.github.com/users/onyxfish","html_url":"https://github.com/onyxfish","followers_url":"https://api.github.com/users/onyxfish/followers","following_url":"https://api.github.com/users/onyxfish/following{/other_user}","gists_url":"https://api.github.com/users/onyxfish/gists{/gist_id}","starred_url":"https://api.github.com/users/onyxfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onyxfish/subscriptions","organizations_url":"https://api.github.com/users/onyxfish/orgs","repos_url":"https://api.github.com/users/onyxfish/repos","events_url":"https://api.github.com/users/onyxfish/events{/privacy}","received_events_url":"https://api.github.com/users/onyxfish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/onyxfish/agate","description":"A Python data analysis library that is optimized for humans instead of machines.","fork":false,"url":"https://api.github.com/repos/onyxfish/agate","forks_url":"https://api.github.com/repos/onyxfish/agate/forks","keys_url":"https://api.github.com/repos/onyxfish/agate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onyxfish/agate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onyxfish/agate/teams","hooks_url":"https://api.github.com/repos/onyxfish/agate/hooks","issue_events_url":"https://api.github.com/repos/onyxfish/agate/issues/events{/number}","events_url":"https://api.github.com/repos/onyxfish/agate/events","assignees_url":"https://api.github.com/repos/onyxfish/agate/assignees{/user}","branches_url":"https://api.github.com/repos/onyxfish/agate/branches{/branch}","tags_url":"https://api.github.com/repos/onyxfish/agate/tags","blobs_url":"https://api.github.com/repos/onyxfish/agate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onyxfish/agate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onyxfish/agate/git/refs{/sha}","trees_url":"https://api.github.com/repos/onyxfish/agate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onyxfish/agate/statuses/{sha}","languages_url":"https://api.github.com/repos/onyxfish/agate/languages","stargazers_url":"https://api.github.com/repos/onyxfish/agate/stargazers","contributors_url":"https://api.github.com/repos/onyxfish/agate/contributors","subscribers_url":"https://api.github.com/repos/onyxfish/agate/subscribers","subscription_url":"https://api.github.com/repos/onyxfish/agate/subscription","commits_url":"https://api.github.com/repos/onyxfish/agate/commits{/sha}","git_commits_url":"https://api.github.com/repos/onyxfish/agate/git/commits{/sha}","comments_url":"https://api.github.com/repos/onyxfish/agate/comments{/number}","issue_comment_url":"https://api.github.com/repos/onyxfish/agate/issues/comments{/number}","contents_url":"https://api.github.com/repos/onyxfish/agate/contents/{+path}","compare_url":"https://api.github.com/repos/onyxfish/agate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onyxfish/agate/merges","archive_url":"https://api.github.com/repos/onyxfish/agate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onyxfish/agate/downloads","issues_url":"https://api.github.com/repos/onyxfish/agate/issues{/number}","pulls_url":"https://api.github.com/repos/onyxfish/agate/pulls{/number}","milestones_url":"https://api.github.com/repos/onyxfish/agate/milestones{/number}","notifications_url":"https://api.github.com/repos/onyxfish/agate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onyxfish/agate/labels{/name}","releases_url":"https://api.github.com/repos/onyxfish/agate/releases{/id}","deployments_url":"https://api.github.com/repos/onyxfish/agate/deployments","created_at":"2014-04-25T13:59:09Z","updated_at":"2016-01-25T20:24:26Z","pushed_at":"2016-01-27T02:31:20Z","git_url":"git://github.com/onyxfish/agate.git","ssh_url":"git@github.com:onyxfish/agate.git","clone_url":"https://github.com/onyxfish/agate.git","svn_url":"https://github.com/onyxfish/agate","homepage":"http://agate.readthedocs.org/","size":1169,"stargazers_count":469,"watchers_count":469,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":36,"forks":56,"open_issues":36,"watchers":469,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/onyxfish/agate/pulls/433"},"html":{"href":"https://github.com/onyxfish/agate/pull/433"},"issue":{"href":"https://api.github.com/repos/onyxfish/agate/issues/433"},"comments":{"href":"https://api.github.com/repos/onyxfish/agate/issues/433/comments"},"review_comments":{"href":"https://api.github.com/repos/onyxfish/agate/pulls/433/comments"},"review_comment":{"href":"https://api.github.com/repos/onyxfish/agate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/onyxfish/agate/pulls/433/commits"},"statuses":{"href":"https://api.github.com/repos/onyxfish/agate/statuses/94f911fa1207970115138fef79e3c1969c6aac03"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nbedi","id":2553386,"avatar_url":"https://avatars.githubusercontent.com/u/2553386?v=3","gravatar_id":"","url":"https://api.github.com/users/nbedi","html_url":"https://github.com/nbedi","followers_url":"https://api.github.com/users/nbedi/followers","following_url":"https://api.github.com/users/nbedi/following{/other_user}","gists_url":"https://api.github.com/users/nbedi/gists{/gist_id}","starred_url":"https://api.github.com/users/nbedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbedi/subscriptions","organizations_url":"https://api.github.com/users/nbedi/orgs","repos_url":"https://api.github.com/users/nbedi/repos","events_url":"https://api.github.com/users/nbedi/events{/privacy}","received_events_url":"https://api.github.com/users/nbedi/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":49,"deletions":5,"changed_files":2}}