Replace AssertionErrors with more meaningful errors
{'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/followers', 'following_url': 'https://api.github.com/users/mariosasko/following{/other_user}', 'gists_url': 'https://api.github.com/users/mariosasko/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/mariosasko/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/mariosasko/subscriptions', 'organizations_url': 'https://api.github.com/users/mariosasko/orgs', 'repos_url': 'https://api.github.com/users/mariosasko/repos', 'events_url': 'https://api.github.com/users/mariosasko/events{/privacy}', 'received_events_url': 'https://api.github.com/users/mariosasko/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/good%20first%20issue', 'name': 'good first issue', 'color': '7057ff', 'default': True, 'description': 'Good for newcomers'}, {'id': 4614514401, 'node_id': 'LA_kwDODunzps8AAAABEwvm4Q', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/hacktoberfest', 'name': 'hacktoberfest', 'color': 'DF8D62', 'default': False, 'description': ''}]
{'login': 'galbwe', 'id': 20004072, 'node_id': 'MDQ6VXNlcjIwMDA0MDcy', 'avatar_url': 'https://avatars.githubusercontent.com/u/20004072?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/galbwe', 'html_url': 'https://github.com/galbwe', 'followers_url': 'https://api.github.com/users/galbwe/followers', 'following_url': 'https://api.github.com/users/galbwe/following{/other_user}', 'gists_url': 'https://api.github.com/users/galbwe/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/galbwe/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/galbwe/subscriptions', 'organizations_url': 'https://api.github.com/users/galbwe/orgs', 'repos_url': 'https://api.github.com/users/galbwe/repos', 'events_url': 'https://api.github.com/users/galbwe/events{/privacy}', 'received_events_url': 'https://api.github.com/users/galbwe/received_events', 'type': 'User', 'site_admin': False}
[{'login': 'galbwe', 'id': 20004072, 'node_id': 'MDQ6VXNlcjIwMDA0MDcy', 'avatar_url': 'https://avatars.githubusercontent.com/u/20004072?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/galbwe', 'html_url': 'https://github.com/galbwe', 'followers_url': 'https://api.github.com/users/galbwe/followers', 'following_url': 'https://api.github.com/users/galbwe/following{/other_user}', 'gists_url': 'https://api.github.com/users/galbwe/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/galbwe/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/galbwe/subscriptions', 'organizations_url': 'https://api.github.com/users/galbwe/orgs', 'repos_url': 'https://api.github.com/users/galbwe/repos', 'events_url': 'https://api.github.com/users/galbwe/events{/privacy}', 'received_events_url': 'https://api.github.com/users/galbwe/received_events', 'type': 'User', 'site_admin': False}]
Hi, can I pick up this issue? #self-assign Looks like the top-level `datasource` directory was removed when https://github.com/huggingface/datasets/pull/4974 was merged, so there are 3 source files to fix.
Replace the AssertionErrors with more meaningful errors such as ValueError, TypeError, etc.

The files with AssertionErrors that need to be replaced:
```
src/datasets/arrow_reader.py
src/datasets/builder.py
src/datasets/utils/version.py
```
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5074/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}