lowercase string columns of of dataframe code example
Example 1: pandas convert all column names to lowercase
# rename Pandas columns to lower case
df.columns= df.columns.str.lower()
df.columns
Index(['column1', 'column2', 'column3'], dtype='object')
Example 2: how to make all strings in my dataframe lowercase
df["first_column"] = df["first_column"].str.lower()