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

  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

@mroeschke mroeschke added Refactor Internal refactoring of code Window rolling, ewma, expanding labels Oct 16, 2020
@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

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
@jreback
Copy link
Contributor

jreback commented Oct 16, 2020

cool. was there a referenced issue?

@mroeschke
Copy link
Member Author

No, just discovered independently

@mroeschke mroeschke deleted the ref/min_periods_simplify branch October 16, 2020 19:20
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Oct 26, 2020
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Internal refactoring of code Window rolling, ewma, expanding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants