MCPcopy 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_clumpMethod · 0.45
test_complexMethod · 0.45
test_1d_with_missingMethod · 0.45
test_1d_with_missingMethod · 0.45
test_polyfitMethod · 0.45
test_traceMethod · 0.45
test_ptpMethod · 0.45
test_varstdMethod · 0.45
test_compressedMethod · 0.45
test_ptpMethod · 0.45
test_traceMethod · 0.45
test_varstdMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected