add Dataset.from_list
NONE
_The documentation is not available anymore as the PR was closed or merged._
2022-08-25T09:40:56Z
https://github.com/huggingface/datasets/pull/4890#issuecomment-1227027951
https://api.github.com/repos/huggingface/datasets/issues/4890
IC_kwDODunzps5JIvXv
https://api.github.com/repos/huggingface/datasets/issues/comments/1227027951/reactions
2022-09-02T10:22:59Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1227027951
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
CONTRIBUTOR
@albertvillanova it seems tests fail on pyarrow 6, perhaps from_pylist is a v7 method? How do you usually handle these version differences?
Added something that at least works
2022-08-25T09:57:10Z
https://github.com/huggingface/datasets/pull/4890#issuecomment-1227044679
https://api.github.com/repos/huggingface/datasets/issues/4890
IC_kwDODunzps5JIzdH
https://api.github.com/repos/huggingface/datasets/issues/comments/1227044679/reactions
2022-08-25T14:30:16Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1227044679
https://avatars.githubusercontent.com/u/48946947?v=4
https://api.github.com/users/sanderland/events{/privacy}
https://api.github.com/users/sanderland/followers
https://api.github.com/users/sanderland/following{/other_user}
https://api.github.com/users/sanderland/gists{/gist_id}
https://github.com/sanderland
sanderland
MDQ6VXNlcjQ4OTQ2OTQ3
https://api.github.com/users/sanderland/orgs
https://api.github.com/users/sanderland/received_events
https://api.github.com/users/sanderland/repos
https://api.github.com/users/sanderland/starred{/owner}{/repo}
https://api.github.com/users/sanderland/subscriptions
User
https://api.github.com/users/sanderland
public
As discussed in #4885 

I initially added this bit at the end, thinking filling this field was necessary as it is done in from_dict. 
However, it seems the constructor takes care of filling info when it is empty.
```
if info.features is None:
  info.features = Features(
      {
          col: generate_from_arrow_type(coldata.type)
          for col, coldata in zip(pa_table.column_names, pa_table.columns)
      }
  )
```