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

Polars writing #460

Merged
merged 4 commits into from
Jul 1, 2024
Merged

Polars writing #460

merged 4 commits into from
Jul 1, 2024

Conversation

stephenpardy
Copy link
Contributor

closes: #433


What

  • Adds support for logging polars dataframes

How to Test

  • Run the unit tests

@stephenpardy stephenpardy requested review from a team as code owners July 1, 2024 15:13
@@ -39,6 +39,7 @@ dependencies:
- pytest
- pytest-cov
- xgboost
- polars<1.0
Copy link
Member

Choose a reason for hiding this comment

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

any particular reason for the pin?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

New version with some breaking changes just released. https://docs.pola.rs/releases/upgrade/1/ Would like to wait to double check before allowing this new version.

@stephenpardy stephenpardy requested a review from ryanSoley July 1, 2024 18:09
Copy link
Member

@ryanSoley ryanSoley left a comment

Choose a reason for hiding this comment

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

looks great! thanks!

project_name: str,
dataframe_id: str,
experiment_id: Optional[str] = None,
df_type: Literal["pandas", "dask", "polars"] = "pandas",
Copy link
Member

@ryanSoley ryanSoley Jul 1, 2024

Choose a reason for hiding this comment

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

we can probably just infer the type and store it in the metadata so users don't have to keep specifying

@stephenpardy stephenpardy merged commit 3748bf6 into main Jul 1, 2024
7 checks passed
@stephenpardy stephenpardy deleted the polars_writing branch July 1, 2024 19:42
# 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.

Support logging polars dataframes
2 participants