{"action":"opened","issue":{"url":"https://api.github.com/repos/Quantipy/quantipy/issues/615","repository_url":"https://api.github.com/repos/Quantipy/quantipy","labels_url":"https://api.github.com/repos/Quantipy/quantipy/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/Quantipy/quantipy/issues/615/comments","events_url":"https://api.github.com/repos/Quantipy/quantipy/issues/615/events","html_url":"https://github.com/Quantipy/quantipy/issues/615","id":184547985,"number":615,"title":"hmerge() fails when right_on is in data_left by left_on!=right_on ","user":{"login":"jamesrkg","id":5341764,"avatar_url":"https://avatars.githubusercontent.com/u/5341764?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesrkg","html_url":"https://github.com/jamesrkg","followers_url":"https://api.github.com/users/jamesrkg/followers","following_url":"https://api.github.com/users/jamesrkg/following{/other_user}","gists_url":"https://api.github.com/users/jamesrkg/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrkg/subscriptions","organizations_url":"https://api.github.com/users/jamesrkg/orgs","repos_url":"https://api.github.com/users/jamesrkg/repos","events_url":"https://api.github.com/users/jamesrkg/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrkg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Quantipy/quantipy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jamesrkg","id":5341764,"avatar_url":"https://avatars.githubusercontent.com/u/5341764?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesrkg","html_url":"https://github.com/jamesrkg","followers_url":"https://api.github.com/users/jamesrkg/followers","following_url":"https://api.github.com/users/jamesrkg/following{/other_user}","gists_url":"https://api.github.com/users/jamesrkg/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrkg/subscriptions","organizations_url":"https://api.github.com/users/jamesrkg/orgs","repos_url":"https://api.github.com/users/jamesrkg/repos","events_url":"https://api.github.com/users/jamesrkg/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrkg/received_events","type":"User","site_admin":false},"assignees":[{"login":"jamesrkg","id":5341764,"avatar_url":"https://avatars.githubusercontent.com/u/5341764?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesrkg","html_url":"https://github.com/jamesrkg","followers_url":"https://api.github.com/users/jamesrkg/followers","following_url":"https://api.github.com/users/jamesrkg/following{/other_user}","gists_url":"https://api.github.com/users/jamesrkg/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrkg/subscriptions","organizations_url":"https://api.github.com/users/jamesrkg/orgs","repos_url":"https://api.github.com/users/jamesrkg/repos","events_url":"https://api.github.com/users/jamesrkg/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrkg/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Quantipy/quantipy/milestones/63","html_url":"https://github.com/Quantipy/quantipy/milestones/RG-62","labels_url":"https://api.github.com/repos/Quantipy/quantipy/milestones/63/labels","id":2040759,"number":63,"title":"RG-62","description":"Review group 62.","creator":{"login":"jamesrkg","id":5341764,"avatar_url":"https://avatars.githubusercontent.com/u/5341764?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesrkg","html_url":"https://github.com/jamesrkg","followers_url":"https://api.github.com/users/jamesrkg/followers","following_url":"https://api.github.com/users/jamesrkg/following{/other_user}","gists_url":"https://api.github.com/users/jamesrkg/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrkg/subscriptions","organizations_url":"https://api.github.com/users/jamesrkg/orgs","repos_url":"https://api.github.com/users/jamesrkg/repos","events_url":"https://api.github.com/users/jamesrkg/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrkg/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":0,"state":"open","created_at":"2016-09-30T19:22:36Z","updated_at":"2016-10-21T19:08:23Z","due_on":"2016-10-21T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-10-21T19:08:23Z","updated_at":"2016-10-21T19:08:23Z","closed_at":null,"body":"E.g., `'identity'` exists in both datasets but is only the join key for the right one.\r\n\r\n```python\r\nds_merge = hmerge(\r\n\tds_A,\r\n\tds_B,\r\n\tleft_on='original_identity',\r\n\tright_on='identity',\r\n\tverbose=True\r\n)\r\n```\r\n\r\nIn this case special protection needs to be given because `right_on` is going to be used as a join key\r\nfrom the right dataset only, but it also exists in the left dataset (it's just not the join key from the left dataset) which means that a normal 'update' needs to happen between `right_on` from the right to the left as with any other column."}}
{"actor":{"display_login":"jamesrkg"}}