Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ A
Class
A
numpy/ma/tests/test_core.py:4893–4894 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4891
4892
# Test case when input data is ndarray subclass
4893
class
A(np.ndarray):
4894
pass
4895
4896
a = np.ma.array(A(shape=0))
4897
test = np.ma.compressed(a)
Callers
1
test_compressed
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_compressed
Method · 0.56