-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Segfault with string Index when using Rolling after Groupby #36753
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
Thanks @phofl! I suspect we may need to be using |
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.
pls add a whatsnew note 1.1.4 for rolling (note that the whatsnew hasn't been pushed yet)
hah you already mentioned
|
thanks @phofl very nice |
needs a release note |
@meeseeksdev backport 1.1.x |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
@jreback Thanks. Sorry was busy today. Should I open another PR for a Release Note? cc @simonjayhawkins |
…ng Index when using Rolling after Groupby
…hen using Rolling after Groupby (#37003) Co-authored-by: patrick <[email protected]>
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
The segfault was caused by
self.obj.index.asi8=None
when Index is a string Index.self._on.asi8
solves that issue.Additionally I noticed, that
obj.index
was already sorted, so the insert ofextra_col
mixed up the order. We should useself.obj.index
.I will add a whats new after #36689 is merged.
cc @mroeschke