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

Fix rolling(min_periods=) with int and null data with mode.pandas_compat #17822

Open
wants to merge 1 commit into
base: branch-25.02
Choose a base branch
from

Conversation

mroeschke
Copy link
Contributor

Description

closes #17786

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@mroeschke mroeschke added bug Something isn't working Python Affects Python cuDF API. non-breaking Non-breaking change labels Jan 24, 2025
@mroeschke mroeschke self-assigned this Jan 24, 2025
@mroeschke mroeschke requested a review from a team as a code owner January 24, 2025 23:36
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

One question, otherwise good to go. I don't need to review again.

@pytest.mark.parametrize("klass", ["DataFrame", "Series"])
def test_pandas_compat_int_nan_min_periods(klass):
data = [None, 1, 2, None, 4, 6, 11]
with cudf.option_context("mode.pandas_compatible", True):
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to test the False case, or is that already handled in another test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

[BUG] cudf.pandas incorrect results for rolling_sum with window=2 min_periods=1
2 participants