Testing¶
Assertion functions¶
|
Check that left and right DataFrame are equal. |
|
Check that left and right Series are equal. |
|
Check that left and right Index are equal. |
|
Check that left and right ExtensionArrays are equal. |
Exceptions and warnings¶
|
Raise this error instead of NotImplementedError for abstract methods while keeping compatibility with Python 2 and Python 3. |
Warning for attribute conflicts in accessor registration. |
|
Exception raised when trying to perform a ohlc on a non-numnerical column. |
|
Warning raised when reading different dtypes in a column from a file. |
|
Error raised when an operation would introduce duplicate labels. |
|
Exception that is thrown in pd.read_csv (by both the C and Python engines) when empty data or header is encountered. |
|
Exception is raised when trying to index and there is a mismatch in dimensions. |
|
Exception raised when attempting to use an invalid index key. |
|
Raised when attempting an astype operation on an array with NaN to an integer dtype. |
|
Error raised when problems arise during merging due to problems with input data. |
|
Error raised when a null freq attribute is used in an operation that needs a non-null frequency, particularly DatetimeIndex.shift, TimedeltaIndex.shift, PeriodIndex.shift. |
|
Error raised for unsupported Numba engine routines. |
|
Exception is raised when trying to use a built-in numexpr name as a variable name in a method like query or eval. |
|
Exception for pandas.options, backwards compatible with KeyError checks. |
|
Raised when the datetime is outside the range that can be represented. |
|
Raised when encountering a timedelta value that cannot be represented as a timedelta64[ns]. |
|
Exception that is raised by an error encountered in parsing file contents. |
|
Warning raised when reading a file that doesn't use the default 'c' parser. |
|
Warning raised when there is a possible performance impact. |
|
Exception is raised when trying to use methods like to_clipboard() and read_clipboard() on an unsupported OS/platform. |
|
|
Exception is raised when pandas is unable to get access to the clipboard handle due to some other window process is accessing it. |
Exception is raised when trying to set on a copied slice from a dataframe and the mode.chained_assignment is set to 'raise.' This can happen unintentionally when chained indexing. |
|
Warning is raised when trying to set on a copied slice from a dataframe and the mode.chained_assignment is set to 'warn.' 'Warn' is the default option. |
|
Exception raised in two scenarios. |
|
|
Exception is raised when trying to use an undefined variable name in a method like query or eval. |
Error raised when attempting to get a slice of a MultiIndex, and the index has not been lexsorted. |
|
Exception raised when attempting to call a numpy function on a pandas object, but that function is not supported by the object e.g. |
Bug report function¶
|
Provide useful information, important for bug reports. |
Test suite runner¶
|
Run the pandas test suite using pytest. |