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

Method title

numpy/_core/defchararray.py:1144–1155  ·  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

1142 return asarray(swapcase(self))
1143
1144 def title(self):
1145 """
1146 For each element in `self`, return a titlecased version of the
1147 string: words start with uppercase characters, all remaining cased
1148 characters are lowercase.
1149
1150 See Also
1151 --------
1152 char.title
1153
1154 """
1155 return asarray(title(self))
1156
1157 def translate(self, table, deletechars=None):
1158 """

Callers 2

runMethod · 0.80
test_titleMethod · 0.80

Calls 2

titleFunction · 0.85
asarrayFunction · 0.70

Tested by 1

test_titleMethod · 0.64