Skip to content

Commit bcdd40e

Browse files
committed
include UnknownSeries in str.cat
1 parent fd6188a commit bcdd40e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas-stubs/core/strings.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ class StringMethods(NoNewAttributesMixin, Generic[T, _TS, _TM, _TS2]):
6363
@overload
6464
def cat(
6565
self,
66-
others: UnknownIndex | pd.DataFrame | npt.NDArray[Any] | list[Any],
66+
others: (
67+
UnknownSeries | UnknownIndex | pd.DataFrame | npt.NDArray[Any] | list[Any]
68+
),
6769
sep: str = ...,
6870
na_rep: str | None = ...,
6971
join: JoinHow = ...,

0 commit comments

Comments
 (0)