{"action":"opened","number":331,"pull_request":{"url":"https://api.github.com/repos/alimanfoo/petl/pulls/331","id":33814387,"html_url":"https://github.com/alimanfoo/petl/pull/331","diff_url":"https://github.com/alimanfoo/petl/pull/331.diff","patch_url":"https://github.com/alimanfoo/petl/pull/331.patch","issue_url":"https://api.github.com/repos/alimanfoo/petl/issues/331","number":331,"state":"open","locked":false,"title":"Boolean interpretation of values in select() -> Fix #330","user":{"login":"thatneat","id":3341011,"avatar_url":"https://avatars.githubusercontent.com/u/3341011?v=3","gravatar_id":"","url":"https://api.github.com/users/thatneat","html_url":"https://github.com/thatneat","followers_url":"https://api.github.com/users/thatneat/followers","following_url":"https://api.github.com/users/thatneat/following{/other_user}","gists_url":"https://api.github.com/users/thatneat/gists{/gist_id}","starred_url":"https://api.github.com/users/thatneat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatneat/subscriptions","organizations_url":"https://api.github.com/users/thatneat/orgs","repos_url":"https://api.github.com/users/thatneat/repos","events_url":"https://api.github.com/users/thatneat/events{/privacy}","received_events_url":"https://api.github.com/users/thatneat/received_events","type":"User","site_admin":false},"body":"akin to the stdlib `filter()`, `select()` should choose rows based on the truthiness of the test value rather than its equality to True or False.","created_at":"2015-04-21T23:44:37Z","updated_at":"2015-04-21T23:44:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alimanfoo/petl/pulls/331/commits","review_comments_url":"https://api.github.com/repos/alimanfoo/petl/pulls/331/comments","review_comment_url":"https://api.github.com/repos/alimanfoo/petl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alimanfoo/petl/issues/331/comments","statuses_url":"https://api.github.com/repos/alimanfoo/petl/statuses/88419abe129646ecb071e8c5c77434ef470acd2a","head":{"label":"thatneat:patch-1","ref":"patch-1","sha":"88419abe129646ecb071e8c5c77434ef470acd2a","user":{"login":"thatneat","id":3341011,"avatar_url":"https://avatars.githubusercontent.com/u/3341011?v=3","gravatar_id":"","url":"https://api.github.com/users/thatneat","html_url":"https://github.com/thatneat","followers_url":"https://api.github.com/users/thatneat/followers","following_url":"https://api.github.com/users/thatneat/following{/other_user}","gists_url":"https://api.github.com/users/thatneat/gists{/gist_id}","starred_url":"https://api.github.com/users/thatneat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatneat/subscriptions","organizations_url":"https://api.github.com/users/thatneat/orgs","repos_url":"https://api.github.com/users/thatneat/repos","events_url":"https://api.github.com/users/thatneat/events{/privacy}","received_events_url":"https://api.github.com/users/thatneat/received_events","type":"User","site_admin":false},"repo":{"id":28211972,"name":"petl","full_name":"thatneat/petl","owner":{"login":"thatneat","id":3341011,"avatar_url":"https://avatars.githubusercontent.com/u/3341011?v=3","gravatar_id":"","url":"https://api.github.com/users/thatneat","html_url":"https://github.com/thatneat","followers_url":"https://api.github.com/users/thatneat/followers","following_url":"https://api.github.com/users/thatneat/following{/other_user}","gists_url":"https://api.github.com/users/thatneat/gists{/gist_id}","starred_url":"https://api.github.com/users/thatneat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatneat/subscriptions","organizations_url":"https://api.github.com/users/thatneat/orgs","repos_url":"https://api.github.com/users/thatneat/repos","events_url":"https://api.github.com/users/thatneat/events{/privacy}","received_events_url":"https://api.github.com/users/thatneat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thatneat/petl","description":"Python Extract Transform and Load Tables of Data","fork":true,"url":"https://api.github.com/repos/thatneat/petl","forks_url":"https://api.github.com/repos/thatneat/petl/forks","keys_url":"https://api.github.com/repos/thatneat/petl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thatneat/petl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thatneat/petl/teams","hooks_url":"https://api.github.com/repos/thatneat/petl/hooks","issue_events_url":"https://api.github.com/repos/thatneat/petl/issues/events{/number}","events_url":"https://api.github.com/repos/thatneat/petl/events","assignees_url":"https://api.github.com/repos/thatneat/petl/assignees{/user}","branches_url":"https://api.github.com/repos/thatneat/petl/branches{/branch}","tags_url":"https://api.github.com/repos/thatneat/petl/tags","blobs_url":"https://api.github.com/repos/thatneat/petl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thatneat/petl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thatneat/petl/git/refs{/sha}","trees_url":"https://api.github.com/repos/thatneat/petl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thatneat/petl/statuses/{sha}","languages_url":"https://api.github.com/repos/thatneat/petl/languages","stargazers_url":"https://api.github.com/repos/thatneat/petl/stargazers","contributors_url":"https://api.github.com/repos/thatneat/petl/contributors","subscribers_url":"https://api.github.com/repos/thatneat/petl/subscribers","subscription_url":"https://api.github.com/repos/thatneat/petl/subscription","commits_url":"https://api.github.com/repos/thatneat/petl/commits{/sha}","git_commits_url":"https://api.github.com/repos/thatneat/petl/git/commits{/sha}","comments_url":"https://api.github.com/repos/thatneat/petl/comments{/number}","issue_comment_url":"https://api.github.com/repos/thatneat/petl/issues/comments{/number}","contents_url":"https://api.github.com/repos/thatneat/petl/contents/{+path}","compare_url":"https://api.github.com/repos/thatneat/petl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thatneat/petl/merges","archive_url":"https://api.github.com/repos/thatneat/petl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thatneat/petl/downloads","issues_url":"https://api.github.com/repos/thatneat/petl/issues{/number}","pulls_url":"https://api.github.com/repos/thatneat/petl/pulls{/number}","milestones_url":"https://api.github.com/repos/thatneat/petl/milestones{/number}","notifications_url":"https://api.github.com/repos/thatneat/petl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thatneat/petl/labels{/name}","releases_url":"https://api.github.com/repos/thatneat/petl/releases{/id}","created_at":"2014-12-19T03:05:40Z","updated_at":"2014-12-19T04:01:53Z","pushed_at":"2015-04-21T23:41:41Z","git_url":"git://github.com/thatneat/petl.git","ssh_url":"git@github.com:thatneat/petl.git","clone_url":"https://github.com/thatneat/petl.git","svn_url":"https://github.com/thatneat/petl","homepage":"","size":2369,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"alimanfoo:master","ref":"master","sha":"840928fbf0241e9eba0ba63ab1896a7aedce613a","user":{"login":"alimanfoo","id":703554,"avatar_url":"https://avatars.githubusercontent.com/u/703554?v=3","gravatar_id":"","url":"https://api.github.com/users/alimanfoo","html_url":"https://github.com/alimanfoo","followers_url":"https://api.github.com/users/alimanfoo/followers","following_url":"https://api.github.com/users/alimanfoo/following{/other_user}","gists_url":"https://api.github.com/users/alimanfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/alimanfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alimanfoo/subscriptions","organizations_url":"https://api.github.com/users/alimanfoo/orgs","repos_url":"https://api.github.com/users/alimanfoo/repos","events_url":"https://api.github.com/users/alimanfoo/events{/privacy}","received_events_url":"https://api.github.com/users/alimanfoo/received_events","type":"User","site_admin":false},"repo":{"id":2233194,"name":"petl","full_name":"alimanfoo/petl","owner":{"login":"alimanfoo","id":703554,"avatar_url":"https://avatars.githubusercontent.com/u/703554?v=3","gravatar_id":"","url":"https://api.github.com/users/alimanfoo","html_url":"https://github.com/alimanfoo","followers_url":"https://api.github.com/users/alimanfoo/followers","following_url":"https://api.github.com/users/alimanfoo/following{/other_user}","gists_url":"https://api.github.com/users/alimanfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/alimanfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alimanfoo/subscriptions","organizations_url":"https://api.github.com/users/alimanfoo/orgs","repos_url":"https://api.github.com/users/alimanfoo/repos","events_url":"https://api.github.com/users/alimanfoo/events{/privacy}","received_events_url":"https://api.github.com/users/alimanfoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alimanfoo/petl","description":"Python Extract Transform and Load Tables of Data","fork":false,"url":"https://api.github.com/repos/alimanfoo/petl","forks_url":"https://api.github.com/repos/alimanfoo/petl/forks","keys_url":"https://api.github.com/repos/alimanfoo/petl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alimanfoo/petl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alimanfoo/petl/teams","hooks_url":"https://api.github.com/repos/alimanfoo/petl/hooks","issue_events_url":"https://api.github.com/repos/alimanfoo/petl/issues/events{/number}","events_url":"https://api.github.com/repos/alimanfoo/petl/events","assignees_url":"https://api.github.com/repos/alimanfoo/petl/assignees{/user}","branches_url":"https://api.github.com/repos/alimanfoo/petl/branches{/branch}","tags_url":"https://api.github.com/repos/alimanfoo/petl/tags","blobs_url":"https://api.github.com/repos/alimanfoo/petl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alimanfoo/petl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alimanfoo/petl/git/refs{/sha}","trees_url":"https://api.github.com/repos/alimanfoo/petl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alimanfoo/petl/statuses/{sha}","languages_url":"https://api.github.com/repos/alimanfoo/petl/languages","stargazers_url":"https://api.github.com/repos/alimanfoo/petl/stargazers","contributors_url":"https://api.github.com/repos/alimanfoo/petl/contributors","subscribers_url":"https://api.github.com/repos/alimanfoo/petl/subscribers","subscription_url":"https://api.github.com/repos/alimanfoo/petl/subscription","commits_url":"https://api.github.com/repos/alimanfoo/petl/commits{/sha}","git_commits_url":"https://api.github.com/repos/alimanfoo/petl/git/commits{/sha}","comments_url":"https://api.github.com/repos/alimanfoo/petl/comments{/number}","issue_comment_url":"https://api.github.com/repos/alimanfoo/petl/issues/comments{/number}","contents_url":"https://api.github.com/repos/alimanfoo/petl/contents/{+path}","compare_url":"https://api.github.com/repos/alimanfoo/petl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alimanfoo/petl/merges","archive_url":"https://api.github.com/repos/alimanfoo/petl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alimanfoo/petl/downloads","issues_url":"https://api.github.com/repos/alimanfoo/petl/issues{/number}","pulls_url":"https://api.github.com/repos/alimanfoo/petl/pulls{/number}","milestones_url":"https://api.github.com/repos/alimanfoo/petl/milestones{/number}","notifications_url":"https://api.github.com/repos/alimanfoo/petl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alimanfoo/petl/labels{/name}","releases_url":"https://api.github.com/repos/alimanfoo/petl/releases{/id}","created_at":"2011-08-19T09:51:03Z","updated_at":"2015-04-20T14:42:30Z","pushed_at":"2015-04-20T14:42:32Z","git_url":"git://github.com/alimanfoo/petl.git","ssh_url":"git@github.com:alimanfoo/petl.git","clone_url":"https://github.com/alimanfoo/petl.git","svn_url":"https://github.com/alimanfoo/petl","homepage":"","size":4426,"stargazers_count":151,"watchers_count":151,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":34,"forks":43,"open_issues":34,"watchers":151,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alimanfoo/petl/pulls/331"},"html":{"href":"https://github.com/alimanfoo/petl/pull/331"},"issue":{"href":"https://api.github.com/repos/alimanfoo/petl/issues/331"},"comments":{"href":"https://api.github.com/repos/alimanfoo/petl/issues/331/comments"},"review_comments":{"href":"https://api.github.com/repos/alimanfoo/petl/pulls/331/comments"},"review_comment":{"href":"https://api.github.com/repos/alimanfoo/petl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alimanfoo/petl/pulls/331/commits"},"statuses":{"href":"https://api.github.com/repos/alimanfoo/petl/statuses/88419abe129646ecb071e8c5c77434ef470acd2a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":11,"deletions":2,"changed_files":2}}