Fix potential DuplicatedKeysError
MEMBER
Finally, I'm splitting this PR.
2021-07-09T08:54:21Z
https://github.com/huggingface/datasets/pull/2609#issuecomment-877029300
https://api.github.com/repos/huggingface/datasets/issues/2609
MDEyOklzc3VlQ29tbWVudDg3NzAyOTMwMA==
https://api.github.com/repos/huggingface/datasets/issues/comments/877029300/reactions
2021-07-09T08:54:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/877029300
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 potential DiplicatedKeysError by ensuring keys are unique.

We should promote as a good practice, that the keys should be programmatically generated as unique, instead of read from data (which might be not unique).