Skip to content
New issue

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

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

Already on GitHub? # to your account

Support Date32 type with Polars #476

Merged
merged 4 commits into from
Mar 22, 2024
Merged

Support Date32 type with Polars #476

merged 4 commits into from
Mar 22, 2024

Conversation

jonmmease
Copy link
Collaborator

This PR was motivated by vega/altair#3280. This same PyArrow cropped up when using VegaFusion with a Polars DataFrame containing a Date32 column. This PR adds a simple PyArrowDatasource that bypasses the DataFrame Interchange protocol, and this Date32 error. Then it converts Polars to PyArrow and uses this data source. The Polars docs say this is mostly a zero-cost conversion.

@jonmmease jonmmease merged commit 84bfcdd into main Mar 22, 2024
22 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant