@@ -7,7 +7,6 @@ from collections.abc import (
77 Hashable ,
88 Iterable ,
99 Mapping ,
10- MutableMapping ,
1110 Sequence ,
1211)
1312import datetime as dt
@@ -40,6 +39,7 @@ from pandas._typing import (
4039 ExcelWriterMergeCells ,
4140 FilePath ,
4241 FileWriteMode ,
42+ FloatFormatType ,
4343 Frequency ,
4444 HashableT1 ,
4545 HashableT2 ,
@@ -95,7 +95,7 @@ class NDFrame:
9595 @final
9696 def __round__ (self , decimals : int = ...) -> Self : ...
9797 @final
98- def __contains__ (self , key ) -> _bool : ...
98+ def __contains__ (self , key : Any ) -> _bool : ...
9999 @property
100100 def empty (self ) -> _bool : ...
101101 __array_priority__ : int = ...
@@ -221,7 +221,7 @@ class NDFrame:
221221 index : _bool = ...,
222222 na_rep : _str = ...,
223223 formatters = ...,
224- float_format = ... ,
224+ float_format : FloatFormatType | None = None ,
225225 sparsify : _bool | None = ...,
226226 index_names : _bool = ...,
227227 bold_rows : _bool = ...,
@@ -246,7 +246,7 @@ class NDFrame:
246246 index : _bool = ...,
247247 na_rep : _str = ...,
248248 formatters = ...,
249- float_format = ... ,
249+ float_format : FloatFormatType | None = None ,
250250 sparsify : _bool | None = ...,
251251 index_names : _bool = ...,
252252 bold_rows : _bool = ...,
@@ -323,7 +323,7 @@ class NDFrame:
323323 index : None ,
324324 columns = ...,
325325 level = ...,
326- inplace = ... ,
326+ inplace : Literal [ False ] = False ,
327327 errors = ...,
328328 ) -> Never : ...
329329 @overload
@@ -335,7 +335,7 @@ class NDFrame:
335335 index = ...,
336336 columns : None ,
337337 level = ...,
338- inplace = ... ,
338+ inplace : Literal [ False ] = False ,
339339 errors = ...,
340340 ) -> Never : ...
341341 @overload
@@ -347,7 +347,7 @@ class NDFrame:
347347 index = ...,
348348 columns = ...,
349349 level = ...,
350- inplace = ... ,
350+ inplace : Literal [ False ] = False ,
351351 errors = ...,
352352 ) -> Never : ...
353353 @overload
@@ -437,14 +437,6 @@ class NDFrame:
437437 ** kwargs : Any ,
438438 ) -> T : ...
439439 @final
440- def __finalize__ (self , other , method = ..., ** kwargs : Any ) -> Self : ...
441- @final
442- def __setattr__ (self , name : _str , value ) -> None : ...
443- @final
444- def __copy__ (self , deep : _bool = ...) -> Self : ...
445- @final
446- def __deepcopy__ (self , memo : MutableMapping [int , Any ] | None = None ) -> Self : ...
447- @final
448440 def convert_dtypes (
449441 self ,
450442 infer_objects : _bool = True ,
0 commit comments