❓ How to apply a map to all subsets ?
{'login': 'astariul', 'id': 43774355, 'node_id': 'MDQ6VXNlcjQzNzc0MzU1', 'avatar_url': 'https://avatars.githubusercontent.com/u/43774355?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/astariul', 'html_url': 'https://github.com/astariul', 'followers_url': 'https://api.github.com/users/astariul/followers', 'following_url': 'https://api.github.com/users/astariul/following{/other_user}', 'gists_url': 'https://api.github.com/users/astariul/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/astariul/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/astariul/subscriptions', 'organizations_url': 'https://api.github.com/users/astariul/orgs', 'repos_url': 'https://api.github.com/users/astariul/repos', 'events_url': 'https://api.github.com/users/astariul/events{/privacy}', 'received_events_url': 'https://api.github.com/users/astariul/received_events', 'type': 'User', 'site_admin': False}
[]
[]
That's the way!
I'm working with CNN/DM dataset, where I have 3 subsets : `train`, `test`, `validation`.

Should I apply my map function on the subsets one by one ?

```python
import nlp

cnn_dm = nlp.load_dataset('cnn_dailymail')
for corpus in ['train', 'test', 'validation']:
         cnn_dm[corpus] = cnn_dm[corpus].map(my_func)
```

Or is there a better way to do this ?
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/118/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}