MCPcopy Create free account
hub / github.com/apache/arrow / test_table_equals

Function test_table_equals

python/pyarrow/tests/test_table.py:1453–1462  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1451
1452
1453def test_table_equals():
1454 table = pa.Table.from_arrays([], names=[])
1455 assert table.equals(table)
1456
1457 # ARROW-4822
1458 assert not table.equals(None)
1459
1460 other = pa.Table.from_arrays([], names=[], metadata={'key': 'value'})
1461 assert not table.equals(other, check_metadata=True)
1462 assert table.equals(other)
1463
1464
1465def test_table_from_batches_and_schema():

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.80

Tested by

no test coverage detected