@@ -317,26 +317,26 @@ class NDFrame:
317317 @overload
318318 def drop (
319319 self ,
320- labels = ... ,
320+ labels : Hashable | Sequence [ Hashable ] | Index | None = None ,
321321 * ,
322322 axis = ...,
323323 index : None ,
324324 columns = ...,
325325 level = ...,
326326 inplace : Literal [False ] = False ,
327- errors = ... ,
327+ errors : IgnoreRaise = "raise" ,
328328 ) -> Never : ...
329329 @overload
330330 def drop (
331331 self ,
332- labels = ... ,
332+ labels : Hashable | Sequence [ Hashable ] | Index | None = None ,
333333 * ,
334334 axis = ...,
335335 index = ...,
336336 columns : None ,
337337 level = ...,
338338 inplace : Literal [False ] = False ,
339- errors = ... ,
339+ errors : IgnoreRaise = "raise" ,
340340 ) -> Never : ...
341341 @overload
342342 def drop (
@@ -348,7 +348,7 @@ class NDFrame:
348348 columns = ...,
349349 level = ...,
350350 inplace : Literal [False ] = False ,
351- errors = ... ,
351+ errors : IgnoreRaise = "raise" ,
352352 ) -> Never : ...
353353 @overload
354354 def drop (
@@ -360,7 +360,7 @@ class NDFrame:
360360 columns : Hashable | Iterable [Hashable ],
361361 level : Level | None = ...,
362362 inplace : Literal [True ],
363- errors : IgnoreRaise = ... ,
363+ errors : IgnoreRaise = "raise" ,
364364 ) -> None : ...
365365 @overload
366366 def drop (
@@ -372,7 +372,7 @@ class NDFrame:
372372 columns : Hashable | Iterable [Hashable ] = ...,
373373 level : Level | None = ...,
374374 inplace : Literal [True ],
375- errors : IgnoreRaise = ... ,
375+ errors : IgnoreRaise = "raise" ,
376376 ) -> None : ...
377377 @overload
378378 def drop (
@@ -384,7 +384,7 @@ class NDFrame:
384384 columns : None = None ,
385385 level : Level | None = ...,
386386 inplace : Literal [True ],
387- errors : IgnoreRaise = ... ,
387+ errors : IgnoreRaise = "raise" ,
388388 ) -> None : ...
389389 @overload
390390 def drop (
@@ -396,7 +396,7 @@ class NDFrame:
396396 columns : Hashable | Iterable [Hashable ],
397397 level : Level | None = ...,
398398 inplace : Literal [False ] = False ,
399- errors : IgnoreRaise = ... ,
399+ errors : IgnoreRaise = "raise" ,
400400 ) -> Self : ...
401401 @overload
402402 def drop (
@@ -408,7 +408,7 @@ class NDFrame:
408408 columns : Hashable | Iterable [Hashable ] = ...,
409409 level : Level | None = ...,
410410 inplace : Literal [False ] = False ,
411- errors : IgnoreRaise = ... ,
411+ errors : IgnoreRaise = "raise" ,
412412 ) -> Self : ...
413413 @overload
414414 def drop (
@@ -420,7 +420,7 @@ class NDFrame:
420420 columns : None = None ,
421421 level : Level | None = ...,
422422 inplace : Literal [False ] = False ,
423- errors : IgnoreRaise = ... ,
423+ errors : IgnoreRaise = "raise" ,
424424 ) -> Self : ...
425425 @overload
426426 def pipe (
0 commit comments