SciPy

numpy.chararray.capitalize

method

chararray.capitalize()[source]

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

See also

char.capitalize