MCPcopy Index your code
hub / github.com/numpy/numpy / A

Method A

numpy/_core/tests/test_defchararray.py:231–235  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

229@ignore_charray_deprecation
230class TestInformation:
231 def A(self):
232 return np.array([[' abc ', ''],
233 ['12345', 'MixedCase'],
234 ['123 \t 345 \0 ', 'UPPER']]) \
235 .view(np.char.chararray)
236
237 def B(self):
238 return np.array([[' \u03a3 ', ''],

Callers 15

test_lenMethod · 0.95
test_countMethod · 0.95
test_endswithMethod · 0.95
test_findMethod · 0.95
test_indexMethod · 0.95
test_isalnumMethod · 0.95
test_isalphaMethod · 0.95
test_isdigitMethod · 0.95
test_islowerMethod · 0.95
test_isspaceMethod · 0.95
test_istitleMethod · 0.95
test_isupperMethod · 0.95

Calls 1

viewMethod · 0.45

Tested by

no test coverage detected