GitHub PullRequestEvent at 2014-12-22 15:22:43
Repository: lifelines
Actor: CamDavidsonPilon
Payload: {"action":"opened","number":120,"pull_request":{"url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/pulls/120","id":26462025,"html_url":"https://github.com/CamDavidsonPilon/lifelines/pull/120","diff_url":"https://github.com/CamDavidsonPilon/lifelines/pull/120.diff","patch_url":"https://github.com/CamDavidsonPilon/lifelines/pull/120.patch","issue_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/issues/120","number":120,"state":"open","locked":false,"title":"Optional event_col in AAF and CPH fitters","user":{"login":"CamDavidsonPilon","id":884032,"avatar_url":"https://avatars.githubusercontent.com/u/884032?v=3","gravatar_id":"","url":"https://api.github.com/users/CamDavidsonPilon","html_url":"https://github.com/CamDavidsonPilon","followers_url":"https://api.github.com/users/CamDavidsonPilon/followers","following_url":"https://api.github.com/users/CamDavidsonPilon/following{/other_user}","gists_url":"https://api.github.com/users/CamDavidsonPilon/gists{/gist_id}","starred_url":"https://api.github.com/users/CamDavidsonPilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CamDavidsonPilon/subscriptions","organizations_url":"https://api.github.com/users/CamDavidsonPilon/orgs","repos_url":"https://api.github.com/users/CamDavidsonPilon/repos","events_url":"https://api.github.com/users/CamDavidsonPilon/events{/privacy}","received_events_url":"https://api.github.com/users/CamDavidsonPilon/received_events","type":"User","site_admin":false},"body":"@spacecowboy, this PR adds the option for the `event_col` parameter (default None). If left as `None`, then we assume all non-censored (similar to the kmf fitter). \r\n\r\nAlso, `duration_col` is now a mandatory argument. ","created_at":"2014-12-22T15:22:43Z","updated_at":"2014-12-22T15:22:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/pulls/120/commits","review_comments_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/pulls/120/comments","review_comment_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/issues/120/comments","statuses_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/statuses/bf178681dc5136700ac581ba16aad360e29691af","head":{"label":"CamDavidsonPilon:optional-event-col","ref":"optional-event-col","sha":"bf178681dc5136700ac581ba16aad360e29691af","user":{"login":"CamDavidsonPilon","id":884032,"avatar_url":"https://avatars.githubusercontent.com/u/884032?v=3","gravatar_id":"","url":"https://api.github.com/users/CamDavidsonPilon","html_url":"https://github.com/CamDavidsonPilon","followers_url":"https://api.github.com/users/CamDavidsonPilon/followers","following_url":"https://api.github.com/users/CamDavidsonPilon/following{/other_user}","gists_url":"https://api.github.com/users/CamDavidsonPilon/gists{/gist_id}","starred_url":"https://api.github.com/users/CamDavidsonPilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CamDavidsonPilon/subscriptions","organizations_url":"https://api.github.com/users/CamDavidsonPilon/orgs","repos_url":"https://api.github.com/users/CamDavidsonPilon/repos","events_url":"https://api.github.com/users/CamDavidsonPilon/events{/privacy}","received_events_url":"https://api.github.com/users/CamDavidsonPilon/received_events","type":"User","site_admin":false},"repo":{"id":12420595,"name":"lifelines","full_name":"CamDavidsonPilon/lifelines","owner":{"login":"CamDavidsonPilon","id":884032,"avatar_url":"https://avatars.githubusercontent.com/u/884032?v=3","gravatar_id":"","url":"https://api.github.com/users/CamDavidsonPilon","html_url":"https://github.com/CamDavidsonPilon","followers_url":"https://api.github.com/users/CamDavidsonPilon/followers","following_url":"https://api.github.com/users/CamDavidsonPilon/following{/other_user}","gists_url":"https://api.github.com/users/CamDavidsonPilon/gists{/gist_id}","starred_url":"https://api.github.com/users/CamDavidsonPilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CamDavidsonPilon/subscriptions","organizations_url":"https://api.github.com/users/CamDavidsonPilon/orgs","repos_url":"https://api.github.com/users/CamDavidsonPilon/repos","events_url":"https://api.github.com/users/CamDavidsonPilon/events{/privacy}","received_events_url":"https://api.github.com/users/CamDavidsonPilon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CamDavidsonPilon/lifelines","description":"Survival analysis in Python","fork":false,"url":"https://api.github.com/repos/CamDavidsonPilon/lifelines","forks_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/forks","keys_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/teams","hooks_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/hooks","issue_events_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/issues/events{/number}","events_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/events","assignees_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/assignees{/user}","branches_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/branches{/branch}","tags_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/tags","blobs_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/git/refs{/sha}","trees_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/statuses/{sha}","languages_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/languages","stargazers_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/stargazers","contributors_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/contributors","subscribers_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/subscribers","subscription_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/subscription","commits_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/commits{/sha}","git_commits_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/git/commits{/sha}","comments_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/comments{/number}","issue_comment_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/issues/comments/{number}","contents_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/contents/{+path}","compare_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/merges","archive_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/downloads","issues_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/issues{/number}","pulls_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/pulls{/number}","milestones_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/milestones{/number}","notifications_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/labels{/name}","releases_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/releases{/id}","created_at":"2013-08-28T00:16:42Z","updated_at":"2014-12-22T10:09:50Z","pushed_at":"2014-12-22T15:21:23Z","git_url":"git://github.com/CamDavidsonPilon/lifelines.git","ssh_url":"git@github.com:CamDavidsonPilon/lifelines.git","clone_url":"https://github.com/CamDavidsonPilon/lifelines.git","svn_url":"https://github.com/CamDavidsonPilon/lifelines","homepage":"lifelines.readthedocs.org","size":9702,"stargazers_count":253,"watchers_count":253,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":19,"forks":56,"open_issues":19,"watchers":253,"default_branch":"master"}},"base":{"label":"CamDavidsonPilon:master","ref":"master","sha":"c075f8abdf28bb69c804cba582080243a118cc8d","user":{"login":"CamDavidsonPilon","id":884032,"avatar_url":"https://avatars.githubusercontent.com/u/884032?v=3","gravatar_id":"","url":"https://api.github.com/users/CamDavidsonPilon","html_url":"https://github.com/CamDavidsonPilon","followers_url":"https://api.github.com/users/CamDavidsonPilon/followers","following_url":"https://api.github.com/users/CamDavidsonPilon/following{/other_user}","gists_url":"https://api.github.com/users/CamDavidsonPilon/gists{/gist_id}","starred_url":"https://api.github.com/users/CamDavidsonPilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CamDavidsonPilon/subscriptions","organizations_url":"https://api.github.com/users/CamDavidsonPilon/orgs","repos_url":"https://api.github.com/users/CamDavidsonPilon/repos","events_url":"https://api.github.com/users/CamDavidsonPilon/events{/privacy}","received_events_url":"https://api.github.com/users/CamDavidsonPilon/received_events","type":"User","site_admin":false},"repo":{"id":12420595,"name":"lifelines","full_name":"CamDavidsonPilon/lifelines","owner":{"login":"CamDavidsonPilon","id":884032,"avatar_url":"https://avatars.githubusercontent.com/u/884032?v=3","gravatar_id":"","url":"https://api.github.com/users/CamDavidsonPilon","html_url":"https://github.com/CamDavidsonPilon","followers_url":"https://api.github.com/users/CamDavidsonPilon/followers","following_url":"https://api.github.com/users/CamDavidsonPilon/following{/other_user}","gists_url":"https://api.github.com/users/CamDavidsonPilon/gists{/gist_id}","starred_url":"https://api.github.com/users/CamDavidsonPilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CamDavidsonPilon/subscriptions","organizations_url":"https://api.github.com/users/CamDavidsonPilon/orgs","repos_url":"https://api.github.com/users/CamDavidsonPilon/repos","events_url":"https://api.github.com/users/CamDavidsonPilon/events{/privacy}","received_events_url":"https://api.github.com/users/CamDavidsonPilon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CamDavidsonPilon/lifelines","description":"Survival analysis in Python","fork":false,"url":"https://api.github.com/repos/CamDavidsonPilon/lifelines","forks_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/forks","keys_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/teams","hooks_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/hooks","issue_events_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/issues/events{/number}","events_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/events","assignees_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/assignees{/user}","branches_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/branches{/branch}","tags_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/tags","blobs_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/git/refs{/sha}","trees_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/statuses/{sha}","languages_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/languages","stargazers_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/stargazers","contributors_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/contributors","subscribers_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/subscribers","subscription_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/subscription","commits_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/commits{/sha}","git_commits_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/git/commits{/sha}","comments_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/comments{/number}","issue_comment_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/issues/comments/{number}","contents_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/contents/{+path}","compare_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/merges","archive_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/downloads","issues_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/issues{/number}","pulls_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/pulls{/number}","milestones_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/milestones{/number}","notifications_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/labels{/name}","releases_url":"https://api.github.com/repos/CamDavidsonPilon/lifelines/releases{/id}","created_at":"2013-08-28T00:16:42Z","updated_at":"2014-12-22T10:09:50Z","pushed_at":"2014-12-22T15:21:23Z","git_url":"git://github.com/CamDavidsonPilon/lifelines.git","ssh_url":"git@github.com:CamDavidsonPilon/lifelines.git","clone_url":"https://github.com/CamDavidsonPilon/lifelines.git","svn_url":"https://github.com/CamDavidsonPilon/lifelines","homepage":"lifelines.readthedocs.org","size":9702,"stargazers_count":253,"watchers_count":253,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":19,"forks":56,"open_issues":19,"watchers":253,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CamDavidsonPilon/lifelines/pulls/120"},"html":{"href":"https://github.com/CamDavidsonPilon/lifelines/pull/120"},"issue":{"href":"https://api.github.com/repos/CamDavidsonPilon/lifelines/issues/120"},"comments":{"href":"https://api.github.com/repos/CamDavidsonPilon/lifelines/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/CamDavidsonPilon/lifelines/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/CamDavidsonPilon/lifelines/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CamDavidsonPilon/lifelines/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/CamDavidsonPilon/lifelines/statuses/bf178681dc5136700ac581ba16aad360e29691af"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":64,"deletions":22,"changed_files":5}}