Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ compressed
Method
compressed
numpy/ma/tests/test_core.py:4915–4916 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
4913
# with .compressed() overridden
4914
class
M(MaskedArray):
4915
def
compressed(self):
4916
return
42
4917
4918
test = np.ma.compressed(M([[[]], [[]]]))
4919
assert_equal(test, 42)
Callers
14
check_clump
Method · 0.45
test_complex
Method · 0.45
test_1d_with_missing
Method · 0.45
test_1d_with_missing
Method · 0.45
test_polyfit
Method · 0.45
test_trace
Method · 0.45
test_ptp
Method · 0.45
test_varstd
Method · 0.45
test_compressed
Method · 0.45
test_ptp
Method · 0.45
test_trace
Method · 0.45
test_varstd
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected