@@ -190,7 +190,7 @@ class _LocIndexerFrame(_LocIndexer):
190
190
),
191
191
) -> DataFrame : ...
192
192
@overload
193
- def __getitem__ ( # pyright: ignore[reportOverlappingOverload]
193
+ def __getitem__ ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
194
194
self ,
195
195
idx : tuple [
196
196
int | StrLike | tuple [Scalar , ...] | Callable [[DataFrame ], ScalarT ],
@@ -307,7 +307,7 @@ class DataFrame(NDFrame, OpsMixin):
307
307
na_value : Scalar = ...,
308
308
) -> np .ndarray : ...
309
309
@overload
310
- def to_dict ( # type: ignore[overload-overlap]
310
+ def to_dict (
311
311
self ,
312
312
orient : Literal ["records" ],
313
313
* ,
@@ -323,31 +323,31 @@ class DataFrame(NDFrame, OpsMixin):
323
323
index : Literal [True ] = ...,
324
324
) -> list [dict [Hashable , Any ]]: ...
325
325
@overload
326
- def to_dict ( # type: ignore[overload-overlap]
326
+ def to_dict (
327
327
self ,
328
328
orient : Literal ["dict" , "list" , "series" , "index" ],
329
329
* ,
330
330
into : MutableMapping | type [MutableMapping ],
331
331
index : Literal [True ] = ...,
332
332
) -> MutableMapping [Hashable , Any ]: ...
333
333
@overload
334
- def to_dict ( # type: ignore[overload-overlap]
334
+ def to_dict (
335
335
self ,
336
336
orient : Literal ["split" , "tight" ],
337
337
* ,
338
338
into : MutableMapping | type [MutableMapping ],
339
339
index : bool = ...,
340
340
) -> MutableMapping [Hashable , Any ]: ...
341
341
@overload
342
- def to_dict ( # type: ignore[overload-overlap]
342
+ def to_dict (
343
343
self ,
344
344
orient : Literal ["dict" , "list" , "series" , "index" ] = ...,
345
345
* ,
346
346
into : MutableMapping | type [MutableMapping ],
347
347
index : Literal [True ] = ...,
348
348
) -> MutableMapping [Hashable , Any ]: ...
349
349
@overload
350
- def to_dict ( # type: ignore[overload-overlap]
350
+ def to_dict (
351
351
self ,
352
352
orient : Literal ["split" , "tight" ] = ...,
353
353
* ,
@@ -1054,7 +1054,7 @@ class DataFrame(NDFrame, OpsMixin):
1054
1054
errors : IgnoreRaise = ...,
1055
1055
) -> None : ...
1056
1056
@overload
1057
- def groupby ( # type: ignore[overload-overlap] # pyright: ignore reportOverlappingOverload
1057
+ def groupby ( # pyright: ignore reportOverlappingOverload
1058
1058
self ,
1059
1059
by : Scalar ,
1060
1060
axis : AxisIndex | NoDefault = ...,
@@ -1078,7 +1078,7 @@ class DataFrame(NDFrame, OpsMixin):
1078
1078
dropna : _bool = ...,
1079
1079
) -> DataFrameGroupBy [Scalar , Literal [False ]]: ...
1080
1080
@overload
1081
- def groupby ( # type: ignore[overload-overlap] # pyright: ignore reportOverlappingOverload
1081
+ def groupby ( # pyright: ignore reportOverlappingOverload
1082
1082
self ,
1083
1083
by : DatetimeIndex ,
1084
1084
axis : AxisIndex | NoDefault = ...,
@@ -1090,7 +1090,7 @@ class DataFrame(NDFrame, OpsMixin):
1090
1090
dropna : _bool = ...,
1091
1091
) -> DataFrameGroupBy [Timestamp , Literal [True ]]: ...
1092
1092
@overload
1093
- def groupby ( # type: ignore[overload-overlap]
1093
+ def groupby (
1094
1094
self ,
1095
1095
by : DatetimeIndex ,
1096
1096
axis : AxisIndex | NoDefault = ...,
@@ -1219,7 +1219,7 @@ class DataFrame(NDFrame, OpsMixin):
1219
1219
) -> DataFrame : ...
1220
1220
def diff (self , periods : int = ..., axis : Axis = ...) -> DataFrame : ...
1221
1221
@overload
1222
- def agg ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
1222
+ def agg ( # pyright: ignore[reportOverlappingOverload]
1223
1223
self , func : AggFuncTypeBase | AggFuncTypeDictSeries , axis : Axis = ..., ** kwargs
1224
1224
) -> Series : ...
1225
1225
@overload
@@ -1230,7 +1230,7 @@ class DataFrame(NDFrame, OpsMixin):
1230
1230
** kwargs ,
1231
1231
) -> DataFrame : ...
1232
1232
@overload
1233
- def aggregate ( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
1233
+ def aggregate ( # pyright: ignore[reportOverlappingOverload]
1234
1234
self , func : AggFuncTypeBase | AggFuncTypeDictSeries , axis : Axis = ..., ** kwargs
1235
1235
) -> Series : ...
1236
1236
@overload
0 commit comments