{"action":"opened","number":289,"pull_request":{"url":"https://api.github.com/repos/quantopian/pyfolio/pulls/289","id":64765127,"html_url":"https://github.com/quantopian/pyfolio/pull/289","diff_url":"https://github.com/quantopian/pyfolio/pull/289.diff","patch_url":"https://github.com/quantopian/pyfolio/pull/289.patch","issue_url":"https://api.github.com/repos/quantopian/pyfolio/issues/289","number":289,"state":"open","locked":false,"title":"Better table output","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":"Adds HTML pretty-printing of tables if run inside Jupyter NB. Also more elegant formatting than using round (which also solves https://github.com/quantopian/pyfolio/issues/288).\r\n\r\nExamples:\r\n![image](https://cloud.githubusercontent.com/assets/674200/14172658/687ac5e4-f739-11e5-88ce-378a3a132313.png)\r\n![image](https://cloud.githubusercontent.com/assets/674200/14172670/7262c2c8-f739-11e5-9814-7c47781927c7.png)\r\n![image](https://cloud.githubusercontent.com/assets/674200/14172673/7bb65b50-f739-11e5-8ff2-a65acd402c75.png)\r\n","created_at":"2016-03-31T10:10:12Z","updated_at":"2016-03-31T10:10:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/quantopian/pyfolio/pulls/289/commits","review_comments_url":"https://api.github.com/repos/quantopian/pyfolio/pulls/289/comments","review_comment_url":"https://api.github.com/repos/quantopian/pyfolio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quantopian/pyfolio/issues/289/comments","statuses_url":"https://api.github.com/repos/quantopian/pyfolio/statuses/8eddd3fad14d1c33e2147369e5ad20ab30a32fb6","head":{"label":"quantopian:pandas_round","ref":"pandas_round","sha":"8eddd3fad14d1c33e2147369e5ad20ab30a32fb6","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":36670205,"name":"pyfolio","full_name":"quantopian/pyfolio","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/pyfolio","description":"Portfolio and risk analytics in Python","fork":false,"url":"https://api.github.com/repos/quantopian/pyfolio","forks_url":"https://api.github.com/repos/quantopian/pyfolio/forks","keys_url":"https://api.github.com/repos/quantopian/pyfolio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quantopian/pyfolio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quantopian/pyfolio/teams","hooks_url":"https://api.github.com/repos/quantopian/pyfolio/hooks","issue_events_url":"https://api.github.com/repos/quantopian/pyfolio/issues/events{/number}","events_url":"https://api.github.com/repos/quantopian/pyfolio/events","assignees_url":"https://api.github.com/repos/quantopian/pyfolio/assignees{/user}","branches_url":"https://api.github.com/repos/quantopian/pyfolio/branches{/branch}","tags_url":"https://api.github.com/repos/quantopian/pyfolio/tags","blobs_url":"https://api.github.com/repos/quantopian/pyfolio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quantopian/pyfolio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quantopian/pyfolio/git/refs{/sha}","trees_url":"https://api.github.com/repos/quantopian/pyfolio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quantopian/pyfolio/statuses/{sha}","languages_url":"https://api.github.com/repos/quantopian/pyfolio/languages","stargazers_url":"https://api.github.com/repos/quantopian/pyfolio/stargazers","contributors_url":"https://api.github.com/repos/quantopian/pyfolio/contributors","subscribers_url":"https://api.github.com/repos/quantopian/pyfolio/subscribers","subscription_url":"https://api.github.com/repos/quantopian/pyfolio/subscription","commits_url":"https://api.github.com/repos/quantopian/pyfolio/commits{/sha}","git_commits_url":"https://api.github.com/repos/quantopian/pyfolio/git/commits{/sha}","comments_url":"https://api.github.com/repos/quantopian/pyfolio/comments{/number}","issue_comment_url":"https://api.github.com/repos/quantopian/pyfolio/issues/comments{/number}","contents_url":"https://api.github.com/repos/quantopian/pyfolio/contents/{+path}","compare_url":"https://api.github.com/repos/quantopian/pyfolio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quantopian/pyfolio/merges","archive_url":"https://api.github.com/repos/quantopian/pyfolio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quantopian/pyfolio/downloads","issues_url":"https://api.github.com/repos/quantopian/pyfolio/issues{/number}","pulls_url":"https://api.github.com/repos/quantopian/pyfolio/pulls{/number}","milestones_url":"https://api.github.com/repos/quantopian/pyfolio/milestones{/number}","notifications_url":"https://api.github.com/repos/quantopian/pyfolio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quantopian/pyfolio/labels{/name}","releases_url":"https://api.github.com/repos/quantopian/pyfolio/releases{/id}","deployments_url":"https://api.github.com/repos/quantopian/pyfolio/deployments","created_at":"2015-06-01T15:31:39Z","updated_at":"2016-03-31T04:06:25Z","pushed_at":"2016-03-31T10:10:13Z","git_url":"git://github.com/quantopian/pyfolio.git","ssh_url":"git@github.com:quantopian/pyfolio.git","clone_url":"https://github.com/quantopian/pyfolio.git","svn_url":"https://github.com/quantopian/pyfolio","homepage":"http://quantopian.github.io/pyfolio","size":62885,"stargazers_count":556,"watchers_count":556,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":133,"mirror_url":null,"open_issues_count":51,"forks":133,"open_issues":51,"watchers":556,"default_branch":"master"}},"base":{"label":"quantopian:master","ref":"master","sha":"ab89c06bc3b5c9eac864e2f7350618b25253dfaf","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":36670205,"name":"pyfolio","full_name":"quantopian/pyfolio","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/pyfolio","description":"Portfolio and risk analytics in Python","fork":false,"url":"https://api.github.com/repos/quantopian/pyfolio","forks_url":"https://api.github.com/repos/quantopian/pyfolio/forks","keys_url":"https://api.github.com/repos/quantopian/pyfolio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quantopian/pyfolio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quantopian/pyfolio/teams","hooks_url":"https://api.github.com/repos/quantopian/pyfolio/hooks","issue_events_url":"https://api.github.com/repos/quantopian/pyfolio/issues/events{/number}","events_url":"https://api.github.com/repos/quantopian/pyfolio/events","assignees_url":"https://api.github.com/repos/quantopian/pyfolio/assignees{/user}","branches_url":"https://api.github.com/repos/quantopian/pyfolio/branches{/branch}","tags_url":"https://api.github.com/repos/quantopian/pyfolio/tags","blobs_url":"https://api.github.com/repos/quantopian/pyfolio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quantopian/pyfolio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quantopian/pyfolio/git/refs{/sha}","trees_url":"https://api.github.com/repos/quantopian/pyfolio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quantopian/pyfolio/statuses/{sha}","languages_url":"https://api.github.com/repos/quantopian/pyfolio/languages","stargazers_url":"https://api.github.com/repos/quantopian/pyfolio/stargazers","contributors_url":"https://api.github.com/repos/quantopian/pyfolio/contributors","subscribers_url":"https://api.github.com/repos/quantopian/pyfolio/subscribers","subscription_url":"https://api.github.com/repos/quantopian/pyfolio/subscription","commits_url":"https://api.github.com/repos/quantopian/pyfolio/commits{/sha}","git_commits_url":"https://api.github.com/repos/quantopian/pyfolio/git/commits{/sha}","comments_url":"https://api.github.com/repos/quantopian/pyfolio/comments{/number}","issue_comment_url":"https://api.github.com/repos/quantopian/pyfolio/issues/comments{/number}","contents_url":"https://api.github.com/repos/quantopian/pyfolio/contents/{+path}","compare_url":"https://api.github.com/repos/quantopian/pyfolio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quantopian/pyfolio/merges","archive_url":"https://api.github.com/repos/quantopian/pyfolio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quantopian/pyfolio/downloads","issues_url":"https://api.github.com/repos/quantopian/pyfolio/issues{/number}","pulls_url":"https://api.github.com/repos/quantopian/pyfolio/pulls{/number}","milestones_url":"https://api.github.com/repos/quantopian/pyfolio/milestones{/number}","notifications_url":"https://api.github.com/repos/quantopian/pyfolio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quantopian/pyfolio/labels{/name}","releases_url":"https://api.github.com/repos/quantopian/pyfolio/releases{/id}","deployments_url":"https://api.github.com/repos/quantopian/pyfolio/deployments","created_at":"2015-06-01T15:31:39Z","updated_at":"2016-03-31T04:06:25Z","pushed_at":"2016-03-31T10:10:13Z","git_url":"git://github.com/quantopian/pyfolio.git","ssh_url":"git@github.com:quantopian/pyfolio.git","clone_url":"https://github.com/quantopian/pyfolio.git","svn_url":"https://github.com/quantopian/pyfolio","homepage":"http://quantopian.github.io/pyfolio","size":62885,"stargazers_count":556,"watchers_count":556,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":133,"mirror_url":null,"open_issues_count":51,"forks":133,"open_issues":51,"watchers":556,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quantopian/pyfolio/pulls/289"},"html":{"href":"https://github.com/quantopian/pyfolio/pull/289"},"issue":{"href":"https://api.github.com/repos/quantopian/pyfolio/issues/289"},"comments":{"href":"https://api.github.com/repos/quantopian/pyfolio/issues/289/comments"},"review_comments":{"href":"https://api.github.com/repos/quantopian/pyfolio/pulls/289/comments"},"review_comment":{"href":"https://api.github.com/repos/quantopian/pyfolio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quantopian/pyfolio/pulls/289/commits"},"statuses":{"href":"https://api.github.com/repos/quantopian/pyfolio/statuses/8eddd3fad14d1c33e2147369e5ad20ab30a32fb6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":997,"deletions":223,"changed_files":5}}