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

CLN/REF: Refactor min_periods calculation in rolling #37156

Merged
merged 12 commits into from Oct 16, 2020

Conversation

@mroeschke
Copy link
Member

@mroeschke mroeschke commented Oct 16, 2020

  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry
@mroeschke mroeschke added this to the 1.2 milestone Oct 16, 2020
@@ -498,7 +498,7 @@ def test_rolling_count_default_min_periods_with_null_values(constructor):
({"A": [2, 3], "B": [5, 6]}, [1, 2]),
],
2,
3,
2,
Copy link
Member Author

@mroeschke mroeschke Oct 16, 2020

Choose a reason for hiding this comment

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

These test changes are related to the whatsnew entry: This should not have passed previously.

Copy link
Contributor

@jreback jreback Oct 16, 2020

Choose a reason for hiding this comment

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

what whatsnew entry?

Copy link
Member Author

@mroeschke mroeschke Oct 16, 2020

Choose a reason for hiding this comment

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

Oops, thought I added it is previously. Should be there now.

@jreback jreback merged commit 710148e into pandas-dev:master Oct 16, 2020
17 checks passed
@jreback
Copy link
Contributor

@jreback jreback commented Oct 16, 2020

cool. was there a referenced issue?

@mroeschke
Copy link
Member Author

@mroeschke mroeschke commented Oct 16, 2020

No, just discovered independently

@mroeschke mroeschke deleted the ref/min_periods_simplify branch Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants