MCPcopy
hub / github.com/numpy/numpy / B

Method B

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

Source from the content-addressed store, hash-verified

377 dtype='S').view(np.char.chararray)
378
379 def B(self):
380 return np.array([[' \u03a3 ', ''],
381 ['12345', 'MixedCase'],
382 ['123 \t 345 \0 ', 'UPPER']]) \
383 .view(np.char.chararray)
384
385 def test_capitalize(self):
386 A, B = self.A(), self.B()

Callers 11

test_capitalizeMethod · 0.95
test_encodeMethod · 0.95
test_lowerMethod · 0.95
test_lstripMethod · 0.95
test_rstripMethod · 0.95
test_stripMethod · 0.95
test_swapcaseMethod · 0.95
test_titleMethod · 0.95
test_upperMethod · 0.95
test_isnumericMethod · 0.95
test_isdecimalMethod · 0.95

Calls 1

viewMethod · 0.45

Tested by

no test coverage detected