Skip to content

Commit 6d06bb4

Browse files
Add type parameter to remaining Series.astype overloads.
1 parent 54a763c commit 6d06bb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas-stubs/core/series.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,14 +1320,14 @@ class Series(IndexOpsMixin[S1], NDFrame):
13201320
dtype: CategoryDtypeArg,
13211321
copy: _bool = ...,
13221322
errors: IgnoreRaise = ...,
1323-
) -> Series: ...
1323+
) -> Series[Any]: ...
13241324
@overload
13251325
def astype(
13261326
self,
13271327
dtype: ObjectDtypeArg | VoidDtypeArg | ExtensionDtype | DtypeObj,
13281328
copy: _bool = ...,
13291329
errors: IgnoreRaise = ...,
1330-
) -> Series: ...
1330+
) -> Series[Any]: ...
13311331
def copy(self, deep: _bool = ...) -> Series[S1]: ...
13321332
def infer_objects(self) -> Series[S1]: ...
13331333
@overload

0 commit comments

Comments
 (0)