{"action":"created","comment":{"url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/comments/23134878","id":23134878,"diff_hunk":"@@ -40,7 +40,7 @@ def df_all(a_df, b_df):\n     This method doesn't check the index which can be manipulated during\n     operations.\n     \"\"\"\n-    assert all(a_df.columns == b_df.columns)\n+    assert np.all(a_df.columns == b_df.columns)","path":"blaze/compute/tests/test_pandas_compute.py","position":null,"original_position":5,"commit_id":"76494d0c6824eed16602d0adad4f80c23aca00fa","original_commit_id":"cc06626997f850d89244ea7dd4c6c27a155a7aea","user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"body":"Gutted.","created_at":"2015-01-18T17:14:38Z","updated_at":"2015-01-18T17:14:38Z","html_url":"https://github.com/ContinuumIO/blaze/pull/934#discussion_r23134878","pull_request_url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/934","_links":{"self":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/comments/23134878"},"html":{"href":"https://github.com/ContinuumIO/blaze/pull/934#discussion_r23134878"},"pull_request":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/934"}}},"pull_request":{"url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/934","id":27565810,"html_url":"https://github.com/ContinuumIO/blaze/pull/934","diff_url":"https://github.com/ContinuumIO/blaze/pull/934.diff","patch_url":"https://github.com/ContinuumIO/blaze/pull/934.patch","issue_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/934","number":934,"state":"open","locked":false,"title":"Expr supports __array__","user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"body":"Support standard protocols like `__array__`, `__float__`, etc. to improve standard interoperation with normal Python code.\r\n\r\n```Python\r\nIn [1]: from blaze import *\r\nx\r\nIn [2]: x = np.arange(6)\r\n\r\nIn [3]: d = Data(x)\r\n\r\nIn [4]: np.array(d * 10)\r\nOut[4]: array([ 0, 10, 20, 30, 40, 50])\r\n\r\nIn [5]: int(d.sum())\r\nOut[5]: 15\r\n\r\nIn [6]: x[:3] = d[3:] * 10\r\n\r\nIn [7]: x\r\nOut[7]: array([30, 40, 50,  3,  4,  5])\r\n```\r\n\r\nShould have done this long ago.","created_at":"2015-01-18T02:25:36Z","updated_at":"2015-01-18T17:14:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc0f563ea9b12ad1d5f6b77188bd5fd50f28f209","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/934/commits","review_comments_url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/934/comments","review_comment_url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/934/comments","statuses_url":"https://api.github.com/repos/ContinuumIO/blaze/statuses/76494d0c6824eed16602d0adad4f80c23aca00fa","head":{"label":"mrocklin:protocols","ref":"protocols","sha":"76494d0c6824eed16602d0adad4f80c23aca00fa","user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"repo":{"id":16621343,"name":"blaze","full_name":"mrocklin/blaze","owner":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrocklin/blaze","description":"Blaze is NumPy and Pandas for Big Data","fork":true,"url":"https://api.github.com/repos/mrocklin/blaze","forks_url":"https://api.github.com/repos/mrocklin/blaze/forks","keys_url":"https://api.github.com/repos/mrocklin/blaze/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrocklin/blaze/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrocklin/blaze/teams","hooks_url":"https://api.github.com/repos/mrocklin/blaze/hooks","issue_events_url":"https://api.github.com/repos/mrocklin/blaze/issues/events{/number}","events_url":"https://api.github.com/repos/mrocklin/blaze/events","assignees_url":"https://api.github.com/repos/mrocklin/blaze/assignees{/user}","branches_url":"https://api.github.com/repos/mrocklin/blaze/branches{/branch}","tags_url":"https://api.github.com/repos/mrocklin/blaze/tags","blobs_url":"https://api.github.com/repos/mrocklin/blaze/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrocklin/blaze/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrocklin/blaze/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrocklin/blaze/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrocklin/blaze/statuses/{sha}","languages_url":"https://api.github.com/repos/mrocklin/blaze/languages","stargazers_url":"https://api.github.com/repos/mrocklin/blaze/stargazers","contributors_url":"https://api.github.com/repos/mrocklin/blaze/contributors","subscribers_url":"https://api.github.com/repos/mrocklin/blaze/subscribers","subscription_url":"https://api.github.com/repos/mrocklin/blaze/subscription","commits_url":"https://api.github.com/repos/mrocklin/blaze/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrocklin/blaze/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrocklin/blaze/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrocklin/blaze/issues/comments/{number}","contents_url":"https://api.github.com/repos/mrocklin/blaze/contents/{+path}","compare_url":"https://api.github.com/repos/mrocklin/blaze/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrocklin/blaze/merges","archive_url":"https://api.github.com/repos/mrocklin/blaze/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrocklin/blaze/downloads","issues_url":"https://api.github.com/repos/mrocklin/blaze/issues{/number}","pulls_url":"https://api.github.com/repos/mrocklin/blaze/pulls{/number}","milestones_url":"https://api.github.com/repos/mrocklin/blaze/milestones{/number}","notifications_url":"https://api.github.com/repos/mrocklin/blaze/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrocklin/blaze/labels{/name}","releases_url":"https://api.github.com/repos/mrocklin/blaze/releases{/id}","created_at":"2014-02-07T17:04:42Z","updated_at":"2014-12-17T20:22:14Z","pushed_at":"2015-01-18T17:14:36Z","git_url":"git://github.com/mrocklin/blaze.git","ssh_url":"git@github.com:mrocklin/blaze.git","clone_url":"https://github.com/mrocklin/blaze.git","svn_url":"https://github.com/mrocklin/blaze","homepage":"blaze.pydata.org","size":13876,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"ContinuumIO:master","ref":"master","sha":"e53c4fe7ac58d78704c45d793293d97ece470953","user":{"login":"ContinuumIO","id":1158637,"avatar_url":"https://avatars.githubusercontent.com/u/1158637?v=3","gravatar_id":"","url":"https://api.github.com/users/ContinuumIO","html_url":"https://github.com/ContinuumIO","followers_url":"https://api.github.com/users/ContinuumIO/followers","following_url":"https://api.github.com/users/ContinuumIO/following{/other_user}","gists_url":"https://api.github.com/users/ContinuumIO/gists{/gist_id}","starred_url":"https://api.github.com/users/ContinuumIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ContinuumIO/subscriptions","organizations_url":"https://api.github.com/users/ContinuumIO/orgs","repos_url":"https://api.github.com/users/ContinuumIO/repos","events_url":"https://api.github.com/users/ContinuumIO/events{/privacy}","received_events_url":"https://api.github.com/users/ContinuumIO/received_events","type":"Organization","site_admin":false},"repo":{"id":6404963,"name":"blaze","full_name":"ContinuumIO/blaze","owner":{"login":"ContinuumIO","id":1158637,"avatar_url":"https://avatars.githubusercontent.com/u/1158637?v=3","gravatar_id":"","url":"https://api.github.com/users/ContinuumIO","html_url":"https://github.com/ContinuumIO","followers_url":"https://api.github.com/users/ContinuumIO/followers","following_url":"https://api.github.com/users/ContinuumIO/following{/other_user}","gists_url":"https://api.github.com/users/ContinuumIO/gists{/gist_id}","starred_url":"https://api.github.com/users/ContinuumIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ContinuumIO/subscriptions","organizations_url":"https://api.github.com/users/ContinuumIO/orgs","repos_url":"https://api.github.com/users/ContinuumIO/repos","events_url":"https://api.github.com/users/ContinuumIO/events{/privacy}","received_events_url":"https://api.github.com/users/ContinuumIO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ContinuumIO/blaze","description":"NumPy and Pandas interface to Big Data","fork":false,"url":"https://api.github.com/repos/ContinuumIO/blaze","forks_url":"https://api.github.com/repos/ContinuumIO/blaze/forks","keys_url":"https://api.github.com/repos/ContinuumIO/blaze/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ContinuumIO/blaze/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ContinuumIO/blaze/teams","hooks_url":"https://api.github.com/repos/ContinuumIO/blaze/hooks","issue_events_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/events{/number}","events_url":"https://api.github.com/repos/ContinuumIO/blaze/events","assignees_url":"https://api.github.com/repos/ContinuumIO/blaze/assignees{/user}","branches_url":"https://api.github.com/repos/ContinuumIO/blaze/branches{/branch}","tags_url":"https://api.github.com/repos/ContinuumIO/blaze/tags","blobs_url":"https://api.github.com/repos/ContinuumIO/blaze/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ContinuumIO/blaze/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ContinuumIO/blaze/git/refs{/sha}","trees_url":"https://api.github.com/repos/ContinuumIO/blaze/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ContinuumIO/blaze/statuses/{sha}","languages_url":"https://api.github.com/repos/ContinuumIO/blaze/languages","stargazers_url":"https://api.github.com/repos/ContinuumIO/blaze/stargazers","contributors_url":"https://api.github.com/repos/ContinuumIO/blaze/contributors","subscribers_url":"https://api.github.com/repos/ContinuumIO/blaze/subscribers","subscription_url":"https://api.github.com/repos/ContinuumIO/blaze/subscription","commits_url":"https://api.github.com/repos/ContinuumIO/blaze/commits{/sha}","git_commits_url":"https://api.github.com/repos/ContinuumIO/blaze/git/commits{/sha}","comments_url":"https://api.github.com/repos/ContinuumIO/blaze/comments{/number}","issue_comment_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/comments/{number}","contents_url":"https://api.github.com/repos/ContinuumIO/blaze/contents/{+path}","compare_url":"https://api.github.com/repos/ContinuumIO/blaze/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ContinuumIO/blaze/merges","archive_url":"https://api.github.com/repos/ContinuumIO/blaze/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ContinuumIO/blaze/downloads","issues_url":"https://api.github.com/repos/ContinuumIO/blaze/issues{/number}","pulls_url":"https://api.github.com/repos/ContinuumIO/blaze/pulls{/number}","milestones_url":"https://api.github.com/repos/ContinuumIO/blaze/milestones{/number}","notifications_url":"https://api.github.com/repos/ContinuumIO/blaze/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ContinuumIO/blaze/labels{/name}","releases_url":"https://api.github.com/repos/ContinuumIO/blaze/releases{/id}","created_at":"2012-10-26T14:25:22Z","updated_at":"2015-01-18T15:54:41Z","pushed_at":"2015-01-18T15:54:41Z","git_url":"git://github.com/ContinuumIO/blaze.git","ssh_url":"git@github.com:ContinuumIO/blaze.git","clone_url":"https://github.com/ContinuumIO/blaze.git","svn_url":"https://github.com/ContinuumIO/blaze","homepage":"blaze.pydata.org","size":23013,"stargazers_count":1011,"watchers_count":1011,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":122,"mirror_url":null,"open_issues_count":83,"forks":122,"open_issues":83,"watchers":1011,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/934"},"html":{"href":"https://github.com/ContinuumIO/blaze/pull/934"},"issue":{"href":"https://api.github.com/repos/ContinuumIO/blaze/issues/934"},"comments":{"href":"https://api.github.com/repos/ContinuumIO/blaze/issues/934/comments"},"review_comments":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/934/comments"},"review_comment":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/934/commits"},"statuses":{"href":"https://api.github.com/repos/ContinuumIO/blaze/statuses/76494d0c6824eed16602d0adad4f80c23aca00fa"}}}}