We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cfc2e2 commit b27670bCopy full SHA for b27670b
pandas/core/internals/blocks.py
@@ -437,15 +437,13 @@ def _maybe_downcast(
437
# split and convert the blocks
438
439
return extend_blocks(
440
- [blk.convert(copy=not using_cow, using_cow=using_cow) for blk in blocks]
+ [blk.convert(using_cow=using_cow, copy=not using_cow) for blk in blocks]
441
)
442
443
if downcast is None:
444
return blocks
445
446
- return extend_blocks(
447
- [b._downcast_2d(downcast, using_cow=using_cow) for b in blocks]
448
- )
+ return extend_blocks([b._downcast_2d(downcast, using_cow) for b in blocks])
449
450
@final
451
@maybe_split
0 commit comments