Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ ne
Function
ne
python/pyarrow/tests/test_tensor.py:159–162 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
157
assert not (a != b)
158
159
def
ne(a, b):
160
assert not a.equals(b)
161
assert not (a == b)
162
assert a != b
163
164
data = np.random.randn(10, 6, 4)[::, ::2, ::]
165
tensor1 = pa.Tensor.from_numpy(data)
Callers
1
test_tensor_equals
Function · 0.70
Calls
1
equals
Method · 0.80
Tested by
no test coverage detected