{"action":"created","comment":{"url":"https://api.github.com/repos/quantopian/alphalens/pulls/comments/93606634","pull_request_review_id":14137319,"id":93606634,"diff_hunk":"@@ -126,6 +127,9 @@ def summary_stats(ic_data,\n         Period wise difference in quantile returns.\n     \"\"\"\n \n+    quantile_stats = pd.concat([factor, quantized_factor], axis=1)\\","path":"alphalens/plotting.py","position":14,"original_position":14,"commit_id":"013aa8d144e891d16bcf3eed04b1d0b168e8d93c","original_commit_id":"013aa8d144e891d16bcf3eed04b1d0b168e8d93c","user":{"login":"twiecki","id":674200,"avatar_url":"https://avatars.githubusercontent.com/u/674200?v=3","gravatar_id":"","url":"https://api.github.com/users/twiecki","html_url":"https://github.com/twiecki","followers_url":"https://api.github.com/users/twiecki/followers","following_url":"https://api.github.com/users/twiecki/following{/other_user}","gists_url":"https://api.github.com/users/twiecki/gists{/gist_id}","starred_url":"https://api.github.com/users/twiecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twiecki/subscriptions","organizations_url":"https://api.github.com/users/twiecki/orgs","repos_url":"https://api.github.com/users/twiecki/repos","events_url":"https://api.github.com/users/twiecki/events{/privacy}","received_events_url":"https://api.github.com/users/twiecki/received_events","type":"User","site_admin":false},"body":"Can be reformatted to:\r\n```\r\nquantile_stats = (pd.concat(...)\r\n                           .groupby()\r\n                           .agg())\r\n```\r\n(note the missing `\\` and the parantheses).","created_at":"2016-12-22T11:20:36Z","updated_at":"2016-12-22T11:20:36Z","html_url":"https://github.com/quantopian/alphalens/pull/113#discussion_r93606634","pull_request_url":"https://api.github.com/repos/quantopian/alphalens/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/quantopian/alphalens/pulls/comments/93606634"},"html":{"href":"https://github.com/quantopian/alphalens/pull/113#discussion_r93606634"},"pull_request":{"href":"https://api.github.com/repos/quantopian/alphalens/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/quantopian/alphalens/pulls/113","id":97982209,"html_url":"https://github.com/quantopian/alphalens/pull/113","diff_url":"https://github.com/quantopian/alphalens/pull/113.diff","patch_url":"https://github.com/quantopian/alphalens/pull/113.patch","issue_url":"https://api.github.com/repos/quantopian/alphalens/issues/113","number":113,"state":"open","locked":false,"title":"ENH: quantile vs equal interval bins","user":{"login":"luca-s","id":15273575,"avatar_url":"https://avatars.githubusercontent.com/u/15273575?v=3","gravatar_id":"","url":"https://api.github.com/users/luca-s","html_url":"https://github.com/luca-s","followers_url":"https://api.github.com/users/luca-s/followers","following_url":"https://api.github.com/users/luca-s/following{/other_user}","gists_url":"https://api.github.com/users/luca-s/gists{/gist_id}","starred_url":"https://api.github.com/users/luca-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luca-s/subscriptions","organizations_url":"https://api.github.com/users/luca-s/orgs","repos_url":"https://api.github.com/users/luca-s/repos","events_url":"https://api.github.com/users/luca-s/events{/privacy}","received_events_url":"https://api.github.com/users/luca-s/received_events","type":"User","site_admin":false},"body":"issue #105\r\n\r\nSummary:\r\n- Added tear sheet option to choose between bins or quantiles\r\n- Added support for non uniform bins or quantiles\r\n- Print quantiles/bins statistics\r\n\r\n![screenshot from 2016-12-14 17-02-32](https://cloud.githubusercontent.com/assets/15273575/21189596/80995c88-c21f-11e6-98c0-05333a94c6e7.png)\r\n\r\n\r\n\r\n\r\n","created_at":"2016-12-14T16:06:45Z","updated_at":"2016-12-22T11:20:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b762d5a2daca5af9e6154293a805f8bff2c1777","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/quantopian/alphalens/pulls/113/commits","review_comments_url":"https://api.github.com/repos/quantopian/alphalens/pulls/113/comments","review_comment_url":"https://api.github.com/repos/quantopian/alphalens/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quantopian/alphalens/issues/113/comments","statuses_url":"https://api.github.com/repos/quantopian/alphalens/statuses/013aa8d144e891d16bcf3eed04b1d0b168e8d93c","head":{"label":"luca-s:issue_105","ref":"issue_105","sha":"013aa8d144e891d16bcf3eed04b1d0b168e8d93c","user":{"login":"luca-s","id":15273575,"avatar_url":"https://avatars.githubusercontent.com/u/15273575?v=3","gravatar_id":"","url":"https://api.github.com/users/luca-s","html_url":"https://github.com/luca-s","followers_url":"https://api.github.com/users/luca-s/followers","following_url":"https://api.github.com/users/luca-s/following{/other_user}","gists_url":"https://api.github.com/users/luca-s/gists{/gist_id}","starred_url":"https://api.github.com/users/luca-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luca-s/subscriptions","organizations_url":"https://api.github.com/users/luca-s/orgs","repos_url":"https://api.github.com/users/luca-s/repos","events_url":"https://api.github.com/users/luca-s/events{/privacy}","received_events_url":"https://api.github.com/users/luca-s/received_events","type":"User","site_admin":false},"repo":{"id":64215580,"name":"alphalens","full_name":"luca-s/alphalens","owner":{"login":"luca-s","id":15273575,"avatar_url":"https://avatars.githubusercontent.com/u/15273575?v=3","gravatar_id":"","url":"https://api.github.com/users/luca-s","html_url":"https://github.com/luca-s","followers_url":"https://api.github.com/users/luca-s/followers","following_url":"https://api.github.com/users/luca-s/following{/other_user}","gists_url":"https://api.github.com/users/luca-s/gists{/gist_id}","starred_url":"https://api.github.com/users/luca-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luca-s/subscriptions","organizations_url":"https://api.github.com/users/luca-s/orgs","repos_url":"https://api.github.com/users/luca-s/repos","events_url":"https://api.github.com/users/luca-s/events{/privacy}","received_events_url":"https://api.github.com/users/luca-s/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luca-s/alphalens","description":"Performance analysis of predictive (alpha) stock factors","fork":true,"url":"https://api.github.com/repos/luca-s/alphalens","forks_url":"https://api.github.com/repos/luca-s/alphalens/forks","keys_url":"https://api.github.com/repos/luca-s/alphalens/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luca-s/alphalens/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luca-s/alphalens/teams","hooks_url":"https://api.github.com/repos/luca-s/alphalens/hooks","issue_events_url":"https://api.github.com/repos/luca-s/alphalens/issues/events{/number}","events_url":"https://api.github.com/repos/luca-s/alphalens/events","assignees_url":"https://api.github.com/repos/luca-s/alphalens/assignees{/user}","branches_url":"https://api.github.com/repos/luca-s/alphalens/branches{/branch}","tags_url":"https://api.github.com/repos/luca-s/alphalens/tags","blobs_url":"https://api.github.com/repos/luca-s/alphalens/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luca-s/alphalens/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luca-s/alphalens/git/refs{/sha}","trees_url":"https://api.github.com/repos/luca-s/alphalens/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luca-s/alphalens/statuses/{sha}","languages_url":"https://api.github.com/repos/luca-s/alphalens/languages","stargazers_url":"https://api.github.com/repos/luca-s/alphalens/stargazers","contributors_url":"https://api.github.com/repos/luca-s/alphalens/contributors","subscribers_url":"https://api.github.com/repos/luca-s/alphalens/subscribers","subscription_url":"https://api.github.com/repos/luca-s/alphalens/subscription","commits_url":"https://api.github.com/repos/luca-s/alphalens/commits{/sha}","git_commits_url":"https://api.github.com/repos/luca-s/alphalens/git/commits{/sha}","comments_url":"https://api.github.com/repos/luca-s/alphalens/comments{/number}","issue_comment_url":"https://api.github.com/repos/luca-s/alphalens/issues/comments{/number}","contents_url":"https://api.github.com/repos/luca-s/alphalens/contents/{+path}","compare_url":"https://api.github.com/repos/luca-s/alphalens/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luca-s/alphalens/merges","archive_url":"https://api.github.com/repos/luca-s/alphalens/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luca-s/alphalens/downloads","issues_url":"https://api.github.com/repos/luca-s/alphalens/issues{/number}","pulls_url":"https://api.github.com/repos/luca-s/alphalens/pulls{/number}","milestones_url":"https://api.github.com/repos/luca-s/alphalens/milestones{/number}","notifications_url":"https://api.github.com/repos/luca-s/alphalens/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luca-s/alphalens/labels{/name}","releases_url":"https://api.github.com/repos/luca-s/alphalens/releases{/id}","deployments_url":"https://api.github.com/repos/luca-s/alphalens/deployments","created_at":"2016-07-26T11:21:19Z","updated_at":"2016-11-10T15:23:27Z","pushed_at":"2016-12-20T09:22:09Z","git_url":"git://github.com/luca-s/alphalens.git","ssh_url":"git@github.com:luca-s/alphalens.git","clone_url":"https://github.com/luca-s/alphalens.git","svn_url":"https://github.com/luca-s/alphalens","homepage":"http://quantopian.github.io/alphalens","size":30939,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"quantopian:master","ref":"master","sha":"67ad8e7cc4c12130e3be3d796c410c5d2adc0abf","user":{"login":"quantopian","id":1393215,"avatar_url":"https://avatars.githubusercontent.com/u/1393215?v=3","gravatar_id":"","url":"https://api.github.com/users/quantopian","html_url":"https://github.com/quantopian","followers_url":"https://api.github.com/users/quantopian/followers","following_url":"https://api.github.com/users/quantopian/following{/other_user}","gists_url":"https://api.github.com/users/quantopian/gists{/gist_id}","starred_url":"https://api.github.com/users/quantopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantopian/subscriptions","organizations_url":"https://api.github.com/users/quantopian/orgs","repos_url":"https://api.github.com/users/quantopian/repos","events_url":"https://api.github.com/users/quantopian/events{/privacy}","received_events_url":"https://api.github.com/users/quantopian/received_events","type":"Organization","site_admin":false},"repo":{"id":60379729,"name":"alphalens","full_name":"quantopian/alphalens","owner":{"login":"quantopian","id":1393215,"avatar_url":"https://avatars.githubusercontent.com/u/1393215?v=3","gravatar_id":"","url":"https://api.github.com/users/quantopian","html_url":"https://github.com/quantopian","followers_url":"https://api.github.com/users/quantopian/followers","following_url":"https://api.github.com/users/quantopian/following{/other_user}","gists_url":"https://api.github.com/users/quantopian/gists{/gist_id}","starred_url":"https://api.github.com/users/quantopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantopian/subscriptions","organizations_url":"https://api.github.com/users/quantopian/orgs","repos_url":"https://api.github.com/users/quantopian/repos","events_url":"https://api.github.com/users/quantopian/events{/privacy}","received_events_url":"https://api.github.com/users/quantopian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/quantopian/alphalens","description":"Performance analysis of predictive (alpha) stock factors","fork":false,"url":"https://api.github.com/repos/quantopian/alphalens","forks_url":"https://api.github.com/repos/quantopian/alphalens/forks","keys_url":"https://api.github.com/repos/quantopian/alphalens/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quantopian/alphalens/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quantopian/alphalens/teams","hooks_url":"https://api.github.com/repos/quantopian/alphalens/hooks","issue_events_url":"https://api.github.com/repos/quantopian/alphalens/issues/events{/number}","events_url":"https://api.github.com/repos/quantopian/alphalens/events","assignees_url":"https://api.github.com/repos/quantopian/alphalens/assignees{/user}","branches_url":"https://api.github.com/repos/quantopian/alphalens/branches{/branch}","tags_url":"https://api.github.com/repos/quantopian/alphalens/tags","blobs_url":"https://api.github.com/repos/quantopian/alphalens/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quantopian/alphalens/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quantopian/alphalens/git/refs{/sha}","trees_url":"https://api.github.com/repos/quantopian/alphalens/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quantopian/alphalens/statuses/{sha}","languages_url":"https://api.github.com/repos/quantopian/alphalens/languages","stargazers_url":"https://api.github.com/repos/quantopian/alphalens/stargazers","contributors_url":"https://api.github.com/repos/quantopian/alphalens/contributors","subscribers_url":"https://api.github.com/repos/quantopian/alphalens/subscribers","subscription_url":"https://api.github.com/repos/quantopian/alphalens/subscription","commits_url":"https://api.github.com/repos/quantopian/alphalens/commits{/sha}","git_commits_url":"https://api.github.com/repos/quantopian/alphalens/git/commits{/sha}","comments_url":"https://api.github.com/repos/quantopian/alphalens/comments{/number}","issue_comment_url":"https://api.github.com/repos/quantopian/alphalens/issues/comments{/number}","contents_url":"https://api.github.com/repos/quantopian/alphalens/contents/{+path}","compare_url":"https://api.github.com/repos/quantopian/alphalens/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quantopian/alphalens/merges","archive_url":"https://api.github.com/repos/quantopian/alphalens/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quantopian/alphalens/downloads","issues_url":"https://api.github.com/repos/quantopian/alphalens/issues{/number}","pulls_url":"https://api.github.com/repos/quantopian/alphalens/pulls{/number}","milestones_url":"https://api.github.com/repos/quantopian/alphalens/milestones{/number}","notifications_url":"https://api.github.com/repos/quantopian/alphalens/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quantopian/alphalens/labels{/name}","releases_url":"https://api.github.com/repos/quantopian/alphalens/releases{/id}","deployments_url":"https://api.github.com/repos/quantopian/alphalens/deployments","created_at":"2016-06-03T21:49:15Z","updated_at":"2016-12-22T00:32:37Z","pushed_at":"2016-12-19T10:44:14Z","git_url":"git://github.com/quantopian/alphalens.git","ssh_url":"git@github.com:quantopian/alphalens.git","clone_url":"https://github.com/quantopian/alphalens.git","svn_url":"https://github.com/quantopian/alphalens","homepage":"http://quantopian.github.io/alphalens","size":43527,"stargazers_count":88,"watchers_count":88,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":36,"mirror_url":null,"open_issues_count":17,"forks":36,"open_issues":17,"watchers":88,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quantopian/alphalens/pulls/113"},"html":{"href":"https://github.com/quantopian/alphalens/pull/113"},"issue":{"href":"https://api.github.com/repos/quantopian/alphalens/issues/113"},"comments":{"href":"https://api.github.com/repos/quantopian/alphalens/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/quantopian/alphalens/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/quantopian/alphalens/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quantopian/alphalens/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/quantopian/alphalens/statuses/013aa8d144e891d16bcf3eed04b1d0b168e8d93c"}}}}
{"actor":{"display_login":"twiecki"}}