-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
BUG: Ensure rolling groupby doesn't segfault with center=True #35562
BUG: Ensure rolling groupby doesn't segfault with center=True #35562
Conversation
doc/source/whatsnew/v1.1.1.rst
Outdated
@@ -16,7 +16,7 @@ Fixed regressions | |||
~~~~~~~~~~~~~~~~~ | |||
|
|||
- Fixed regression where :func:`read_csv` would raise a ``ValueError`` when ``pandas.options.mode.use_inf_as_na`` was set to ``True`` (:issue:`35493`). | |||
- | |||
- Fixed regression in :class:`pandas.core.groupby.RollingGroupby` where a segfault would occur with ``center=True`` and an odd number of values (:issue:`35552`) |
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.
pandas.core.groupby.RollingGroupby
doesn't exist, so this link won't work (it's in the window
module). But, we actually don't have this in the API docs it seems, so won't work anyway. I would just do something like .groupby(..).rolling(..)
to indicate which operation is affected.
can you merge master, looks good |
thanks @mroeschke |
@meeseeksdev backport to 1.1.x |
…fault with center=True
… center=True (#35610) Co-authored-by: Matthew Roeschke <emailformattr@gmail.com>
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff