{"action":"closed","issue":{"url":"https://api.github.com/repos/Quantipy/quantipy/issues/479","repository_url":"https://api.github.com/repos/Quantipy/quantipy","labels_url":"https://api.github.com/repos/Quantipy/quantipy/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/Quantipy/quantipy/issues/479/comments","events_url":"https://api.github.com/repos/Quantipy/quantipy/issues/479/events","html_url":"https://github.com/Quantipy/quantipy/issues/479","id":149467952,"node_id":"MDU6SXNzdWUxNDk0Njc5NTI=","number":479,"title":"recode(..., intersect) not working for complex logic","user":{"login":"jamesrkg","id":5341764,"node_id":"MDQ6VXNlcjUzNDE3NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5341764?v=4","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":[{"id":234761208,"node_id":"MDU6TGFiZWwyMzQ3NjEyMDg=","url":"https://api.github.com/repos/Quantipy/quantipy/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"jamesrkg","id":5341764,"node_id":"MDQ6VXNlcjUzNDE3NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5341764?v=4","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,"node_id":"MDQ6VXNlcjUzNDE3NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5341764?v=4","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":null,"comments":1,"created_at":"2016-04-19T13:54:21Z","updated_at":"2018-08-30T18:19:31Z","closed_at":"2018-08-30T18:19:31Z","author_association":"CONTRIBUTOR","body":"In the following example only the `{'age': is_ge(50)}` part of the `intersect` argument is being applied.\n\n``` python\ndata[target] = recode(\n    meta, data,\n    target=target,\n    mapper={\n        1: [1,2],\n        2: [3,4,5,6,7,8,9,10,11,12,13,14],\n        3: [3,4,5],\n        4: [6,7,8,9,10,11,12,13,14]\n    },\n    default=column,\n    intersect=intersection([\n        {'age': is_ge(50)},\n        {'work': has_any([1,2,3])}\n    ])\n)\n```\n"}}
{"actor":{"display_login":"jamesrkg"}}