Efficient ways to iterate the dataset
{'login': 'zhongpeixiang', 'id': 11826803, 'node_id': 'MDQ6VXNlcjExODI2ODAz', 'avatar_url': 'https://avatars.githubusercontent.com/u/11826803?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/zhongpeixiang', 'html_url': 'https://github.com/zhongpeixiang', 'followers_url': 'https://api.github.com/users/zhongpeixiang/followers', 'following_url': 'https://api.github.com/users/zhongpeixiang/following{/other_user}', 'gists_url': 'https://api.github.com/users/zhongpeixiang/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/zhongpeixiang/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/zhongpeixiang/subscriptions', 'organizations_url': 'https://api.github.com/users/zhongpeixiang/orgs', 'repos_url': 'https://api.github.com/users/zhongpeixiang/repos', 'events_url': 'https://api.github.com/users/zhongpeixiang/events{/privacy}', 'received_events_url': 'https://api.github.com/users/zhongpeixiang/received_events', 'type': 'User', 'site_admin': False}
[]
[]
It seems that selecting a subset of colums directly from the dataset, i.e., dataset["column"], is slow. I was wrong, ```dataset["column"]``` is fast.
For a large dataset that does not fits the memory, how can I select only a subset of features from each example?

If I iterate over the dataset and then select the subset of features one by one, the resulted memory usage will be huge. Any ways to solve this?

Thanks
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/1775/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}