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

Function eq

python/pyarrow/tests/test_table.py:248–260  ·  view source on GitHub ↗
(xarrs, yarrs)

Source from the content-addressed store, hash-verified

246
247def test_chunked_array_equals():
248 def eq(xarrs, yarrs):
249 if isinstance(xarrs, pa.ChunkedArray):
250 x = xarrs
251 else:
252 x = pa.chunked_array(xarrs)
253 if isinstance(yarrs, pa.ChunkedArray):
254 y = yarrs
255 else:
256 y = pa.chunked_array(yarrs)
257 assert x.equals(y)
258 assert y.equals(x)
259 assert x == y
260 assert x != str(y)
261
262 def ne(xarrs, yarrs):
263 if isinstance(xarrs, pa.ChunkedArray):

Callers 1

Calls 2

chunked_arrayMethod · 0.80
equalsMethod · 0.80

Tested by

no test coverage detected