07-17-2020, 08:22 AM
numpy.char.capitalize

https://www.sickgaming.net/blog/2020/07/...apitalize/
numpy.char.capitalize(a)
Return a copy of a with only the first character of each element capitalized.
Calls str.capitalize element-wise.
For 8-bit strings, this method is locale-dependent.
Parameters:
- a: array_like of str or unicode: Input array of strings to capitalize.
Returns:
- out ndarray: Output array of str or unicode, depending on input types
See also
Examples

https://www.sickgaming.net/blog/2020/07/...apitalize/

