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

Function ne

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

chunked_arrayMethod · 0.80
equalsMethod · 0.80

Tested by

no test coverage detected