Skip to content

BUG Series rolling count ignores min periods #31319

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

Conversation

fujiaxiang
Copy link
Member

This PR targets 1.0.x branch and is a manual backport for #30923

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

jbrockmendel and others added 30 commits January 9, 2020 18:11
The check doesn't do anything, and we still a raise KeyError anyways
* REGR: Fixed hash_key=None for object values

Closes pandas-dev#30887
fujiaxiang and others added 24 commits January 21, 2020 10:46
Updated the behavior of rolling and expanding count so that it becomes consistent with all other rolling and expanding functions.
Also updated many test cases to reflect this change of behavior.
* TST: Add more regression tests for fixed issues

* Fix lint and platform compat

* Using intp

* Move interval indexing test to appropriate location
@jreback
Copy link
Contributor

jreback commented Jan 26, 2020

you need to clone the 1.0.x branch and cherry-pick this.

@fujiaxiang
Copy link
Member Author

got it, will close this PR

@fujiaxiang fujiaxiang closed this Jan 26, 2020
@jreback
Copy link
Contributor

jreback commented Jan 26, 2020

k you could have actually pushed to this branch after you rebased but ok

@fujiaxiang fujiaxiang deleted the series_rolling_count_ignores_min_periods branch January 26, 2020 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.