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

Method B

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

Source from the content-addressed store, hash-verified

235 .view(np.char.chararray)
236
237 def B(self):
238 return np.array([[' \u03a3 ', ''],
239 ['12345', 'MixedCase'],
240 ['123 \t 345 \0 ', 'UPPER']]) \
241 .view(np.char.chararray)
242
243 def test_len(self):
244 A, B = self.A(), self.B()

Callers 2

test_lenMethod · 0.95
test_countMethod · 0.95

Calls 1

viewMethod · 0.45

Tested by

no test coverage detected