{"action":"opened","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10780","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10780/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10780/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10780/events","html_url":"https://github.com/scikit-learn/scikit-learn/issues/10780","id":303535922,"number":10780,"title":"Warnings when importing 'make_pipeline' and 'make_union'","user":{"login":"Sinclert","id":6978377,"avatar_url":"https://avatars3.githubusercontent.com/u/6978377?v=4","gravatar_id":"","url":"https://api.github.com/users/Sinclert","html_url":"https://github.com/Sinclert","followers_url":"https://api.github.com/users/Sinclert/followers","following_url":"https://api.github.com/users/Sinclert/following{/other_user}","gists_url":"https://api.github.com/users/Sinclert/gists{/gist_id}","starred_url":"https://api.github.com/users/Sinclert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sinclert/subscriptions","organizations_url":"https://api.github.com/users/Sinclert/orgs","repos_url":"https://api.github.com/users/Sinclert/repos","events_url":"https://api.github.com/users/Sinclert/events{/privacy}","received_events_url":"https://api.github.com/users/Sinclert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-08T16:09:11Z","updated_at":"2018-03-08T16:09:11Z","closed_at":null,"author_association":"NONE","body":"There is a warning when importing 'make_pipeline' and 'make_union' in certain IDEs (PyCharm for instance) due to the fact that those function names are not included inside the '\\_\\_all\\_\\_' structure inside the _sklearn.pipeline_ modules.\r\n\r\n**Solution:**\r\n\r\n1. How is it now?\r\n`__all__ = ['Pipeline', 'FeatureUnion']`\r\n\r\n2. How it should be?\r\n`__all__ = ['Pipeline', 'FeatureUnion', 'make_pipeline', 'make_union']`\r\n\r\n**Versions:**\r\nIt happens in the last version of the package (v. 0.19.1)\r\n"}}
{"actor":{"display_login":"Sinclert"}}