{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/7627","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/7627/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/7627/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/7627/events","html_url":"https://github.com/scikit-learn/scikit-learn/issues/7627","id":182039194,"number":7627,"title":"Add a \"filename\" attribute to datasets that have a CSV file","user":{"login":"GaelVaroquaux","id":208217,"avatar_url":"https://avatars.githubusercontent.com/u/208217?v=3","gravatar_id":"","url":"https://api.github.com/users/GaelVaroquaux","html_url":"https://github.com/GaelVaroquaux","followers_url":"https://api.github.com/users/GaelVaroquaux/followers","following_url":"https://api.github.com/users/GaelVaroquaux/following{/other_user}","gists_url":"https://api.github.com/users/GaelVaroquaux/gists{/gist_id}","starred_url":"https://api.github.com/users/GaelVaroquaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaelVaroquaux/subscriptions","organizations_url":"https://api.github.com/users/GaelVaroquaux/orgs","repos_url":"https://api.github.com/users/GaelVaroquaux/repos","events_url":"https://api.github.com/users/GaelVaroquaux/events{/privacy}","received_events_url":"https://api.github.com/users/GaelVaroquaux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation","name":"Documentation","color":"0b02e1"},{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Easy","name":"Easy","color":"02d7e1"},{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Enhancement","name":"Enhancement","color":"d7e102"},{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Need%20Contributor","name":"Need Contributor","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-10T15:07:26Z","updated_at":"2016-10-17T08:51:49Z","closed_at":null,"body":"For datasets that are associated to a CSV file, I'd like to suggest adding a \"filename\" attribute to the data Bunch returned. This would enable demoing using something like pandas to load the data during a tutorial, and hence hopefully help people understanding how to get their data in scikit-learn.\r\n\r\nSteps:\r\n\r\n- [ ] Add the filename attribute to load_iris, load_boston, load_breast_cancer\r\n- [ ] Add a data_filename, target_filename to load_diabetes, load_linnerud\r\n- [ ] Add this attribute to the docstring of each function\r\n- [ ] Add an example of loading the data with np.loadtxt in the tutorials, typically where load_iris is used.  Also point to pandas with a quick remark (and a link) at this place."},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/254149672","html_url":"https://github.com/scikit-learn/scikit-learn/issues/7627#issuecomment-254149672","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/7627","id":254149672,"user":{"login":"karmagamer","id":12129202,"avatar_url":"https://avatars.githubusercontent.com/u/12129202?v=3","gravatar_id":"","url":"https://api.github.com/users/karmagamer","html_url":"https://github.com/karmagamer","followers_url":"https://api.github.com/users/karmagamer/followers","following_url":"https://api.github.com/users/karmagamer/following{/other_user}","gists_url":"https://api.github.com/users/karmagamer/gists{/gist_id}","starred_url":"https://api.github.com/users/karmagamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karmagamer/subscriptions","organizations_url":"https://api.github.com/users/karmagamer/orgs","repos_url":"https://api.github.com/users/karmagamer/repos","events_url":"https://api.github.com/users/karmagamer/events{/privacy}","received_events_url":"https://api.github.com/users/karmagamer/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T08:51:49Z","updated_at":"2016-10-17T08:51:49Z","body":"@GaelVaroquaux . Sorry. I didn't check. I just saw the label. My bad."}}
{"actor":{"display_login":"karmagamer"}}