table_equality#

pylibcudf.table_equality.tables_equal(Table left, Table right, null_equality nulls_equal=null_equality.EQUAL, stream=None) bool#

Check if two tables are equal.

Returns true if the input tables have the same number of rows, the same number of columns, matching column types, and every row in left compares equal to the row at the same index in right. Null equality is controlled by nulls_equal. Floating point NaN values compare equal.

For details, see tables_equal().

Parameters:
leftTable

The first table to compare.

rightTable

The second table to compare.

nulls_equalNullEquality, default NullEquality.EQUAL

Flag to denote if null elements should be considered equal.

streamStream, default None

CUDA stream on which to perform the operation.

Returns:
bool

True if the tables are equal, False otherwise.