Conversation

mroeschke

@mroeschkemroeschke added Bug Windowrolling, ewma, expandinglabels Oct 6, 2020
@mroeschkemroeschke added this to the 1.1.4 milestone Oct 6, 2020
# GH 36889
indices_dict = {}
codes, uniques = algorithms.factorize(self.grouper, sort=self.sort)
for i, category in enumerate(Index(uniques)):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you do a dict-comprehension
remove the issue comment, but instead add a comment on what we are doing here

@jreback

lgtm merge on green.

@mroeschkemroeschke merged commit 345efdd into pandas-dev:master Oct 9, 2020
@mroeschkemroeschke deleted the bug/rolling_groupby_sort branch October 9, 2020 00:46
@simonjayhawkins

@meeseeksdev backport 1.1.x

simonjayhawkins pushed a commit to simonjayhawkins/pandas that referenced this pull request Oct 9, 2020
simonjayhawkins added a commit that referenced this pull request Oct 9, 2020
@pandas-devpandas-dev deleted a comment from lumberbot-app bot Oct 10, 2020
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
* BUG: RollingGroupby not respecting sort

* move to 1.1.4

* Just use factorize

* Add comments and turn into dict comprenehsion

Co-authored-by: Matt Roeschke <[email protected]>
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Bug Windowrolling, ewma, expanding
None yet

Successfully merging this pull request may close these issues.

BUG: RollingGroupby no longer respects sort being disabled