Fix deprecated warning message and docstring
MEMBER
I have a question: what about `dictionary_encode_column_`?
- It is deprecated in Dataset, but it recommends using a non-existing method instead: `Dataset.dictionary_encode_column` does not exist.
- It is NOT deprecated in DatasetDict.
2021-03-23T10:31:21Z
https://github.com/huggingface/datasets/pull/2100#issuecomment-804792927
https://api.github.com/repos/huggingface/datasets/issues/2100
MDEyOklzc3VlQ29tbWVudDgwNDc5MjkyNw==
https://api.github.com/repos/huggingface/datasets/issues/comments/804792927/reactions
2021-03-23T10:31:51Z
https://api.github.com/repos/huggingface/datasets/issues/comments/804792927
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
MEMBER
`dictionary_encode_column_ ` should be deprecated since it never worked correctly. It will be removed in a major release.
This has to be deprecated in `DatasetDict` as well.
And `Dataset.dictionary_encode_column` doesn't exist indeed.
2021-03-23T17:21:27Z
https://github.com/huggingface/datasets/pull/2100#issuecomment-805084438
https://api.github.com/repos/huggingface/datasets/issues/2100
MDEyOklzc3VlQ29tbWVudDgwNTA4NDQzOA==
https://api.github.com/repos/huggingface/datasets/issues/comments/805084438/reactions
2021-03-23T17:21:27Z
https://api.github.com/repos/huggingface/datasets/issues/comments/805084438
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
MEMBER
Thanks @lhoestq. I have fixed deprecated for `dictionary_encode_column_`.
2021-03-23T17:38:22Z
https://github.com/huggingface/datasets/pull/2100#issuecomment-805096800
https://api.github.com/repos/huggingface/datasets/issues/2100
MDEyOklzc3VlQ29tbWVudDgwNTA5NjgwMA==
https://api.github.com/repos/huggingface/datasets/issues/comments/805096800/reactions
2021-03-23T17:38:22Z
https://api.github.com/repos/huggingface/datasets/issues/comments/805096800
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
Fix deprecated warnings:
- Use deprecated Sphinx directive in docstring
- Fix format of deprecated message
- Raise FutureWarning