Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ compressed
Method
compressed
numpy/ma/tests/test_core.py:5161–5162 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
5159
# with .compressed() overridden
5160
class
M(MaskedArray):
5161
def
compressed(self):
5162
return
42
5163
5164
test = np.ma.compressed(M([[[]], [[]]]))
5165
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