numpy / 1.18.5 / reference / generated / numpy.chararray.capitalize.html /

numpy.chararray.capitalize

method

chararray.capitalize(self) [source]

Return a copy of self with only the first character of each element capitalized.

See also

char.capitalize

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.chararray.capitalize.html