Skip to content

BUG: Rolling.__iter__ includes on index columns in the result #41405

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 5 commits into from
May 26, 2021

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke added Bug Window rolling, ewma, expanding labels May 10, 2021
@jreback jreback added this to the 1.3 milestone May 10, 2021
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

the array manager failure looks related

@jbrockmendel
Copy link
Member

self._on has freq="D" with arraymanager and not with blockmanager, bc in BlockManager we drop the freq when putting a DTI into a block.

@mroeschke
Copy link
Member Author

Thanks for the explanation @jbrockmendel. Would you consider that a "bug" in BlockManager then?

@jbrockmendel
Copy link
Member

Would you consider that a "bug" in BlockManager then?

No. I think its overwhelmingly likely that the BM behavior will eventually be shared.

@mroeschke
Copy link
Member Author

Okay I'm going to punt on this until the AM & BM behavior aligns. Probably not worth having a work around for either case.

@mroeschke mroeschke closed this May 11, 2021
@mroeschke mroeschke removed this from the 1.3 milestone May 11, 2021
@jbrockmendel
Copy link
Member

ill move aligning these up my priority list and ping you when it happens

@mroeschke
Copy link
Member Author

No worries. This is just a nice to fix issue so no real priority.

@mroeschke mroeschke reopened this May 20, 2021
@jreback jreback added this to the 1.3 milestone May 21, 2021
@jreback
Copy link
Contributor

jreback commented May 21, 2021

looks fine some ci/checks are failing (maybe just rebase)?

@mroeschke
Copy link
Member Author

Rebased and green.

@mroeschke mroeschke merged commit e7c1ef7 into pandas-dev:master May 26, 2021
@mroeschke mroeschke deleted the bug/rolling_iter_on branch May 26, 2021 03:27
TLouf pushed a commit to TLouf/pandas that referenced this pull request Jun 1, 2021
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Window rolling, ewma, expanding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: rolling window iterator with on should replace with the window index with the on column
3 participants