Fix to_pandas for boolean ArrayXD
CONTRIBUTOR
Thanks!
2021-02-18T16:50:42Z
https://github.com/huggingface/datasets/pull/1904#issuecomment-781483427
https://api.github.com/repos/huggingface/datasets/issues/1904
MDEyOklzc3VlQ29tbWVudDc4MTQ4MzQyNw==
https://api.github.com/repos/huggingface/datasets/issues/comments/781483427/reactions
2021-02-18T16:50:42Z
https://api.github.com/repos/huggingface/datasets/issues/comments/781483427
https://avatars.githubusercontent.com/u/33657802?v=4
https://api.github.com/users/SBrandeis/events{/privacy}
https://api.github.com/users/SBrandeis/followers
https://api.github.com/users/SBrandeis/following{/other_user}
https://api.github.com/users/SBrandeis/gists{/gist_id}
https://github.com/SBrandeis
SBrandeis
MDQ6VXNlcjMzNjU3ODAy
https://api.github.com/users/SBrandeis/orgs
https://api.github.com/users/SBrandeis/received_events
https://api.github.com/users/SBrandeis/repos
https://api.github.com/users/SBrandeis/starred{/owner}{/repo}
https://api.github.com/users/SBrandeis/subscriptions
User
https://api.github.com/users/SBrandeis
public
As noticed in #1887 the conversion of a dataset with a boolean ArrayXD feature types fails because of the underlying ListArray conversion to numpy requires `zero_copy_only=False`.

zero copy is available for all primitive types except booleans
see https://arrow.apache.org/docs/python/generated/pyarrow.Array.html#pyarrow.Array.to_numpy
and https://issues.apache.org/jira/browse/ARROW-2871?jql=text%20~%20%22boolean%20to_numpy%22

cc @SBrandeis 