@@ -190,7 +190,7 @@ class _LocIndexerFrame(_LocIndexer):
190190 ),
191191 ) -> DataFrame : ...
192192 @overload
193- def __getitem__ ( # pyright: ignore[reportOverlappingOverload]
193+ def __getitem__ ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
194194 self ,
195195 idx : tuple [
196196 int | StrLike | tuple [Scalar , ...] | Callable [[DataFrame ], ScalarT ],
@@ -307,7 +307,7 @@ class DataFrame(NDFrame, OpsMixin):
307307 na_value : Scalar = ...,
308308 ) -> np .ndarray : ...
309309 @overload
310- def to_dict ( # type: ignore[overload-overlap]
310+ def to_dict (
311311 self ,
312312 orient : Literal ["records" ],
313313 * ,
@@ -323,31 +323,31 @@ class DataFrame(NDFrame, OpsMixin):
323323 index : Literal [True ] = ...,
324324 ) -> list [dict [Hashable , Any ]]: ...
325325 @overload
326- def to_dict ( # type: ignore[overload-overlap]
326+ def to_dict (
327327 self ,
328328 orient : Literal ["dict" , "list" , "series" , "index" ],
329329 * ,
330330 into : MutableMapping | type [MutableMapping ],
331331 index : Literal [True ] = ...,
332332 ) -> MutableMapping [Hashable , Any ]: ...
333333 @overload
334- def to_dict ( # type: ignore[overload-overlap]
334+ def to_dict (
335335 self ,
336336 orient : Literal ["split" , "tight" ],
337337 * ,
338338 into : MutableMapping | type [MutableMapping ],
339339 index : bool = ...,
340340 ) -> MutableMapping [Hashable , Any ]: ...
341341 @overload
342- def to_dict ( # type: ignore[overload-overlap]
342+ def to_dict (
343343 self ,
344344 orient : Literal ["dict" , "list" , "series" , "index" ] = ...,
345345 * ,
346346 into : MutableMapping | type [MutableMapping ],
347347 index : Literal [True ] = ...,
348348 ) -> MutableMapping [Hashable , Any ]: ...
349349 @overload
350- def to_dict ( # type: ignore[overload-overlap]
350+ def to_dict (
351351 self ,
352352 orient : Literal ["split" , "tight" ] = ...,
353353 * ,
@@ -1054,7 +1054,7 @@ class DataFrame(NDFrame, OpsMixin):
10541054 errors : IgnoreRaise = ...,
10551055 ) -> None : ...
10561056 @overload
1057- def groupby ( # type: ignore[overload-overlap] # pyright: ignore reportOverlappingOverload
1057+ def groupby ( # pyright: ignore reportOverlappingOverload
10581058 self ,
10591059 by : Scalar ,
10601060 axis : AxisIndex | NoDefault = ...,
@@ -1078,7 +1078,7 @@ class DataFrame(NDFrame, OpsMixin):
10781078 dropna : _bool = ...,
10791079 ) -> DataFrameGroupBy [Scalar , Literal [False ]]: ...
10801080 @overload
1081- def groupby ( # type: ignore[overload-overlap] # pyright: ignore reportOverlappingOverload
1081+ def groupby ( # pyright: ignore reportOverlappingOverload
10821082 self ,
10831083 by : DatetimeIndex ,
10841084 axis : AxisIndex | NoDefault = ...,
@@ -1090,7 +1090,7 @@ class DataFrame(NDFrame, OpsMixin):
10901090 dropna : _bool = ...,
10911091 ) -> DataFrameGroupBy [Timestamp , Literal [True ]]: ...
10921092 @overload
1093- def groupby ( # type: ignore[overload-overlap]
1093+ def groupby (
10941094 self ,
10951095 by : DatetimeIndex ,
10961096 axis : AxisIndex | NoDefault = ...,
@@ -1219,7 +1219,7 @@ class DataFrame(NDFrame, OpsMixin):
12191219 ) -> DataFrame : ...
12201220 def diff (self , periods : int = ..., axis : Axis = ...) -> DataFrame : ...
12211221 @overload
1222- def agg ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
1222+ def agg ( # pyright: ignore[reportOverlappingOverload]
12231223 self , func : AggFuncTypeBase | AggFuncTypeDictSeries , axis : Axis = ..., ** kwargs
12241224 ) -> Series : ...
12251225 @overload
@@ -1230,7 +1230,7 @@ class DataFrame(NDFrame, OpsMixin):
12301230 ** kwargs ,
12311231 ) -> DataFrame : ...
12321232 @overload
1233- def aggregate ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
1233+ def aggregate ( # pyright: ignore[reportOverlappingOverload]
12341234 self , func : AggFuncTypeBase | AggFuncTypeDictSeries , axis : Axis = ..., ** kwargs
12351235 ) -> Series : ...
12361236 @overload
0 commit comments