NumPy

numpy.char.chararray.capitalize

method

chararray.capitalize()

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

See also

char.capitalize