lowercase all string in pandas 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()