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

Function eq

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

chunked_arrayMethod · 0.80
equalsMethod · 0.80

Tested by

no test coverage detected