NumPy

numpy.char.chararray.capitalize

method

chararray.capitalize(self)

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

See also

char.capitalize