Skip to content

Commit 46b3987

Browse files
committed
updating subset types
1 parent 791777f commit 46b3987

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
@@ -900,15 +900,15 @@ class DataFrame(NDFrame, OpsMixin):
900900
) -> DataFrame | None: ...
901901
def drop_duplicates(
902902
self,
903-
subset=...,
903+
subset: Hashable | Iterable[Hashable] | None = ...,
904904
*,
905905
keep: NaPosition | _bool = ...,
906906
inplace: _bool = ...,
907907
ignore_index: _bool = ...,
908908
) -> DataFrame: ...
909909
def duplicated(
910910
self,
911-
subset: Hashable | Sequence[Hashable] | None = ...,
911+
subset: Hashable | Iterable[Hashable] | None = ...,
912912
keep: NaPosition | _bool = ...,
913913
) -> Series: ...
914914
@overload

0 commit comments

Comments
 (0)