NumPy

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