lowercase dataframe python code example Example: pandas convert all string columns to lowercase df = df.applymap(lambda s:s.lower() if type(s) == str else s)