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

Function ne

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

Source from the content-addressed store, hash-verified

260 assert x != str(y)
261
262 def ne(xarrs, yarrs):
263 if isinstance(xarrs, pa.ChunkedArray):
264 x = xarrs
265 else:
266 x = pa.chunked_array(xarrs)
267 if isinstance(yarrs, pa.ChunkedArray):
268 y = yarrs
269 else:
270 y = pa.chunked_array(yarrs)
271 assert not x.equals(y)
272 assert not y.equals(x)
273 assert x != y
274
275 eq(pa.chunked_array([], type=pa.int32()),
276 pa.chunked_array([], type=pa.int32()))

Callers 1

Calls 2

chunked_arrayMethod · 0.80
equalsMethod · 0.80

Tested by

no test coverage detected