{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/12065","repository_url":"https://api.github.com/repos/numpy/numpy","labels_url":"https://api.github.com/repos/numpy/numpy/issues/12065/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/12065/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/12065/events","html_url":"https://github.com/numpy/numpy/pull/12065","id":365538058,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NDM1MTUx","number":12065,"title":"MAINT: Optimize np.isin and np.in1d for integer arrays","user":{"login":"MilesCranmer","id":7593028,"node_id":"MDQ6VXNlcjc1OTMwMjg=","avatar_url":"https://avatars2.githubusercontent.com/u/7593028?v=4","gravatar_id":"","url":"https://api.github.com/users/MilesCranmer","html_url":"https://github.com/MilesCranmer","followers_url":"https://api.github.com/users/MilesCranmer/followers","following_url":"https://api.github.com/users/MilesCranmer/following{/other_user}","gists_url":"https://api.github.com/users/MilesCranmer/gists{/gist_id}","starred_url":"https://api.github.com/users/MilesCranmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MilesCranmer/subscriptions","organizations_url":"https://api.github.com/users/MilesCranmer/orgs","repos_url":"https://api.github.com/users/MilesCranmer/repos","events_url":"https://api.github.com/users/MilesCranmer/events{/privacy}","received_events_url":"https://api.github.com/users/MilesCranmer/received_events","type":"User","site_admin":false},"labels":[{"id":36825825,"node_id":"MDU6TGFiZWwzNjgyNTgyNQ==","url":"https://api.github.com/repos/numpy/numpy/labels/03%20-%20Maintenance","name":"03 - Maintenance","color":"fef2c0","default":false},{"id":325755452,"node_id":"MDU6TGFiZWwzMjU3NTU0NTI=","url":"https://api.github.com/repos/numpy/numpy/labels/56%20-%20Needs%20Release%20Note.","name":"56 - Needs Release Note.","color":"207de5","default":false},{"id":16917082,"node_id":"MDU6TGFiZWwxNjkxNzA4Mg==","url":"https://api.github.com/repos/numpy/numpy/labels/component:%20numpy.lib","name":"component: numpy.lib","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":38,"created_at":"2018-10-01T16:19:24Z","updated_at":"2018-12-27T06:00:47Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/numpy/numpy/pulls/12065","html_url":"https://github.com/numpy/numpy/pull/12065","diff_url":"https://github.com/numpy/numpy/pull/12065.diff","patch_url":"https://github.com/numpy/numpy/pull/12065.patch"},"body":"This commit adds some simple functionality to np.isin and np.in1d that greatly increases performance when both arrays are integral. It works by creating a boolean array with elements set to 1 where the parent array (ar2) has elements and 0 otherwise. This array is then indexed by the child array (ar1) to create the output."},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/450081729","html_url":"https://github.com/numpy/numpy/pull/12065#issuecomment-450081729","issue_url":"https://api.github.com/repos/numpy/numpy/issues/12065","id":450081729,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDA4MTcyOQ==","user":{"login":"MilesCranmer","id":7593028,"node_id":"MDQ6VXNlcjc1OTMwMjg=","avatar_url":"https://avatars2.githubusercontent.com/u/7593028?v=4","gravatar_id":"","url":"https://api.github.com/users/MilesCranmer","html_url":"https://github.com/MilesCranmer","followers_url":"https://api.github.com/users/MilesCranmer/followers","following_url":"https://api.github.com/users/MilesCranmer/following{/other_user}","gists_url":"https://api.github.com/users/MilesCranmer/gists{/gist_id}","starred_url":"https://api.github.com/users/MilesCranmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MilesCranmer/subscriptions","organizations_url":"https://api.github.com/users/MilesCranmer/orgs","repos_url":"https://api.github.com/users/MilesCranmer/repos","events_url":"https://api.github.com/users/MilesCranmer/events{/privacy}","received_events_url":"https://api.github.com/users/MilesCranmer/received_events","type":"User","site_admin":false},"created_at":"2018-12-27T06:00:47Z","updated_at":"2018-12-27T06:00:47Z","author_association":"NONE","body":"Thanks @hameerabbasi, adding these now. Do you know why the build is failing? It builds and tests (the isin parts) fine on my machine.\r\n\r\nI see another implementation of isin/in1d in ma/extras.py - is this the other signature that the travis build complains about? "}}
{"actor":{"display_login":"MilesCranmer"}}