Repository navigation
feat: support polars DataFrames in pin_write and pin_read - #366
Draft
isabelizimm wants to merge 3 commits into
Draft
isabelizimm wants to merge 3 commits into
isabelizimm wants to merge 3 commits into
Conversation
- Add PolarsAdaptor so polars DataFrames can be pinned as csv, arrow, or parquet - Read table pins into polars via board.df_library or the PINS_DF_LIBRARY env var - Add pins[polars] optional extra
- Type df_library as Literal["pandas", "polars"] and validate on assignment - Add cross-library round-trip tests for csv, arrow, and parquet - Require polars>=1.0 for the polars extra - Add polars to requirements/dev.txt
- Add a "Using polars" section to Get Started - Mention polars in the README - Document df_library in pin_read, pin_write, and the reference index
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Inspired by work done by @nathanjmcdougall in #254 and #263, thank you so much for the contributions! Since those PRs are a bit stale (apologies, priorities had shifted for a while, but I'd like to do some maintenance over here to make this package better support modern tooling), I'm going to try to rehydrate them over here.