Skip to content

Commit a946f6f

Browse files
committed
fix(typing): #983 return type of StringMethods.match
1 parent d2798db commit a946f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas-stubs/core/strings.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class StringMethods(NoNewAttributesMixin, Generic[T, _TS]):
100100
) -> Series[bool]: ...
101101
def match(
102102
self, pat: str, case: bool = ..., flags: int = ..., na: Any = ...
103-
) -> T: ...
103+
) -> Series[bool]: ...
104104
def replace(
105105
self,
106106
pat: str,

0 commit comments

Comments
 (0)