Skip to content

Commit

Permalink
Add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
chilin0525 committed Feb 16, 2025
1 parent 41926d4 commit 1f9215c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pandas/core/internals/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ def setitem(self, indexer, value) -> Self:
0, blk_loc, values
)
# first block equals values
col_indexer: slice | np.ndarray
if isinstance(indexer[1], slice) and indexer[1] == slice(None):
col_indexer = slice(None)
else:
Expand Down

0 comments on commit 1f9215c

Please sign in to comment.