pandas.Series.str.lower — pandas 1.3.5 documentation
pandas.pydata.org › pandasSeries.str.capitalize. Converts first character to uppercase and remaining to lowercase. Series.str.swapcase. Converts uppercase to lowercase and lowercase to uppercase. Series.str.casefold. Removes all case distinctions in the string. Examples. >>> s = pd.Series( ['lower', 'CAPITALS', 'this is a sentence', 'SwApCaSe']) >>> s 0 lower 1 CAPITALS ...