@@ -398,39 +398,39 @@ class DataFrame(NDFrame, OpsMixin):
398
398
fill_axis : AxisType = ...,
399
399
broadcast_axis : Optional [AxisType ] = ...,
400
400
) -> DataFrame : ...
401
- def reindex (** kwargs ) -> DataFrame : ...
401
+ def reindex (self , ** kwargs ) -> DataFrame : ...
402
402
@overload
403
403
def drop (
404
404
self ,
405
- labels : Hashable | list [Hashable ] = ...,
405
+ labels : Hashable | Sequence [Hashable ] = ...,
406
406
* ,
407
407
axis : Axis = ...,
408
- index : Hashable | list [Hashable ] = ...,
409
- columns : Hashable | list [Hashable ] = ...,
408
+ index : Hashable | Sequence [Hashable ] = ...,
409
+ columns : Hashable | Sequence [Hashable ] = ...,
410
410
level : Optional [Level ] = ...,
411
411
inplace : Literal [True ],
412
412
errors : IgnoreRaise = ...,
413
413
) -> None : ...
414
414
@overload
415
415
def drop (
416
416
self ,
417
- labels : Hashable | list [Hashable ] = ...,
417
+ labels : Hashable | Sequence [Hashable ] = ...,
418
418
* ,
419
419
axis : Axis = ...,
420
- index : Hashable | list [Hashable ] = ...,
421
- columns : Hashable | list [Hashable ] = ...,
420
+ index : Hashable | Sequence [Hashable ] = ...,
421
+ columns : Hashable | Sequence [Hashable ] = ...,
422
422
level : Optional [Level ] = ...,
423
423
inplace : Literal [False ] = ...,
424
424
errors : IgnoreRaise = ...,
425
425
) -> DataFrame : ...
426
426
@overload
427
427
def drop (
428
428
self ,
429
- labels : Hashable | list [Hashable ] = ...,
429
+ labels : Hashable | Sequence [Hashable ] = ...,
430
430
* ,
431
431
axis : Axis = ...,
432
- index : Hashable | list [Hashable ] = ...,
433
- columns : Hashable | list [Hashable ] = ...,
432
+ index : Hashable | Sequence [Hashable ] = ...,
433
+ columns : Hashable | Sequence [Hashable ] = ...,
434
434
level : Optional [Level ] = ...,
435
435
inplace : bool = ...,
436
436
errors : IgnoreRaise = ...,
0 commit comments