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

Support input/output to/from polars via python (not native rust) #2849

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

timkpaine
Copy link
Member

@timkpaine timkpaine commented Nov 15, 2024

This is a naive rust implementation of conversion to/from polars. I describe it as “naive” as it incurs an “extra” copy of polars-wrapped arrow table to binary buffer to perspective.

A test suite is included, copied from pandas but omitting some pandas-specific functionality, and skipping some stuff that might warrant a further look (polars converts to several arrow types that we don’t currently support).

Some initial TODOs:

  • tests for LazyFrame
  • tests for outbound
  • docs updates

@texodus texodus marked this pull request as ready for review November 18, 2024 05:00
@texodus texodus added the enhancement Feature requests or improvements label Nov 18, 2024
Copy link
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Looks good!

@texodus texodus merged commit 456bd39 into master Nov 18, 2024
13 checks passed
@texodus texodus deleted the tkp/polars branch November 18, 2024 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests or improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants