pandas convert all string columns to lowercase

42

df = df.applymap(lambda s:s.lower() if type(s) == str else s)

Comments

Submit
0 Comments