Answers for "pandas convert all string columns to lowercase"

1

pandas convert all string columns to lowercase

df = df.applymap(lambda s:s.lower() if type(s) == str else s)
Posted by: Guest on December-14-2020

Code answers related to "pandas convert all string columns to lowercase"

Python Answers by Framework

Browse Popular Code Answers by Language