pandas put all columns to lower cas 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: pandas convert all string columns to lowercase
df = df.applymap(lambda s:s.lower() if type(s) == str else s)