pandas.Series.str.title

Series.str.title()

Convert strings in the Series/Index to titlecase. Equivalent to str.title().

Returns:converted : Series/Index of objects