Skip to content

Commit

Permalink
test _iset_single
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Nov 17, 2023
1 parent 41bb434 commit 4b931fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pandas/core/internals/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1310,9 +1310,6 @@ def _iset_single(

if inplace and blk.should_store(value):
copy = False
if using_copy_on_write() and not self._has_no_reference_block(blkno):
# perform Copy-on-Write and clear the reference
copy = True
iloc = self.blklocs[loc]
blk.set_inplace(slice(iloc, iloc + 1), value, copy=copy)
return
Expand Down

0 comments on commit 4b931fa

Please sign in to comment.