{"action":"created","comment":{"url":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/comments/206234664","pull_request_review_id":141610269,"id":206234664,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjIzNDY2NA==","diff_hunk":"@@ -173,6 +182,11 @@ def __getitem__(self, arg):\n             for k, col in self._cols.items():\n                 df[k] = col[arg]\n             return df\n+        elif isinstance(arg, (list,)):","path":"pygdf/dataframe.py","position":27,"original_position":27,"commit_id":"8519b0cb974d553307124a0af307c0261ae516d8","original_commit_id":"8519b0cb974d553307124a0af307c0261ae516d8","user":{"login":"scopatz","id":320553,"node_id":"MDQ6VXNlcjMyMDU1Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/320553?v=4","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"body":"haha no worries :)","created_at":"2018-07-30T16:19:11Z","updated_at":"2018-07-30T16:19:11Z","html_url":"https://github.com/gpuopenanalytics/pygdf/pull/172#discussion_r206234664","pull_request_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/172","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/comments/206234664"},"html":{"href":"https://github.com/gpuopenanalytics/pygdf/pull/172#discussion_r206234664"},"pull_request":{"href":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/172"}},"in_reply_to_id":206232320},"pull_request":{"url":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/172","id":204567885,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NTY3ODg1","html_url":"https://github.com/gpuopenanalytics/pygdf/pull/172","diff_url":"https://github.com/gpuopenanalytics/pygdf/pull/172.diff","patch_url":"https://github.com/gpuopenanalytics/pygdf/pull/172.patch","issue_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/issues/172","number":172,"state":"open","locked":false,"title":"[REVIEW] Multicolumn getindex similar to pandas in dataframe.py","user":{"login":"dantegd","id":1116796,"node_id":"MDQ6VXNlcjExMTY3OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1116796?v=4","gravatar_id":"","url":"https://api.github.com/users/dantegd","html_url":"https://github.com/dantegd","followers_url":"https://api.github.com/users/dantegd/followers","following_url":"https://api.github.com/users/dantegd/following{/other_user}","gists_url":"https://api.github.com/users/dantegd/gists{/gist_id}","starred_url":"https://api.github.com/users/dantegd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantegd/subscriptions","organizations_url":"https://api.github.com/users/dantegd/orgs","repos_url":"https://api.github.com/users/dantegd/repos","events_url":"https://api.github.com/users/dantegd/events{/privacy}","received_events_url":"https://api.github.com/users/dantegd/received_events","type":"User","site_admin":false},"body":"Added indexing by multiple column names to pygdf, similar to pandas: \r\n\r\n```\r\n>>> df = DataFrame([('a', list(range(20))),\r\n        ...                 ('b', list(range(20))),\r\n        ...                 ('c', list(range(20)))])\r\n\r\n>>>df[['a','c']] # get columns a and c\r\n             a    c\r\n        0    0    0\r\n        1    1    1\r\n        2    2    2\r\n        3    3    3\r\n```","created_at":"2018-07-28T01:01:59Z","updated_at":"2018-07-30T16:19:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e325ee505752e23ef3d7fd8c766ecd6204b686b2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/172/commits","review_comments_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/172/comments","review_comment_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/issues/172/comments","statuses_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/statuses/8519b0cb974d553307124a0af307c0261ae516d8","head":{"label":"dantegd:enh-ext-multicolumn-getitem","ref":"enh-ext-multicolumn-getitem","sha":"8519b0cb974d553307124a0af307c0261ae516d8","user":{"login":"dantegd","id":1116796,"node_id":"MDQ6VXNlcjExMTY3OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1116796?v=4","gravatar_id":"","url":"https://api.github.com/users/dantegd","html_url":"https://github.com/dantegd","followers_url":"https://api.github.com/users/dantegd/followers","following_url":"https://api.github.com/users/dantegd/following{/other_user}","gists_url":"https://api.github.com/users/dantegd/gists{/gist_id}","starred_url":"https://api.github.com/users/dantegd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantegd/subscriptions","organizations_url":"https://api.github.com/users/dantegd/orgs","repos_url":"https://api.github.com/users/dantegd/repos","events_url":"https://api.github.com/users/dantegd/events{/privacy}","received_events_url":"https://api.github.com/users/dantegd/received_events","type":"User","site_admin":false},"repo":{"id":139157845,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxNTc4NDU=","name":"pygdf","full_name":"dantegd/pygdf","owner":{"login":"dantegd","id":1116796,"node_id":"MDQ6VXNlcjExMTY3OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1116796?v=4","gravatar_id":"","url":"https://api.github.com/users/dantegd","html_url":"https://github.com/dantegd","followers_url":"https://api.github.com/users/dantegd/followers","following_url":"https://api.github.com/users/dantegd/following{/other_user}","gists_url":"https://api.github.com/users/dantegd/gists{/gist_id}","starred_url":"https://api.github.com/users/dantegd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantegd/subscriptions","organizations_url":"https://api.github.com/users/dantegd/orgs","repos_url":"https://api.github.com/users/dantegd/repos","events_url":"https://api.github.com/users/dantegd/events{/privacy}","received_events_url":"https://api.github.com/users/dantegd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dantegd/pygdf","description":"GPU Data Frame","fork":true,"url":"https://api.github.com/repos/dantegd/pygdf","forks_url":"https://api.github.com/repos/dantegd/pygdf/forks","keys_url":"https://api.github.com/repos/dantegd/pygdf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dantegd/pygdf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dantegd/pygdf/teams","hooks_url":"https://api.github.com/repos/dantegd/pygdf/hooks","issue_events_url":"https://api.github.com/repos/dantegd/pygdf/issues/events{/number}","events_url":"https://api.github.com/repos/dantegd/pygdf/events","assignees_url":"https://api.github.com/repos/dantegd/pygdf/assignees{/user}","branches_url":"https://api.github.com/repos/dantegd/pygdf/branches{/branch}","tags_url":"https://api.github.com/repos/dantegd/pygdf/tags","blobs_url":"https://api.github.com/repos/dantegd/pygdf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dantegd/pygdf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dantegd/pygdf/git/refs{/sha}","trees_url":"https://api.github.com/repos/dantegd/pygdf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dantegd/pygdf/statuses/{sha}","languages_url":"https://api.github.com/repos/dantegd/pygdf/languages","stargazers_url":"https://api.github.com/repos/dantegd/pygdf/stargazers","contributors_url":"https://api.github.com/repos/dantegd/pygdf/contributors","subscribers_url":"https://api.github.com/repos/dantegd/pygdf/subscribers","subscription_url":"https://api.github.com/repos/dantegd/pygdf/subscription","commits_url":"https://api.github.com/repos/dantegd/pygdf/commits{/sha}","git_commits_url":"https://api.github.com/repos/dantegd/pygdf/git/commits{/sha}","comments_url":"https://api.github.com/repos/dantegd/pygdf/comments{/number}","issue_comment_url":"https://api.github.com/repos/dantegd/pygdf/issues/comments{/number}","contents_url":"https://api.github.com/repos/dantegd/pygdf/contents/{+path}","compare_url":"https://api.github.com/repos/dantegd/pygdf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dantegd/pygdf/merges","archive_url":"https://api.github.com/repos/dantegd/pygdf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dantegd/pygdf/downloads","issues_url":"https://api.github.com/repos/dantegd/pygdf/issues{/number}","pulls_url":"https://api.github.com/repos/dantegd/pygdf/pulls{/number}","milestones_url":"https://api.github.com/repos/dantegd/pygdf/milestones{/number}","notifications_url":"https://api.github.com/repos/dantegd/pygdf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dantegd/pygdf/labels{/name}","releases_url":"https://api.github.com/repos/dantegd/pygdf/releases{/id}","deployments_url":"https://api.github.com/repos/dantegd/pygdf/deployments","created_at":"2018-06-29T14:17:19Z","updated_at":"2018-07-12T13:44:48Z","pushed_at":"2018-07-28T00:59:06Z","git_url":"git://github.com/dantegd/pygdf.git","ssh_url":"git@github.com:dantegd/pygdf.git","clone_url":"https://github.com/dantegd/pygdf.git","svn_url":"https://github.com/dantegd/pygdf","homepage":null,"size":2641,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gpuopenanalytics:master","ref":"master","sha":"d570a9df9b4582e5111229e0a219263fe5acea5e","user":{"login":"gpuopenanalytics","id":28068574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MDY4NTc0","avatar_url":"https://avatars2.githubusercontent.com/u/28068574?v=4","gravatar_id":"","url":"https://api.github.com/users/gpuopenanalytics","html_url":"https://github.com/gpuopenanalytics","followers_url":"https://api.github.com/users/gpuopenanalytics/followers","following_url":"https://api.github.com/users/gpuopenanalytics/following{/other_user}","gists_url":"https://api.github.com/users/gpuopenanalytics/gists{/gist_id}","starred_url":"https://api.github.com/users/gpuopenanalytics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpuopenanalytics/subscriptions","organizations_url":"https://api.github.com/users/gpuopenanalytics/orgs","repos_url":"https://api.github.com/users/gpuopenanalytics/repos","events_url":"https://api.github.com/users/gpuopenanalytics/events{/privacy}","received_events_url":"https://api.github.com/users/gpuopenanalytics/received_events","type":"Organization","site_admin":false},"repo":{"id":90506918,"node_id":"MDEwOlJlcG9zaXRvcnk5MDUwNjkxOA==","name":"pygdf","full_name":"gpuopenanalytics/pygdf","owner":{"login":"gpuopenanalytics","id":28068574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MDY4NTc0","avatar_url":"https://avatars2.githubusercontent.com/u/28068574?v=4","gravatar_id":"","url":"https://api.github.com/users/gpuopenanalytics","html_url":"https://github.com/gpuopenanalytics","followers_url":"https://api.github.com/users/gpuopenanalytics/followers","following_url":"https://api.github.com/users/gpuopenanalytics/following{/other_user}","gists_url":"https://api.github.com/users/gpuopenanalytics/gists{/gist_id}","starred_url":"https://api.github.com/users/gpuopenanalytics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpuopenanalytics/subscriptions","organizations_url":"https://api.github.com/users/gpuopenanalytics/orgs","repos_url":"https://api.github.com/users/gpuopenanalytics/repos","events_url":"https://api.github.com/users/gpuopenanalytics/events{/privacy}","received_events_url":"https://api.github.com/users/gpuopenanalytics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gpuopenanalytics/pygdf","description":"GPU Data Frame","fork":false,"url":"https://api.github.com/repos/gpuopenanalytics/pygdf","forks_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/forks","keys_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/teams","hooks_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/hooks","issue_events_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/issues/events{/number}","events_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/events","assignees_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/assignees{/user}","branches_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/branches{/branch}","tags_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/tags","blobs_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/git/refs{/sha}","trees_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/statuses/{sha}","languages_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/languages","stargazers_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/stargazers","contributors_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/contributors","subscribers_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/subscribers","subscription_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/subscription","commits_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/commits{/sha}","git_commits_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/git/commits{/sha}","comments_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/comments{/number}","issue_comment_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/issues/comments{/number}","contents_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/contents/{+path}","compare_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/merges","archive_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/downloads","issues_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/issues{/number}","pulls_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls{/number}","milestones_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/milestones{/number}","notifications_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/labels{/name}","releases_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/releases{/id}","deployments_url":"https://api.github.com/repos/gpuopenanalytics/pygdf/deployments","created_at":"2017-05-07T03:43:37Z","updated_at":"2018-07-30T14:08:57Z","pushed_at":"2018-07-30T14:08:55Z","git_url":"git://github.com/gpuopenanalytics/pygdf.git","ssh_url":"git@github.com:gpuopenanalytics/pygdf.git","clone_url":"https://github.com/gpuopenanalytics/pygdf.git","svn_url":"https://github.com/gpuopenanalytics/pygdf","homepage":null,"size":2652,"stargazers_count":416,"watchers_count":416,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":64,"open_issues":42,"watchers":416,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/172"},"html":{"href":"https://github.com/gpuopenanalytics/pygdf/pull/172"},"issue":{"href":"https://api.github.com/repos/gpuopenanalytics/pygdf/issues/172"},"comments":{"href":"https://api.github.com/repos/gpuopenanalytics/pygdf/issues/172/comments"},"review_comments":{"href":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/172/comments"},"review_comment":{"href":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gpuopenanalytics/pygdf/pulls/172/commits"},"statuses":{"href":"https://api.github.com/repos/gpuopenanalytics/pygdf/statuses/8519b0cb974d553307124a0af307c0261ae516d8"}},"author_association":"NONE"}}
{"actor":{"display_login":"scopatz"}}