Skip to content
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: item_cache invalidation on DataFrame.insert #38380

Merged
merged 4 commits into from
Dec 11, 2020

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Dec 9, 2020

Something wonky is going on with tm.assert_produces_warning, will see if it shows up on the CI.

@jreback jreback added Indexing Related to indexing on series/frames, not to indexes themselves Performance Memory or execution speed performance labels Dec 10, 2020
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.

ok this looks reasonable, pls add a whatsnew note.

OT: is there a meaningful perf drop anywhere else if we make this 1000 or 10000?

@jbrockmendel
Copy link
Member Author

whatsnew added + green

@jreback jreback added this to the 1.3 milestone Dec 11, 2020
@jreback
Copy link
Contributor

jreback commented Dec 11, 2020

this just puts a warning up
was the bug already fixed?

@jbrockmendel
Copy link
Member Author

The bug is fixed by removing the _consolidate_inplace, which is replaced with the warning

@jreback
Copy link
Contributor

jreback commented Dec 11, 2020

ok!

@jreback jreback merged commit d0db009 into pandas-dev:master Dec 11, 2020
@jbrockmendel jbrockmendel deleted the bugs-consolidate-2 branch December 11, 2020 02:50
jbrockmendel added a commit to jbrockmendel/pandas that referenced this pull request Dec 11, 2020
* BUG: item_cache invalidation on DataFrame.insert

* Whatsnew
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
* BUG: item_cache invalidation on DataFrame.insert

* Whatsnew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indexing Related to indexing on series/frames, not to indexes themselves Performance Memory or execution speed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Performance drop and MemoryError during insert and _consolidate_inplace
2 participants