payload: {"action":"created","issue":{"url":"https://api.github.com/repos/openml/openml-python/issues/497","repository_url":"https://api.github.com/repos/openml/openml-python","labels_url":"https://api.github.com/repos/openml/openml-python/issues/497/labels{/name}","comments_url":"https://api.github.com/repos/openml/openml-python/issues/497/comments","events_url":"https://api.github.com/repos/openml/openml-python/issues/497/events","html_url":"https://github.com/openml/openml-python/issues/497","id":345844866,"node_id":"MDU6SXNzdWUzNDU4NDQ4NjY=","number":497,"title":"How to know and skip if dataset having string features? \"PyOpenMLError: Dataset 376 not compatible, PyOpenML cannot handle string features\"","user":{"login":"vchouksey","id":6507341,"node_id":"MDQ6VXNlcjY1MDczNDE=","avatar_url":"https://avatars2.githubusercontent.com/u/6507341?v=4","gravatar_id":"","url":"https://api.github.com/users/vchouksey","html_url":"https://github.com/vchouksey","followers_url":"https://api.github.com/users/vchouksey/followers","following_url":"https://api.github.com/users/vchouksey/following{/other_user}","gists_url":"https://api.github.com/users/vchouksey/gists{/gist_id}","starred_url":"https://api.github.com/users/vchouksey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchouksey/subscriptions","organizations_url":"https://api.github.com/users/vchouksey/orgs","repos_url":"https://api.github.com/users/vchouksey/repos","events_url":"https://api.github.com/users/vchouksey/events{/privacy}","received_events_url":"https://api.github.com/users/vchouksey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-30T16:54:32Z","updated_at":"2019-03-19T15:24:39Z","closed_at":"2019-03-19T15:24:39Z","author_association":"NONE","body":"#### Description\r\nPyOpenMLError: Dataset 376 not compatible, PyOpenML cannot handle string features\r\n\r\n#### Steps/Code to Reproduce\r\n```\r\n     1 def new_df(ds):\r\n      2     dataset = oml.datasets.get_dataset(ds)\r\n 3     X, y_true, categorical = dataset.get_data(target=dataset.default_target_attribute, return_categorical_indicator=True)\r\n      4     X, y, attribute_names = dataset.get_data(target=dataset.default_target_attribute, return_attribute_names=True)\r\n      5     halloffame = pd.DataFrame(X, columns=attribute_names)\r\n```\r\n\r\n/usr/local/anaconda/lib/python3.6/site-packages/openml-0.7.0-py3.6.egg/openml/datasets/dataset.py in get_data(self, target, include_row_id, include_ignore_attributes, return_categorical_indicator, return_attribute_names)\r\n    227             raise PyOpenMLError(\r\n    228                 'Dataset %d not compatible, PyOpenML cannot handle string '\r\n 229                 'features' % self.dataset_id\r\n    230             )\r\n    231 \r\n\r\nPyOpenMLError: Dataset 376 not compatible, PyOpenML cannot handle string features\r\n\r\n#### Expected Results\r\nSkip these type of errors or precheck or fix?\r\n\r\n#### Actual Results\r\n\r\nAlready doing one-hot encoding see below\r\n\r\n```\r\n dataset = oml.datasets.get_dataset(ds)\r\n    X, y_true, categorical = dataset.get_data(target=dataset.default_target_attribute, return_categorical_indicator=True)\r\n    X, y, attribute_names = dataset.get_data(target=dataset.default_target_attribute, return_attribute_names=True)\r\n    halloffame = pd.DataFrame(X, columns=attribute_names)\r\n    if halloffame.isnull().values.any() == True:\r\n        imp = preprocessing.Imputer(strategy='median')\r\n        X = imp.fit_transform(X)\r\n    enc = preprocessing.OneHotEncoder(categorical_features=categorical)  \r\n    X = enc.fit_transform(X)\r\n```\r\n\r\n#### Versions\r\nLinux-3.13.0-147-generic-x86_64-with-debian-jessie-sid\r\nPython 3.6.2 |Anaconda custom (64-bit)| (default, Jul 20 2017, 13:51:32) \r\n[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]\r\nNumPy 1.13.3.10\r\nSciPy 1.0.0.0\r\nScikit-Learn 0.19.0\r\nOpenML 0.7.0"},"comment":{"url":"https://api.github.com/repos/openml/openml-python/issues/comments/474422065","html_url":"https://github.com/openml/openml-python/issues/497#issuecomment-474422065","issue_url":"https://api.github.com/repos/openml/openml-python/issues/497","id":474422065,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NDQyMjA2NQ==","user":{"login":"mfeurer","id":5320498,"node_id":"MDQ6VXNlcjUzMjA0OTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5320498?v=4","gravatar_id":"","url":"https://api.github.com/users/mfeurer","html_url":"https://github.com/mfeurer","followers_url":"https://api.github.com/users/mfeurer/followers","following_url":"https://api.github.com/users/mfeurer/following{/other_user}","gists_url":"https://api.github.com/users/mfeurer/gists{/gist_id}","starred_url":"https://api.github.com/users/mfeurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfeurer/subscriptions","organizations_url":"https://api.github.com/users/mfeurer/orgs","repos_url":"https://api.github.com/users/mfeurer/repos","events_url":"https://api.github.com/users/mfeurer/events{/privacy}","received_events_url":"https://api.github.com/users/mfeurer/received_events","type":"User","site_admin":false},"created_at":"2019-03-19T15:24:39Z","updated_at":"2019-03-19T15:24:39Z","author_association":"CONTRIBUTOR","body":"We actually fixed this in #548."}}
other: {"actor":{"display_login":"mfeurer"}}