Skip to content

Commit 1696d8a

Browse files
committed
Fix
1 parent 018cfe6 commit 1696d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/internals/managers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def convert(self: T, copy: bool | None) -> T:
448448
copy = True
449449

450450
if self.is_single_block:
451-
original_blocks = [self.blocks[0]]
451+
original_blocks = [self.blocks[0]] * self.shape[0]
452452
else:
453453
original_blocks = [self.blocks[i] for i in self.blknos]
454454
mgr = self.apply(

0 commit comments

Comments
 (0)