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

from_arrow with List columns #511

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

from_arrow with List columns #511

wants to merge 3 commits into from

Conversation

myzha0
Copy link

@myzha0 myzha0 commented Dec 7, 2022

Summary:
Adds some basic functionality to allow Arrow tables/arrays with List[primitive_type] columns to be converted to a ta.Dataframe.

Implemented by converting the list column to a pylist and wrapping _from_pysequence. Not super efficient, but provides some functionality to unblock these columns.

Tests:
Modified previous test case that checked for unsupported type.
python -m unittest -v

----------------------------------------------------------------------
Ran 196 tests in 1.108s

OK

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 7, 2022
@myzha0 myzha0 marked this pull request as ready for review December 7, 2022 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants