Skip to content

Commit a060687

Browse files
committed
SingleBlockManager.blocks should be a tuple
1 parent 32e07d0 commit a060687

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
@@ -1461,7 +1461,7 @@ def __init__(self,
14611461
if not isinstance(block, Block):
14621462
block = make_block(block, placement=slice(0, len(axis)), ndim=1)
14631463

1464-
self.blocks = [block] # type: List[Block]
1464+
self.blocks = tuple([block]) # type: Tuple[Block]
14651465

14661466
def _post_setstate(self):
14671467
pass

0 commit comments

Comments
 (0)