Skip to content

CLN: Remove unnecessary rolling subclass #36721

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 4 commits into from
Sep 29, 2020

Conversation

mroeschke
Copy link
Member

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

@mroeschke mroeschke added Clean Window rolling, ewma, expanding labels Sep 29, 2020
@mroeschke mroeschke added this to the 1.2 milestone Sep 29, 2020
@jbrockmendel
Copy link
Member

Does the affect Rolling._constructor?

@jbrockmendel
Copy link
Member

lint complaint about importing private _Window

@mroeschke
Copy link
Member Author

Does the affect Rolling._constructor?

Thanks for the catch, added the property directly to Rolling

@jbrockmendel jbrockmendel merged commit 1e1857f into pandas-dev:master Sep 29, 2020
@jbrockmendel
Copy link
Member

thanks @mroeschke

@mroeschke mroeschke deleted the clean/rolling_subclasses branch September 29, 2020 20:19
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
* Remove unnecessary subclass

* Rename _Window -> BaseWindow

* Add Rolling._constructor property

* Black

Co-authored-by: Matt Roeschke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Window rolling, ewma, expanding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants