@@ -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 * ,
@@ -605,7 +605,9 @@ class DataFrame(NDFrame, OpsMixin):
605605 @overload
606606 def __getitem__ (self , key : Scalar | tuple [Hashable , ...]) -> Series : ... # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
607607 @overload
608- def __getitem__ (self , key : Iterable [Hashable ] | slice ) -> DataFrame : ...
608+ def __getitem__ ( # pyright: ignore[reportOverlappingOverload]
609+ self , key : Iterable [Hashable ] | slice
610+ ) -> DataFrame : ...
609611 @overload
610612 def __getitem__ (self , key : Hashable ) -> Series : ...
611613 def isetitem (
@@ -1193,7 +1195,7 @@ class DataFrame(NDFrame, OpsMixin):
11931195 ) -> DataFrame : ...
11941196 def diff (self , periods : int = ..., axis : Axis = ...) -> DataFrame : ...
11951197 @overload
1196- def agg ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
1198+ def agg ( # pyright: ignore[reportOverlappingOverload]
11971199 self , func : AggFuncTypeBase | AggFuncTypeDictSeries , axis : Axis = ..., ** kwargs
11981200 ) -> Series : ...
11991201 @overload
@@ -1204,7 +1206,7 @@ class DataFrame(NDFrame, OpsMixin):
12041206 ** kwargs ,
12051207 ) -> DataFrame : ...
12061208 @overload
1207- def aggregate ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
1209+ def aggregate ( # pyright: ignore[reportOverlappingOverload]
12081210 self , func : AggFuncTypeBase | AggFuncTypeDictSeries , axis : Axis = ..., ** kwargs
12091211 ) -> Series : ...
12101212 @overload
0 commit comments