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

chore: fixup failing test due to offset deprecation in upsample #15636

Merged
merged 2 commits into from
Apr 13, 2024

Conversation

MarcoGorelli
Copy link
Collaborator

@MarcoGorelli MarcoGorelli commented Apr 13, 2024

Two tests were failing due to this

I've removed offset from one (upsampling by integers, which is a new functionality anyway), and am catching the deprecation warning in the other

@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars labels Apr 13, 2024
),
],
)
def test_upsample_index_invalid(
df: pl.DataFrame,
every: str,
offset: str,
fill: FillNullStrategy | None,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

drive-by, but fill is unused in this function

@MarcoGorelli MarcoGorelli changed the title chore: fixup failing test due to offset deprecation chore: fixup failing test due to offset deprecation in upsample Apr 13, 2024
@MarcoGorelli MarcoGorelli marked this pull request as ready for review April 13, 2024 16:41
@ritchie46 ritchie46 merged commit 7341aee into pola-rs:main Apr 13, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants