{"action":"created","comment":{"url":"https://api.github.com/repos/dsten/datascience/pulls/comments/41614854","id":41614854,"diff_hunk":"@@ -202,6 +202,11 @@ def rows(self):\n         return self.Rows(self)\n \n     @property\n+    def row(self):\n+        assert self.num_rows == 1, 'Table has more than one row.'\n+        return self.rows[0]","path":"datascience/tables.py","position":null,"original_position":6,"commit_id":"3d3d67002be9cb2c421ee1854ae41ae79c2575e4","original_commit_id":"93c56a3347632e49b74459ec9cc2375bcf4d0d09","user":{"login":"mDibyo","id":4902438,"avatar_url":"https://avatars.githubusercontent.com/u/4902438?v=3","gravatar_id":"","url":"https://api.github.com/users/mDibyo","html_url":"https://github.com/mDibyo","followers_url":"https://api.github.com/users/mDibyo/followers","following_url":"https://api.github.com/users/mDibyo/following{/other_user}","gists_url":"https://api.github.com/users/mDibyo/gists{/gist_id}","starred_url":"https://api.github.com/users/mDibyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mDibyo/subscriptions","organizations_url":"https://api.github.com/users/mDibyo/orgs","repos_url":"https://api.github.com/users/mDibyo/repos","events_url":"https://api.github.com/users/mDibyo/events{/privacy}","received_events_url":"https://api.github.com/users/mDibyo/received_events","type":"User","site_admin":false},"body":"Done!\r\n`ValueError` does not seem the right choice, as its used to denote an error in input args. Switched to a `RuntimeError` instead.","created_at":"2015-10-09T09:58:50Z","updated_at":"2015-10-09T09:58:50Z","html_url":"https://github.com/dsten/datascience/pull/115#discussion_r41614854","pull_request_url":"https://api.github.com/repos/dsten/datascience/pulls/115","_links":{"self":{"href":"https://api.github.com/repos/dsten/datascience/pulls/comments/41614854"},"html":{"href":"https://github.com/dsten/datascience/pull/115#discussion_r41614854"},"pull_request":{"href":"https://api.github.com/repos/dsten/datascience/pulls/115"}}},"pull_request":{"url":"https://api.github.com/repos/dsten/datascience/pulls/115","id":47120441,"html_url":"https://github.com/dsten/datascience/pull/115","diff_url":"https://github.com/dsten/datascience/pull/115.diff","patch_url":"https://github.com/dsten/datascience/pull/115.patch","issue_url":"https://api.github.com/repos/dsten/datascience/issues/115","number":115,"state":"open","locked":false,"title":"Add property row for single-row tables","user":{"login":"mDibyo","id":4902438,"avatar_url":"https://avatars.githubusercontent.com/u/4902438?v=3","gravatar_id":"","url":"https://api.github.com/users/mDibyo","html_url":"https://github.com/mDibyo","followers_url":"https://api.github.com/users/mDibyo/followers","following_url":"https://api.github.com/users/mDibyo/following{/other_user}","gists_url":"https://api.github.com/users/mDibyo/gists{/gist_id}","starred_url":"https://api.github.com/users/mDibyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mDibyo/subscriptions","organizations_url":"https://api.github.com/users/mDibyo/orgs","repos_url":"https://api.github.com/users/mDibyo/repos","events_url":"https://api.github.com/users/mDibyo/events{/privacy}","received_events_url":"https://api.github.com/users/mDibyo/received_events","type":"User","site_admin":false},"body":"This resolves #93. ","created_at":"2015-10-08T07:40:51Z","updated_at":"2015-10-09T09:58:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d12d27a68e306d1b55ef6d643de764d4123d1499","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dsten/datascience/pulls/115/commits","review_comments_url":"https://api.github.com/repos/dsten/datascience/pulls/115/comments","review_comment_url":"https://api.github.com/repos/dsten/datascience/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dsten/datascience/issues/115/comments","statuses_url":"https://api.github.com/repos/dsten/datascience/statuses/3d3d67002be9cb2c421ee1854ae41ae79c2575e4","head":{"label":"dsten:one-row-table","ref":"one-row-table","sha":"3d3d67002be9cb2c421ee1854ae41ae79c2575e4","user":{"login":"dsten","id":12195212,"avatar_url":"https://avatars.githubusercontent.com/u/12195212?v=3","gravatar_id":"","url":"https://api.github.com/users/dsten","html_url":"https://github.com/dsten","followers_url":"https://api.github.com/users/dsten/followers","following_url":"https://api.github.com/users/dsten/following{/other_user}","gists_url":"https://api.github.com/users/dsten/gists{/gist_id}","starred_url":"https://api.github.com/users/dsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsten/subscriptions","organizations_url":"https://api.github.com/users/dsten/orgs","repos_url":"https://api.github.com/users/dsten/repos","events_url":"https://api.github.com/users/dsten/events{/privacy}","received_events_url":"https://api.github.com/users/dsten/received_events","type":"Organization","site_admin":false},"repo":{"id":39268745,"name":"datascience","full_name":"dsten/datascience","owner":{"login":"dsten","id":12195212,"avatar_url":"https://avatars.githubusercontent.com/u/12195212?v=3","gravatar_id":"","url":"https://api.github.com/users/dsten","html_url":"https://github.com/dsten","followers_url":"https://api.github.com/users/dsten/followers","following_url":"https://api.github.com/users/dsten/following{/other_user}","gists_url":"https://api.github.com/users/dsten/gists{/gist_id}","starred_url":"https://api.github.com/users/dsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsten/subscriptions","organizations_url":"https://api.github.com/users/dsten/orgs","repos_url":"https://api.github.com/users/dsten/repos","events_url":"https://api.github.com/users/dsten/events{/privacy}","received_events_url":"https://api.github.com/users/dsten/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dsten/datascience","description":"A Python library for introductory data science","fork":false,"url":"https://api.github.com/repos/dsten/datascience","forks_url":"https://api.github.com/repos/dsten/datascience/forks","keys_url":"https://api.github.com/repos/dsten/datascience/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsten/datascience/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsten/datascience/teams","hooks_url":"https://api.github.com/repos/dsten/datascience/hooks","issue_events_url":"https://api.github.com/repos/dsten/datascience/issues/events{/number}","events_url":"https://api.github.com/repos/dsten/datascience/events","assignees_url":"https://api.github.com/repos/dsten/datascience/assignees{/user}","branches_url":"https://api.github.com/repos/dsten/datascience/branches{/branch}","tags_url":"https://api.github.com/repos/dsten/datascience/tags","blobs_url":"https://api.github.com/repos/dsten/datascience/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsten/datascience/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsten/datascience/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsten/datascience/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsten/datascience/statuses/{sha}","languages_url":"https://api.github.com/repos/dsten/datascience/languages","stargazers_url":"https://api.github.com/repos/dsten/datascience/stargazers","contributors_url":"https://api.github.com/repos/dsten/datascience/contributors","subscribers_url":"https://api.github.com/repos/dsten/datascience/subscribers","subscription_url":"https://api.github.com/repos/dsten/datascience/subscription","commits_url":"https://api.github.com/repos/dsten/datascience/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsten/datascience/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsten/datascience/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsten/datascience/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsten/datascience/contents/{+path}","compare_url":"https://api.github.com/repos/dsten/datascience/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsten/datascience/merges","archive_url":"https://api.github.com/repos/dsten/datascience/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsten/datascience/downloads","issues_url":"https://api.github.com/repos/dsten/datascience/issues{/number}","pulls_url":"https://api.github.com/repos/dsten/datascience/pulls{/number}","milestones_url":"https://api.github.com/repos/dsten/datascience/milestones{/number}","notifications_url":"https://api.github.com/repos/dsten/datascience/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsten/datascience/labels{/name}","releases_url":"https://api.github.com/repos/dsten/datascience/releases{/id}","created_at":"2015-07-17T18:17:39Z","updated_at":"2015-10-08T20:50:35Z","pushed_at":"2015-10-09T09:57:33Z","git_url":"git://github.com/dsten/datascience.git","ssh_url":"git@github.com:dsten/datascience.git","clone_url":"https://github.com/dsten/datascience.git","svn_url":"https://github.com/dsten/datascience","homepage":null,"size":2409,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":24,"forks":7,"open_issues":24,"watchers":7,"default_branch":"master"}},"base":{"label":"dsten:master","ref":"master","sha":"7102452d355f6e804ec2931212908f61d0a686c4","user":{"login":"dsten","id":12195212,"avatar_url":"https://avatars.githubusercontent.com/u/12195212?v=3","gravatar_id":"","url":"https://api.github.com/users/dsten","html_url":"https://github.com/dsten","followers_url":"https://api.github.com/users/dsten/followers","following_url":"https://api.github.com/users/dsten/following{/other_user}","gists_url":"https://api.github.com/users/dsten/gists{/gist_id}","starred_url":"https://api.github.com/users/dsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsten/subscriptions","organizations_url":"https://api.github.com/users/dsten/orgs","repos_url":"https://api.github.com/users/dsten/repos","events_url":"https://api.github.com/users/dsten/events{/privacy}","received_events_url":"https://api.github.com/users/dsten/received_events","type":"Organization","site_admin":false},"repo":{"id":39268745,"name":"datascience","full_name":"dsten/datascience","owner":{"login":"dsten","id":12195212,"avatar_url":"https://avatars.githubusercontent.com/u/12195212?v=3","gravatar_id":"","url":"https://api.github.com/users/dsten","html_url":"https://github.com/dsten","followers_url":"https://api.github.com/users/dsten/followers","following_url":"https://api.github.com/users/dsten/following{/other_user}","gists_url":"https://api.github.com/users/dsten/gists{/gist_id}","starred_url":"https://api.github.com/users/dsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsten/subscriptions","organizations_url":"https://api.github.com/users/dsten/orgs","repos_url":"https://api.github.com/users/dsten/repos","events_url":"https://api.github.com/users/dsten/events{/privacy}","received_events_url":"https://api.github.com/users/dsten/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dsten/datascience","description":"A Python library for introductory data science","fork":false,"url":"https://api.github.com/repos/dsten/datascience","forks_url":"https://api.github.com/repos/dsten/datascience/forks","keys_url":"https://api.github.com/repos/dsten/datascience/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsten/datascience/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsten/datascience/teams","hooks_url":"https://api.github.com/repos/dsten/datascience/hooks","issue_events_url":"https://api.github.com/repos/dsten/datascience/issues/events{/number}","events_url":"https://api.github.com/repos/dsten/datascience/events","assignees_url":"https://api.github.com/repos/dsten/datascience/assignees{/user}","branches_url":"https://api.github.com/repos/dsten/datascience/branches{/branch}","tags_url":"https://api.github.com/repos/dsten/datascience/tags","blobs_url":"https://api.github.com/repos/dsten/datascience/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsten/datascience/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsten/datascience/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsten/datascience/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsten/datascience/statuses/{sha}","languages_url":"https://api.github.com/repos/dsten/datascience/languages","stargazers_url":"https://api.github.com/repos/dsten/datascience/stargazers","contributors_url":"https://api.github.com/repos/dsten/datascience/contributors","subscribers_url":"https://api.github.com/repos/dsten/datascience/subscribers","subscription_url":"https://api.github.com/repos/dsten/datascience/subscription","commits_url":"https://api.github.com/repos/dsten/datascience/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsten/datascience/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsten/datascience/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsten/datascience/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsten/datascience/contents/{+path}","compare_url":"https://api.github.com/repos/dsten/datascience/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsten/datascience/merges","archive_url":"https://api.github.com/repos/dsten/datascience/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsten/datascience/downloads","issues_url":"https://api.github.com/repos/dsten/datascience/issues{/number}","pulls_url":"https://api.github.com/repos/dsten/datascience/pulls{/number}","milestones_url":"https://api.github.com/repos/dsten/datascience/milestones{/number}","notifications_url":"https://api.github.com/repos/dsten/datascience/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsten/datascience/labels{/name}","releases_url":"https://api.github.com/repos/dsten/datascience/releases{/id}","created_at":"2015-07-17T18:17:39Z","updated_at":"2015-10-08T20:50:35Z","pushed_at":"2015-10-09T09:57:33Z","git_url":"git://github.com/dsten/datascience.git","ssh_url":"git@github.com:dsten/datascience.git","clone_url":"https://github.com/dsten/datascience.git","svn_url":"https://github.com/dsten/datascience","homepage":null,"size":2409,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":24,"forks":7,"open_issues":24,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dsten/datascience/pulls/115"},"html":{"href":"https://github.com/dsten/datascience/pull/115"},"issue":{"href":"https://api.github.com/repos/dsten/datascience/issues/115"},"comments":{"href":"https://api.github.com/repos/dsten/datascience/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/dsten/datascience/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/dsten/datascience/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dsten/datascience/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/dsten/datascience/statuses/3d3d67002be9cb2c421ee1854ae41ae79c2575e4"}}}}