-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Deprecate center
on df.expanding
#34887
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
Deprecate center
on df.expanding
#34887
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for active PRs! not very familiar with this deprecation scope, have a question to clear it.
you will either have to explicity set |
@jreback anything that still needs to happen here? |
@charlesdong1991 the test failures seem to be unrelated to this PR and also seem to happen on master |
@MBrouns hey, after a quick skim, i think the linting failure is indeed on master, which will be fixed by #35007 but i think for this PR, still need to make changes for the test in you need to either catch or ignore the warnings for the test, see https://github.com/pandas-dev/pandas/pull/34887/checks?check_run_id=810672133 |
`df.expanding(center=True)` currently returns non-sensical results and it is unclear what results would be expected. It was previously removed in #7934 for that same reason, but was reintroduced for unclear reasons in a later refactoring
… that shouldn't throw warnings anymore
thanks @MBrouns very nice |
df.expanding(center=True)
currently returns non-sensical results and it is unclear what results would be expected. It was previously removed in #7934 for that same reason,but was reintroduced for unclear reasons in a later refactoringblack pandas
git diff upstream/master -u -- "*.py" | flake8 --diff