Skip to content

DEPR: Enforce rolling.count min_periods deprecation #48839

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

Merged
merged 7 commits into from
Oct 19, 2022

Conversation

mroeschke
Copy link
Member

Introduced in #36649

@mroeschke mroeschke added Deprecate Functionality to remove in pandas Window rolling, ewma, expanding labels Sep 29, 2022
@mroeschke mroeschke added this to the 2.0 milestone Sep 29, 2022
@mroeschke mroeschke marked this pull request as ready for review October 19, 2022 18:04
@phofl phofl merged commit c152288 into pandas-dev:main Oct 19, 2022
@phofl
Copy link
Member

phofl commented Oct 19, 2022

thx @mroeschke

@phofl
Copy link
Member

phofl commented Oct 19, 2022

the others need a rebase

@mroeschke mroeschke deleted the depr/rm/rolling_count_min_periods branch October 19, 2022 23:10
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
galipremsagar added a commit to rapidsai/cudf that referenced this pull request Jun 3, 2023
This PR drops a special handling for `Rolling.count` where we always default to `min_periods=0`, this is an inconsistency that pandas-2.0 resolves in: pandas-dev/pandas#48839

This PR fixes 2 pytest failures:
```
= 229 failed, 95769 passed, 2045 skipped, 764 xfailed, 300 xpassed in 458.04s (0:07:38) =
```
On `pandas_2.0_feature_branch`:
```
= 231 failed, 95767 passed, 2045 skipped, 764 xfailed, 300 xpassed in 457.58s (0:07:37) =
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Window rolling, ewma, expanding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants