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 ...
pandas.Series.reset_index — pandas 1.3.5 documentation
pandas.pydata.org › pandasFor a Series with a MultiIndex, only remove the specified levels from the index. Removes all levels by default. drop bool, default False. Just reset the index, without inserting it as a column in the new DataFrame. name object, optional. The name to use for the column containing the original Series values. Uses self.name by default.