@@ -11,6 +11,7 @@ from collections.abc import (
1111 Mapping ,
1212 MutableMapping ,
1313 Sequence ,
14+ Set as AbstractSet ,
1415 ValuesView ,
1516)
1617from datetime import (
@@ -564,8 +565,6 @@ class Series(IndexOpsMixin[S1], ElementOpsMixin[S1], NDFrame):
564565 def __array__ ( # ty: ignore[invalid-method-override]
565566 self , dtype : _str | np .dtype = ..., copy : bool | None = ...
566567 ) -> np_1darray : ...
567- @property
568- def axes (self ) -> list : ...
569568 @final
570569 def __getattr__ (self , name : _str ) -> S1 : ...
571570
@@ -1171,7 +1170,7 @@ class Series(IndexOpsMixin[S1], ElementOpsMixin[S1], NDFrame):
11711170 def apply (
11721171 self ,
11731172 func : Callable [
1174- ..., Scalar | Sequence | set | Mapping | NAType | frozenset | None
1173+ ..., Scalar | Sequence [ Any ] | AbstractSet [ Any ] | Mapping | NAType | None
11751174 ],
11761175 convertDType : _bool = ...,
11771176 args : tuple [Any , ...] = ...,
@@ -1373,7 +1372,7 @@ class Series(IndexOpsMixin[S1], ElementOpsMixin[S1], NDFrame):
13731372 ylabelsize : float | _str | None = None ,
13741373 yrot : float | None = None ,
13751374 figsize : tuple [float , float ] | None = None ,
1376- bins : int | Sequence = 10 ,
1375+ bins : int | Sequence [ int ] = 10 ,
13771376 backend : _str | None = None ,
13781377 legend : _bool = False ,
13791378 ** kwargs : Any ,
0 commit comments