Skip to content

Conversation

@phofl
Copy link
Member

@phofl phofl commented Oct 28, 2025

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

stumbled upon this a while ago, this can be bad if the dataframe is large and the copy causes a consolidation

@phofl phofl added this to the 3.0 milestone Oct 28, 2025
@phofl phofl added Performance Memory or execution speed performance Reshaping Concat, Merge/Join, Stack/Unstack, Explode labels Oct 28, 2025
@mroeschke mroeschke merged commit 94c7e88 into pandas-dev:main Oct 29, 2025
52 checks passed
@mroeschke
Copy link
Member

Thanks @phofl

@phofl phofl deleted the merge-deep-copy branch October 29, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Performance Memory or execution speed performance Reshaping Concat, Merge/Join, Stack/Unstack, Explode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants