Skip to content

Commit 55d2e89

Browse files
committed
StrLike -> Hashable
1 parent cbdaaf1 commit 55d2e89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas-stubs/core/frame.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ class _LocIndexerFrame(_LocIndexer, Generic[_T]):
284284
def __setitem__(
285285
self,
286286
key: (
287-
MaskType | StrLike | _IndexSliceTuple | list[ScalarT] | IndexingInt | slice
287+
MaskType | Hashable | _IndexSliceTuple | list[ScalarT] | IndexingInt | slice
288288
),
289289
value: (
290290
Scalar
@@ -849,7 +849,7 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
849849
def __setitem__(
850850
self,
851851
idx: (
852-
MaskType | StrLike | _IndexSliceTuple | list[ScalarT] | IndexingInt | slice
852+
MaskType | Hashable | _IndexSliceTuple | list[ScalarT] | IndexingInt | slice
853853
),
854854
value: (
855855
Scalar

0 commit comments

Comments
 (0)