Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

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
# for free to subscribe to this conversation on GitHub. Already have an account? #.
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.

2 participants