pandas return to lowercase code example
Example 1: pandas convert all string columns to lowercase
df = df.applymap(lambda s:s.lower() if type(s) == str else s)
Example 2: how to make all strings in my dataframe lowercase
df["first_column"] = df["first_column"].str.lower()