1+ from pandas .core .computation .ops import UndefinedVariableError as UndefinedVariableError
2+
13from pandas ._config .config import OptionError as OptionError
24
35from pandas ._libs .tslibs import (
46 OutOfBoundsDatetime as OutOfBoundsDatetime ,
57 OutOfBoundsTimedelta as OutOfBoundsTimedelta ,
68)
79
8- from pandas .io .clipboard import PyperclipWindowsException as PyperclipWindowsException
9-
10- # TODO: Uncomment import below after switch to 1.5.x.
11- # from pandas.core.computation.ops import UndefinedVariableError as UndefinedVariableError
12-
1310class IntCastingNaNError (ValueError ): ...
1411class NullFrequencyError (ValueError ): ...
1512class PerformanceWarning (Warning ): ...
@@ -28,30 +25,24 @@ class AbstractMethodError(NotImplementedError):
2825class NumbaUtilError (Exception ): ...
2926class DuplicateLabelError (ValueError ): ...
3027class InvalidIndexError (Exception ): ...
28+ class DataError (Exception ): ...
29+ class SpecificationError (Exception ): ...
30+ class SettingWithCopyError (ValueError ): ...
31+ class SettingWithCopyWarning (Warning ): ...
32+ class NumExprClobberingError (NameError ): ...
33+ class IndexingError (Exception ): ...
34+ class PyperclipException (RuntimeError ): ...
35+
36+ class PyperclipWindowsException (PyperclipException ):
37+ def __init__ (self , message ) -> None : ...
3138
32- # TODO: Uncomment and delete from pandas.core.base after switch to 1.5.x
33- # class DataError(Exception): ...
34- # class SpecificationError(Exception): ...
35- # TODO: Uncomment and delete from pandas.core.common after switch to 1.5.x
36- # class SettingWithCopyError(ValueError): ...
37- # class SettingWithCopyWarning(Warning): ...
38- # TODO: Uncomment and delete from pandas.core.computation.engines after switch to 1.5.x
39- # class NumExprClobberingError(NameError): ...
40- # TODO: Uncomment and delete from core.indexing after switch to 1.5.x
41- # class IndexingError(Exception): ...
42- # TODO: Uncomment and delete from io.clipboards.__init__ after switch to 1.5.x
43- # class PyperclipException(RuntimeError): ...
44- # TODO: Uncomment and delete from io.formats.css after switch to 1.5.x
45- # class CSSWarning(UserWarning): ...
46- # TODO: Uncomment and delete next 4 from io.pytables after switch to 1.5.x
47- # class PossibleDataLossError(Exception): ...
48- # class ClosedFileError(Exception): ...
49- # class IncompatibilityWarning(Warning): ...
50- # class AttributeConflictWarning(Warning): ...
51- # TODO: Uncomment and delete from io.sql after switch to 1.5.x
52- # class DatabaseError(OSError): ...
53- # TODO: Uncomment and delete from io.stata after switch to 1.5.x
54- # class PossiblePrecisionLoss(Warning): ...
55- # class ValueLabelTypeMismatch(Warning): ...
56- # class InvalidColumnName(Warning): ...
57- # class CategoricalConversionWarning(Warning): ...
39+ class CSSWarning (UserWarning ): ...
40+ class PossibleDataLossError (Exception ): ...
41+ class ClosedFileError (Exception ): ...
42+ class IncompatibilityWarning (Warning ): ...
43+ class AttributeConflictWarning (Warning ): ...
44+ class DatabaseError (OSError ): ...
45+ class PossiblePrecisionLoss (Warning ): ...
46+ class ValueLabelTypeMismatch (Warning ): ...
47+ class InvalidColumnName (Warning ): ...
48+ class CategoricalConversionWarning (Warning ): ...
0 commit comments