asserts replaced with exception for ``fingerprint.py``, ``search.py``, ``arrow_writer.py`` and ``metric.py``
{'login': 'Ishan-Kumar2', 'id': 46553104, 'node_id': 'MDQ6VXNlcjQ2NTUzMTA0', 'avatar_url': 'https://avatars.githubusercontent.com/u/46553104?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Ishan-Kumar2', 'html_url': 'https://github.com/Ishan-Kumar2', 'followers_url': 'https://api.github.com/users/Ishan-Kumar2/followers', 'following_url': 'https://api.github.com/users/Ishan-Kumar2/following{/other_user}', 'gists_url': 'https://api.github.com/users/Ishan-Kumar2/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/Ishan-Kumar2/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/Ishan-Kumar2/subscriptions', 'organizations_url': 'https://api.github.com/users/Ishan-Kumar2/orgs', 'repos_url': 'https://api.github.com/users/Ishan-Kumar2/repos', 'events_url': 'https://api.github.com/users/Ishan-Kumar2/events{/privacy}', 'received_events_url': 'https://api.github.com/users/Ishan-Kumar2/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Addresses #3171 
Fixes exception for ``fingerprint.py``, ``search.py``, ``arrow_writer.py`` and ``metric.py`` and modified tests
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/3305/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/3305', 'html_url': 'https://github.com/huggingface/datasets/pull/3305', 'diff_url': 'https://github.com/huggingface/datasets/pull/3305.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/3305.patch', 'merged_at': '2021-11-22T17:08:13Z'}