Skip to content

Conversation

jorisvandenbossche
Copy link
Member

xref #49473

Under the hood, DataFrame.update() is using .loc setitem, and Series.update() uses _mgr.putmask(..), and both already handle CoW. This is therefore just adding an explicit test for the update() method.

@phofl phofl added this to the 2.0 milestone Feb 16, 2023
@phofl phofl merged commit d2c05c4 into pandas-dev:main Feb 16, 2023
@phofl
Copy link
Member

phofl commented Feb 16, 2023

thx @jorisvandenbossche

@jorisvandenbossche jorisvandenbossche deleted the cow-test-update branch February 17, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants