Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add large_list type support in string_to_arrow #6986

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arthasking123
Copy link

@arthasking123 arthasking123 commented Jun 19, 2024

add large_list type support in string_to_arrow() and _arrow_to_datasets_dtype() in features.py

Fix #6984

@arthasking123
Copy link
Author

arthasking123 commented Jun 19, 2024

@albertvillanova albertvillanova changed the title Fix bug #6984 Add large_list type support in string_to_arrow Jun 20, 2024
Copy link
Member

@albertvillanova albertvillanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @arthasking123, thank for your contribution.

Please note that the functions string_to_arrow and _arrow_to_datasets_dtype are only used for scalar types, which is not the case for LargeListType: this is a container of scalar types.

The support for LargeListType needs a more intricate implementation, involving the Sequence type. See a related unfinished past PR proposal:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert polars DataFrame back to datasets
2 participants