MCPcopy Create free account
hub / github.com/numpy/numpy / title

Method title

numpy/core/defchararray.py:2654–2665  ·  view source on GitHub ↗

For each element in `self`, return a titlecased version of the string: words start with uppercase characters, all remaining cased characters are lowercase. See Also -------- char.title

(self)

Source from the content-addressed store, hash-verified

2652 return asarray(swapcase(self))
2653
2654 def title(self):
2655 """
2656 For each element in `self`, return a titlecased version of the
2657 string: words start with uppercase characters, all remaining cased
2658 characters are lowercase.
2659
2660 See Also
2661 --------
2662 char.title
2663
2664 """
2665 return asarray(title(self))
2666
2667 def translate(self, table, deletechars=None):
2668 """

Callers 1

test_titleMethod · 0.80

Calls 2

titleFunction · 0.85
asarrayFunction · 0.70

Tested by 1

test_titleMethod · 0.64