{"action":"opened","number":11325,"pull_request":{"url":"https://api.github.com/repos/pydata/pandas/pulls/11325","id":47655611,"html_url":"https://github.com/pydata/pandas/pull/11325","diff_url":"https://github.com/pydata/pandas/pull/11325.diff","patch_url":"https://github.com/pydata/pandas/pull/11325.patch","issue_url":"https://api.github.com/repos/pydata/pandas/issues/11325","number":11325,"state":"open","locked":false,"title":"ENH: itertuples() returns namedtuples (closes #11269)","user":{"login":"mjoud","id":9378027,"avatar_url":"https://avatars.githubusercontent.com/u/9378027?v=3","gravatar_id":"","url":"https://api.github.com/users/mjoud","html_url":"https://github.com/mjoud","followers_url":"https://api.github.com/users/mjoud/followers","following_url":"https://api.github.com/users/mjoud/following{/other_user}","gists_url":"https://api.github.com/users/mjoud/gists{/gist_id}","starred_url":"https://api.github.com/users/mjoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjoud/subscriptions","organizations_url":"https://api.github.com/users/mjoud/orgs","repos_url":"https://api.github.com/users/mjoud/repos","events_url":"https://api.github.com/users/mjoud/events{/privacy}","received_events_url":"https://api.github.com/users/mjoud/received_events","type":"User","site_admin":false},"body":"This will make itertuples return namedtuples. I'm not sure about tests, here. Since `namedtuple` is a drop-in replacement for ordinary tuples (once they are created) I naively expect things to work.","created_at":"2015-10-14T13:00:55Z","updated_at":"2015-10-14T13:00:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pydata/pandas/pulls/11325/commits","review_comments_url":"https://api.github.com/repos/pydata/pandas/pulls/11325/comments","review_comment_url":"https://api.github.com/repos/pydata/pandas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/11325/comments","statuses_url":"https://api.github.com/repos/pydata/pandas/statuses/919f3eef8e145159831254ffdb894384d5a1a62e","head":{"label":"mjoud:namedtuples","ref":"namedtuples","sha":"919f3eef8e145159831254ffdb894384d5a1a62e","user":{"login":"mjoud","id":9378027,"avatar_url":"https://avatars.githubusercontent.com/u/9378027?v=3","gravatar_id":"","url":"https://api.github.com/users/mjoud","html_url":"https://github.com/mjoud","followers_url":"https://api.github.com/users/mjoud/followers","following_url":"https://api.github.com/users/mjoud/following{/other_user}","gists_url":"https://api.github.com/users/mjoud/gists{/gist_id}","starred_url":"https://api.github.com/users/mjoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjoud/subscriptions","organizations_url":"https://api.github.com/users/mjoud/orgs","repos_url":"https://api.github.com/users/mjoud/repos","events_url":"https://api.github.com/users/mjoud/events{/privacy}","received_events_url":"https://api.github.com/users/mjoud/received_events","type":"User","site_admin":false},"repo":{"id":43948806,"name":"pandas","full_name":"mjoud/pandas","owner":{"login":"mjoud","id":9378027,"avatar_url":"https://avatars.githubusercontent.com/u/9378027?v=3","gravatar_id":"","url":"https://api.github.com/users/mjoud","html_url":"https://github.com/mjoud","followers_url":"https://api.github.com/users/mjoud/followers","following_url":"https://api.github.com/users/mjoud/following{/other_user}","gists_url":"https://api.github.com/users/mjoud/gists{/gist_id}","starred_url":"https://api.github.com/users/mjoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjoud/subscriptions","organizations_url":"https://api.github.com/users/mjoud/orgs","repos_url":"https://api.github.com/users/mjoud/repos","events_url":"https://api.github.com/users/mjoud/events{/privacy}","received_events_url":"https://api.github.com/users/mjoud/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mjoud/pandas","description":"Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more","fork":true,"url":"https://api.github.com/repos/mjoud/pandas","forks_url":"https://api.github.com/repos/mjoud/pandas/forks","keys_url":"https://api.github.com/repos/mjoud/pandas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjoud/pandas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjoud/pandas/teams","hooks_url":"https://api.github.com/repos/mjoud/pandas/hooks","issue_events_url":"https://api.github.com/repos/mjoud/pandas/issues/events{/number}","events_url":"https://api.github.com/repos/mjoud/pandas/events","assignees_url":"https://api.github.com/repos/mjoud/pandas/assignees{/user}","branches_url":"https://api.github.com/repos/mjoud/pandas/branches{/branch}","tags_url":"https://api.github.com/repos/mjoud/pandas/tags","blobs_url":"https://api.github.com/repos/mjoud/pandas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjoud/pandas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjoud/pandas/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjoud/pandas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjoud/pandas/statuses/{sha}","languages_url":"https://api.github.com/repos/mjoud/pandas/languages","stargazers_url":"https://api.github.com/repos/mjoud/pandas/stargazers","contributors_url":"https://api.github.com/repos/mjoud/pandas/contributors","subscribers_url":"https://api.github.com/repos/mjoud/pandas/subscribers","subscription_url":"https://api.github.com/repos/mjoud/pandas/subscription","commits_url":"https://api.github.com/repos/mjoud/pandas/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjoud/pandas/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjoud/pandas/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjoud/pandas/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjoud/pandas/contents/{+path}","compare_url":"https://api.github.com/repos/mjoud/pandas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjoud/pandas/merges","archive_url":"https://api.github.com/repos/mjoud/pandas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjoud/pandas/downloads","issues_url":"https://api.github.com/repos/mjoud/pandas/issues{/number}","pulls_url":"https://api.github.com/repos/mjoud/pandas/pulls{/number}","milestones_url":"https://api.github.com/repos/mjoud/pandas/milestones{/number}","notifications_url":"https://api.github.com/repos/mjoud/pandas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjoud/pandas/labels{/name}","releases_url":"https://api.github.com/repos/mjoud/pandas/releases{/id}","created_at":"2015-10-09T10:27:46Z","updated_at":"2015-10-09T10:28:00Z","pushed_at":"2015-10-14T12:55:58Z","git_url":"git://github.com/mjoud/pandas.git","ssh_url":"git@github.com:mjoud/pandas.git","clone_url":"https://github.com/mjoud/pandas.git","svn_url":"https://github.com/mjoud/pandas","homepage":"http://pandas.pydata.org","size":65745,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pydata:master","ref":"master","sha":"a89b96d441b3c025021fe3d080494619c0e1c594","user":{"login":"pydata","id":1284191,"avatar_url":"https://avatars.githubusercontent.com/u/1284191?v=3","gravatar_id":"","url":"https://api.github.com/users/pydata","html_url":"https://github.com/pydata","followers_url":"https://api.github.com/users/pydata/followers","following_url":"https://api.github.com/users/pydata/following{/other_user}","gists_url":"https://api.github.com/users/pydata/gists{/gist_id}","starred_url":"https://api.github.com/users/pydata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydata/subscriptions","organizations_url":"https://api.github.com/users/pydata/orgs","repos_url":"https://api.github.com/users/pydata/repos","events_url":"https://api.github.com/users/pydata/events{/privacy}","received_events_url":"https://api.github.com/users/pydata/received_events","type":"Organization","site_admin":false},"repo":{"id":858127,"name":"pandas","full_name":"pydata/pandas","owner":{"login":"pydata","id":1284191,"avatar_url":"https://avatars.githubusercontent.com/u/1284191?v=3","gravatar_id":"","url":"https://api.github.com/users/pydata","html_url":"https://github.com/pydata","followers_url":"https://api.github.com/users/pydata/followers","following_url":"https://api.github.com/users/pydata/following{/other_user}","gists_url":"https://api.github.com/users/pydata/gists{/gist_id}","starred_url":"https://api.github.com/users/pydata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydata/subscriptions","organizations_url":"https://api.github.com/users/pydata/orgs","repos_url":"https://api.github.com/users/pydata/repos","events_url":"https://api.github.com/users/pydata/events{/privacy}","received_events_url":"https://api.github.com/users/pydata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pydata/pandas","description":"Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more","fork":false,"url":"https://api.github.com/repos/pydata/pandas","forks_url":"https://api.github.com/repos/pydata/pandas/forks","keys_url":"https://api.github.com/repos/pydata/pandas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pydata/pandas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pydata/pandas/teams","hooks_url":"https://api.github.com/repos/pydata/pandas/hooks","issue_events_url":"https://api.github.com/repos/pydata/pandas/issues/events{/number}","events_url":"https://api.github.com/repos/pydata/pandas/events","assignees_url":"https://api.github.com/repos/pydata/pandas/assignees{/user}","branches_url":"https://api.github.com/repos/pydata/pandas/branches{/branch}","tags_url":"https://api.github.com/repos/pydata/pandas/tags","blobs_url":"https://api.github.com/repos/pydata/pandas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pydata/pandas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pydata/pandas/git/refs{/sha}","trees_url":"https://api.github.com/repos/pydata/pandas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pydata/pandas/statuses/{sha}","languages_url":"https://api.github.com/repos/pydata/pandas/languages","stargazers_url":"https://api.github.com/repos/pydata/pandas/stargazers","contributors_url":"https://api.github.com/repos/pydata/pandas/contributors","subscribers_url":"https://api.github.com/repos/pydata/pandas/subscribers","subscription_url":"https://api.github.com/repos/pydata/pandas/subscription","commits_url":"https://api.github.com/repos/pydata/pandas/commits{/sha}","git_commits_url":"https://api.github.com/repos/pydata/pandas/git/commits{/sha}","comments_url":"https://api.github.com/repos/pydata/pandas/comments{/number}","issue_comment_url":"https://api.github.com/repos/pydata/pandas/issues/comments{/number}","contents_url":"https://api.github.com/repos/pydata/pandas/contents/{+path}","compare_url":"https://api.github.com/repos/pydata/pandas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pydata/pandas/merges","archive_url":"https://api.github.com/repos/pydata/pandas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pydata/pandas/downloads","issues_url":"https://api.github.com/repos/pydata/pandas/issues{/number}","pulls_url":"https://api.github.com/repos/pydata/pandas/pulls{/number}","milestones_url":"https://api.github.com/repos/pydata/pandas/milestones{/number}","notifications_url":"https://api.github.com/repos/pydata/pandas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pydata/pandas/labels{/name}","releases_url":"https://api.github.com/repos/pydata/pandas/releases{/id}","created_at":"2010-08-24T01:37:33Z","updated_at":"2015-10-14T11:53:52Z","pushed_at":"2015-10-14T11:43:51Z","git_url":"git://github.com/pydata/pandas.git","ssh_url":"git@github.com:pydata/pandas.git","clone_url":"https://github.com/pydata/pandas.git","svn_url":"https://github.com/pydata/pandas","homepage":"http://pandas.pydata.org","size":162604,"stargazers_count":5103,"watchers_count":5103,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2002,"mirror_url":null,"open_issues_count":1508,"forks":2002,"open_issues":1508,"watchers":5103,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pydata/pandas/pulls/11325"},"html":{"href":"https://github.com/pydata/pandas/pull/11325"},"issue":{"href":"https://api.github.com/repos/pydata/pandas/issues/11325"},"comments":{"href":"https://api.github.com/repos/pydata/pandas/issues/11325/comments"},"review_comments":{"href":"https://api.github.com/repos/pydata/pandas/pulls/11325/comments"},"review_comment":{"href":"https://api.github.com/repos/pydata/pandas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pydata/pandas/pulls/11325/commits"},"statuses":{"href":"https://api.github.com/repos/pydata/pandas/statuses/919f3eef8e145159831254ffdb894384d5a1a62e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":29,"deletions":15,"changed_files":2}}