Returning None instead of "python" if dataset is unformatted
MEMBER
We have to change the tests to expect `None` instead of `python` then
2020-08-24T12:15:22Z
https://github.com/huggingface/datasets/pull/526#issuecomment-679090814
https://api.github.com/repos/huggingface/datasets/issues/526
MDEyOklzc3VlQ29tbWVudDY3OTA5MDgxNA==
https://api.github.com/repos/huggingface/datasets/issues/comments/679090814/reactions
2020-08-24T12:15:22Z
https://api.github.com/repos/huggingface/datasets/issues/comments/679090814
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
CONTRIBUTOR
Merging!
2020-08-24T12:50:37Z
https://github.com/huggingface/datasets/pull/526#issuecomment-679106894
https://api.github.com/repos/huggingface/datasets/issues/526
MDEyOklzc3VlQ29tbWVudDY3OTEwNjg5NA==
https://api.github.com/repos/huggingface/datasets/issues/comments/679106894/reactions
2020-08-24T12:50:37Z
https://api.github.com/repos/huggingface/datasets/issues/comments/679106894
https://avatars.githubusercontent.com/u/26709476?v=4
https://api.github.com/users/TevenLeScao/events{/privacy}
https://api.github.com/users/TevenLeScao/followers
https://api.github.com/users/TevenLeScao/following{/other_user}
https://api.github.com/users/TevenLeScao/gists{/gist_id}
https://github.com/TevenLeScao
TevenLeScao
MDQ6VXNlcjI2NzA5NDc2
https://api.github.com/users/TevenLeScao/orgs
https://api.github.com/users/TevenLeScao/received_events
https://api.github.com/users/TevenLeScao/repos
https://api.github.com/users/TevenLeScao/starred{/owner}{/repo}
https://api.github.com/users/TevenLeScao/subscriptions
User
https://api.github.com/users/TevenLeScao
public
Following the discussion on Slack, this small fix ensures that calling `dataset.set_format(type=dataset.format["type"])` works properly. Slightly breaking as calling `dataset.format` when the dataset is unformatted will return `None` instead of `python`.