Skip to content

Commit b27670b

Browse files
committed
Fix merge errors
1 parent 7cfc2e2 commit b27670b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/core/internals/blocks.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,15 +437,13 @@ def _maybe_downcast(
437437
# split and convert the blocks
438438

439439
return extend_blocks(
440-
[blk.convert(copy=not using_cow, using_cow=using_cow) for blk in blocks]
440+
[blk.convert(using_cow=using_cow, copy=not using_cow) for blk in blocks]
441441
)
442442

443443
if downcast is None:
444444
return blocks
445445

446-
return extend_blocks(
447-
[b._downcast_2d(downcast, using_cow=using_cow) for b in blocks]
448-
)
446+
return extend_blocks([b._downcast_2d(downcast, using_cow) for b in blocks])
449447

450448
@final
451449
@maybe_split

0 commit comments

Comments
 (0)