{"action":"created","comment":{"url":"https://api.github.com/repos/chainer/chainer/pulls/comments/283110302","pull_request_review_id":236391174,"id":283110302,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4MzExMDMwMg==","diff_hunk":"@@ -447,6 +447,27 @@ def _docs_indexing():\n .. seealso:: :func:`numpy.take`\n \"\"\")\n \n+    _docs.set_doc(\n+        chainerx.where,\n+        \"\"\"where(condition, x, y)\n+Return elements chosen from x or y depending on condition.\n+\n+Args:\n+    condition (~chainerx.ndarray): Where True, yield x, otherwise yield y.\n+    x (~chainerx.ndarray): Values from which to choose.\n+    y (~chainerx.ndarray): Values from which to choose.\n+\n+Returns:\n+    :func:`~chainerx.ndarray`: An array with elements\n+    from x where condition is True, and elements from y elsewhere.","path":"chainerx/_docs/routines.py","position":16,"original_position":16,"commit_id":"0a51fc350d09e17263d1b166c00394a81f578a8a","original_commit_id":"0a51fc350d09e17263d1b166c00394a81f578a8a","user":{"login":"asi1024","id":5086403,"node_id":"MDQ6VXNlcjUwODY0MDM=","avatar_url":"https://avatars1.githubusercontent.com/u/5086403?v=4","gravatar_id":"","url":"https://api.github.com/users/asi1024","html_url":"https://github.com/asi1024","followers_url":"https://api.github.com/users/asi1024/followers","following_url":"https://api.github.com/users/asi1024/following{/other_user}","gists_url":"https://api.github.com/users/asi1024/gists{/gist_id}","starred_url":"https://api.github.com/users/asi1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asi1024/subscriptions","organizations_url":"https://api.github.com/users/asi1024/orgs","repos_url":"https://api.github.com/users/asi1024/repos","events_url":"https://api.github.com/users/asi1024/events{/privacy}","received_events_url":"https://api.github.com/users/asi1024/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n    from ``x`` where condition is True, and elements from ``y`` elsewhere.\r\n```","created_at":"2019-05-11T20:20:33Z","updated_at":"2019-05-11T20:24:59Z","html_url":"https://github.com/chainer/chainer/pull/7067#discussion_r283110302","pull_request_url":"https://api.github.com/repos/chainer/chainer/pulls/7067","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/chainer/chainer/pulls/comments/283110302"},"html":{"href":"https://github.com/chainer/chainer/pull/7067#discussion_r283110302"},"pull_request":{"href":"https://api.github.com/repos/chainer/chainer/pulls/7067"}}},"pull_request":{"url":"https://api.github.com/repos/chainer/chainer/pulls/7067","id":275898131,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc1ODk4MTMx","html_url":"https://github.com/chainer/chainer/pull/7067","diff_url":"https://github.com/chainer/chainer/pull/7067.diff","patch_url":"https://github.com/chainer/chainer/pull/7067.patch","issue_url":"https://api.github.com/repos/chainer/chainer/issues/7067","number":7067,"state":"open","locked":false,"title":"[chainerx] add indexing where","user":{"login":"kshitij12345","id":19503980,"node_id":"MDQ6VXNlcjE5NTAzOTgw","avatar_url":"https://avatars3.githubusercontent.com/u/19503980?v=4","gravatar_id":"","url":"https://api.github.com/users/kshitij12345","html_url":"https://github.com/kshitij12345","followers_url":"https://api.github.com/users/kshitij12345/followers","following_url":"https://api.github.com/users/kshitij12345/following{/other_user}","gists_url":"https://api.github.com/users/kshitij12345/gists{/gist_id}","starred_url":"https://api.github.com/users/kshitij12345/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshitij12345/subscriptions","organizations_url":"https://api.github.com/users/kshitij12345/orgs","repos_url":"https://api.github.com/users/kshitij12345/repos","events_url":"https://api.github.com/users/kshitij12345/events{/privacy}","received_events_url":"https://api.github.com/users/kshitij12345/received_events","type":"User","site_admin":false},"body":"References : #6423 \r\n\r\nTo-Do:\r\n* ~~Tests.~~\r\n* ~~Documentation.~~","created_at":"2019-05-04T05:40:55Z","updated_at":"2019-05-11T20:24:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"730ed15717016a3d7149009396ddfc083223097b","assignee":{"login":"asi1024","id":5086403,"node_id":"MDQ6VXNlcjUwODY0MDM=","avatar_url":"https://avatars1.githubusercontent.com/u/5086403?v=4","gravatar_id":"","url":"https://api.github.com/users/asi1024","html_url":"https://github.com/asi1024","followers_url":"https://api.github.com/users/asi1024/followers","following_url":"https://api.github.com/users/asi1024/following{/other_user}","gists_url":"https://api.github.com/users/asi1024/gists{/gist_id}","starred_url":"https://api.github.com/users/asi1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asi1024/subscriptions","organizations_url":"https://api.github.com/users/asi1024/orgs","repos_url":"https://api.github.com/users/asi1024/repos","events_url":"https://api.github.com/users/asi1024/events{/privacy}","received_events_url":"https://api.github.com/users/asi1024/received_events","type":"User","site_admin":false},"assignees":[{"login":"asi1024","id":5086403,"node_id":"MDQ6VXNlcjUwODY0MDM=","avatar_url":"https://avatars1.githubusercontent.com/u/5086403?v=4","gravatar_id":"","url":"https://api.github.com/users/asi1024","html_url":"https://github.com/asi1024","followers_url":"https://api.github.com/users/asi1024/followers","following_url":"https://api.github.com/users/asi1024/following{/other_user}","gists_url":"https://api.github.com/users/asi1024/gists{/gist_id}","starred_url":"https://api.github.com/users/asi1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asi1024/subscriptions","organizations_url":"https://api.github.com/users/asi1024/orgs","repos_url":"https://api.github.com/users/asi1024/repos","events_url":"https://api.github.com/users/asi1024/events{/privacy}","received_events_url":"https://api.github.com/users/asi1024/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1144360898,"node_id":"MDU6TGFiZWwxMTQ0MzYwODk4","url":"https://api.github.com/repos/chainer/chainer/labels/ChainerX","name":"ChainerX","color":"006b75","default":false},{"id":222603817,"node_id":"MDU6TGFiZWwyMjI2MDM4MTc=","url":"https://api.github.com/repos/chainer/chainer/labels/cat:feature","name":"cat:feature","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/chainer/chainer/pulls/7067/commits","review_comments_url":"https://api.github.com/repos/chainer/chainer/pulls/7067/comments","review_comment_url":"https://api.github.com/repos/chainer/chainer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chainer/chainer/issues/7067/comments","statuses_url":"https://api.github.com/repos/chainer/chainer/statuses/0a51fc350d09e17263d1b166c00394a81f578a8a","head":{"label":"kshitij12345:add-where","ref":"add-where","sha":"0a51fc350d09e17263d1b166c00394a81f578a8a","user":{"login":"kshitij12345","id":19503980,"node_id":"MDQ6VXNlcjE5NTAzOTgw","avatar_url":"https://avatars3.githubusercontent.com/u/19503980?v=4","gravatar_id":"","url":"https://api.github.com/users/kshitij12345","html_url":"https://github.com/kshitij12345","followers_url":"https://api.github.com/users/kshitij12345/followers","following_url":"https://api.github.com/users/kshitij12345/following{/other_user}","gists_url":"https://api.github.com/users/kshitij12345/gists{/gist_id}","starred_url":"https://api.github.com/users/kshitij12345/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshitij12345/subscriptions","organizations_url":"https://api.github.com/users/kshitij12345/orgs","repos_url":"https://api.github.com/users/kshitij12345/repos","events_url":"https://api.github.com/users/kshitij12345/events{/privacy}","received_events_url":"https://api.github.com/users/kshitij12345/received_events","type":"User","site_admin":false},"repo":{"id":177108956,"node_id":"MDEwOlJlcG9zaXRvcnkxNzcxMDg5NTY=","name":"chainer","full_name":"kshitij12345/chainer","private":false,"owner":{"login":"kshitij12345","id":19503980,"node_id":"MDQ6VXNlcjE5NTAzOTgw","avatar_url":"https://avatars3.githubusercontent.com/u/19503980?v=4","gravatar_id":"","url":"https://api.github.com/users/kshitij12345","html_url":"https://github.com/kshitij12345","followers_url":"https://api.github.com/users/kshitij12345/followers","following_url":"https://api.github.com/users/kshitij12345/following{/other_user}","gists_url":"https://api.github.com/users/kshitij12345/gists{/gist_id}","starred_url":"https://api.github.com/users/kshitij12345/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshitij12345/subscriptions","organizations_url":"https://api.github.com/users/kshitij12345/orgs","repos_url":"https://api.github.com/users/kshitij12345/repos","events_url":"https://api.github.com/users/kshitij12345/events{/privacy}","received_events_url":"https://api.github.com/users/kshitij12345/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kshitij12345/chainer","description":"A flexible framework of neural networks for deep learning","fork":true,"url":"https://api.github.com/repos/kshitij12345/chainer","forks_url":"https://api.github.com/repos/kshitij12345/chainer/forks","keys_url":"https://api.github.com/repos/kshitij12345/chainer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kshitij12345/chainer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kshitij12345/chainer/teams","hooks_url":"https://api.github.com/repos/kshitij12345/chainer/hooks","issue_events_url":"https://api.github.com/repos/kshitij12345/chainer/issues/events{/number}","events_url":"https://api.github.com/repos/kshitij12345/chainer/events","assignees_url":"https://api.github.com/repos/kshitij12345/chainer/assignees{/user}","branches_url":"https://api.github.com/repos/kshitij12345/chainer/branches{/branch}","tags_url":"https://api.github.com/repos/kshitij12345/chainer/tags","blobs_url":"https://api.github.com/repos/kshitij12345/chainer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kshitij12345/chainer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kshitij12345/chainer/git/refs{/sha}","trees_url":"https://api.github.com/repos/kshitij12345/chainer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kshitij12345/chainer/statuses/{sha}","languages_url":"https://api.github.com/repos/kshitij12345/chainer/languages","stargazers_url":"https://api.github.com/repos/kshitij12345/chainer/stargazers","contributors_url":"https://api.github.com/repos/kshitij12345/chainer/contributors","subscribers_url":"https://api.github.com/repos/kshitij12345/chainer/subscribers","subscription_url":"https://api.github.com/repos/kshitij12345/chainer/subscription","commits_url":"https://api.github.com/repos/kshitij12345/chainer/commits{/sha}","git_commits_url":"https://api.github.com/repos/kshitij12345/chainer/git/commits{/sha}","comments_url":"https://api.github.com/repos/kshitij12345/chainer/comments{/number}","issue_comment_url":"https://api.github.com/repos/kshitij12345/chainer/issues/comments{/number}","contents_url":"https://api.github.com/repos/kshitij12345/chainer/contents/{+path}","compare_url":"https://api.github.com/repos/kshitij12345/chainer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kshitij12345/chainer/merges","archive_url":"https://api.github.com/repos/kshitij12345/chainer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kshitij12345/chainer/downloads","issues_url":"https://api.github.com/repos/kshitij12345/chainer/issues{/number}","pulls_url":"https://api.github.com/repos/kshitij12345/chainer/pulls{/number}","milestones_url":"https://api.github.com/repos/kshitij12345/chainer/milestones{/number}","notifications_url":"https://api.github.com/repos/kshitij12345/chainer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kshitij12345/chainer/labels{/name}","releases_url":"https://api.github.com/repos/kshitij12345/chainer/releases{/id}","deployments_url":"https://api.github.com/repos/kshitij12345/chainer/deployments","created_at":"2019-03-22T09:16:18Z","updated_at":"2019-04-11T14:44:26Z","pushed_at":"2019-05-11T18:45:43Z","git_url":"git://github.com/kshitij12345/chainer.git","ssh_url":"git@github.com:kshitij12345/chainer.git","clone_url":"https://github.com/kshitij12345/chainer.git","svn_url":"https://github.com/kshitij12345/chainer","homepage":"https://chainer.org","size":45797,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chainer:master","ref":"master","sha":"39fffb9597a6e9646307fba27ad3233c65d38632","user":{"login":"chainer","id":23183003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMTgzMDAz","avatar_url":"https://avatars3.githubusercontent.com/u/23183003?v=4","gravatar_id":"","url":"https://api.github.com/users/chainer","html_url":"https://github.com/chainer","followers_url":"https://api.github.com/users/chainer/followers","following_url":"https://api.github.com/users/chainer/following{/other_user}","gists_url":"https://api.github.com/users/chainer/gists{/gist_id}","starred_url":"https://api.github.com/users/chainer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chainer/subscriptions","organizations_url":"https://api.github.com/users/chainer/orgs","repos_url":"https://api.github.com/users/chainer/repos","events_url":"https://api.github.com/users/chainer/events{/privacy}","received_events_url":"https://api.github.com/users/chainer/received_events","type":"Organization","site_admin":false},"repo":{"id":36914478,"node_id":"MDEwOlJlcG9zaXRvcnkzNjkxNDQ3OA==","name":"chainer","full_name":"chainer/chainer","private":false,"owner":{"login":"chainer","id":23183003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMTgzMDAz","avatar_url":"https://avatars3.githubusercontent.com/u/23183003?v=4","gravatar_id":"","url":"https://api.github.com/users/chainer","html_url":"https://github.com/chainer","followers_url":"https://api.github.com/users/chainer/followers","following_url":"https://api.github.com/users/chainer/following{/other_user}","gists_url":"https://api.github.com/users/chainer/gists{/gist_id}","starred_url":"https://api.github.com/users/chainer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chainer/subscriptions","organizations_url":"https://api.github.com/users/chainer/orgs","repos_url":"https://api.github.com/users/chainer/repos","events_url":"https://api.github.com/users/chainer/events{/privacy}","received_events_url":"https://api.github.com/users/chainer/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/chainer/chainer","description":"A flexible framework of neural networks for deep learning","fork":false,"url":"https://api.github.com/repos/chainer/chainer","forks_url":"https://api.github.com/repos/chainer/chainer/forks","keys_url":"https://api.github.com/repos/chainer/chainer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chainer/chainer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chainer/chainer/teams","hooks_url":"https://api.github.com/repos/chainer/chainer/hooks","issue_events_url":"https://api.github.com/repos/chainer/chainer/issues/events{/number}","events_url":"https://api.github.com/repos/chainer/chainer/events","assignees_url":"https://api.github.com/repos/chainer/chainer/assignees{/user}","branches_url":"https://api.github.com/repos/chainer/chainer/branches{/branch}","tags_url":"https://api.github.com/repos/chainer/chainer/tags","blobs_url":"https://api.github.com/repos/chainer/chainer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chainer/chainer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chainer/chainer/git/refs{/sha}","trees_url":"https://api.github.com/repos/chainer/chainer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chainer/chainer/statuses/{sha}","languages_url":"https://api.github.com/repos/chainer/chainer/languages","stargazers_url":"https://api.github.com/repos/chainer/chainer/stargazers","contributors_url":"https://api.github.com/repos/chainer/chainer/contributors","subscribers_url":"https://api.github.com/repos/chainer/chainer/subscribers","subscription_url":"https://api.github.com/repos/chainer/chainer/subscription","commits_url":"https://api.github.com/repos/chainer/chainer/commits{/sha}","git_commits_url":"https://api.github.com/repos/chainer/chainer/git/commits{/sha}","comments_url":"https://api.github.com/repos/chainer/chainer/comments{/number}","issue_comment_url":"https://api.github.com/repos/chainer/chainer/issues/comments{/number}","contents_url":"https://api.github.com/repos/chainer/chainer/contents/{+path}","compare_url":"https://api.github.com/repos/chainer/chainer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chainer/chainer/merges","archive_url":"https://api.github.com/repos/chainer/chainer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chainer/chainer/downloads","issues_url":"https://api.github.com/repos/chainer/chainer/issues{/number}","pulls_url":"https://api.github.com/repos/chainer/chainer/pulls{/number}","milestones_url":"https://api.github.com/repos/chainer/chainer/milestones{/number}","notifications_url":"https://api.github.com/repos/chainer/chainer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chainer/chainer/labels{/name}","releases_url":"https://api.github.com/repos/chainer/chainer/releases{/id}","deployments_url":"https://api.github.com/repos/chainer/chainer/deployments","created_at":"2015-06-05T05:50:37Z","updated_at":"2019-05-11T18:46:01Z","pushed_at":"2019-05-11T18:45:44Z","git_url":"git://github.com/chainer/chainer.git","ssh_url":"git@github.com:chainer/chainer.git","clone_url":"https://github.com/chainer/chainer.git","svn_url":"https://github.com/chainer/chainer","homepage":"https://chainer.org","size":45816,"stargazers_count":4775,"watchers_count":4775,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1260,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":364,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1260,"open_issues":364,"watchers":4775,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chainer/chainer/pulls/7067"},"html":{"href":"https://github.com/chainer/chainer/pull/7067"},"issue":{"href":"https://api.github.com/repos/chainer/chainer/issues/7067"},"comments":{"href":"https://api.github.com/repos/chainer/chainer/issues/7067/comments"},"review_comments":{"href":"https://api.github.com/repos/chainer/chainer/pulls/7067/comments"},"review_comment":{"href":"https://api.github.com/repos/chainer/chainer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chainer/chainer/pulls/7067/commits"},"statuses":{"href":"https://api.github.com/repos/chainer/chainer/statuses/0a51fc350d09e17263d1b166c00394a81f578a8a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"asi1024"}}