@@ -126,7 +126,7 @@ class SeriesGroupBy(GroupBy[Series[S2]], Generic[S2, ByT]):
126126 ) -> Series : ...
127127 def nunique (self , dropna : bool = ...) -> Series [int ]: ...
128128 # describe delegates to super() method but here it has keyword-only parameters
129- def describe ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
129+ def describe ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride] # pyrefly: ignore[bad-override]
130130 self ,
131131 * ,
132132 percentiles : Iterable [float ] | None = ...,
@@ -208,8 +208,7 @@ class SeriesGroupBy(GroupBy[Series[S2]], Generic[S2, ByT]):
208208 def unique (self ) -> Series : ...
209209 # Overrides that provide more precise return types over the GroupBy class
210210 @final # type: ignore[misc]
211- # pyrefly: ignore # bad-override
212- def __iter__ ( # pyright: ignore[reportIncompatibleMethodOverride] # ty: ignore[override-of-final-method]
211+ def __iter__ ( # pyright: ignore[reportIncompatibleMethodOverride] # pyrefly: ignore[bad-override] # ty: ignore[override-of-final-method]
213212 self ,
214213 ) -> Iterator [tuple [ByT , Series [S2 ]]]: ...
215214
@@ -304,7 +303,7 @@ class DataFrameGroupBy(GroupBy[DataFrame], Generic[ByT, _TT]):
304303 ** kwargs : P .kwargs ,
305304 ) -> DataFrame : ...
306305 @overload
307- def __getitem__ (self , key : Scalar ) -> SeriesGroupBy [Any , ByT ]: ... # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
306+ def __getitem__ (self , key : Scalar ) -> SeriesGroupBy [Any , ByT ]: ... # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload] # pyrefly: ignore[bad-override]
308307 @overload
309308 def __getitem__ ( # pyright: ignore[reportIncompatibleMethodOverride] # ty: ignore[invalid-method-override]
310309 self , key : Iterable [Hashable ]
0 commit comments