Skip to content

Commit 0a517f9

Browse files
jbrockmendelfangchenli
authored andcommitted
CLN: dont consolidate in indexing (pandas-dev#34679)
1 parent ca3f889 commit 0a517f9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/indexing.py

-1
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,6 @@ def isetter(loc, v):
16831683
ser = v
16841684
else:
16851685
# set the item, possibly having a dtype change
1686-
ser._consolidate_inplace()
16871686
ser = ser.copy()
16881687
ser._mgr = ser._mgr.setitem(indexer=pi, value=v)
16891688
ser._maybe_update_cacher(clear=True)

0 commit comments

Comments
 (0)