Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas convert all string columns to lowercase

df = df.applymap(lambda s:s.lower() if type(s) == str else s)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #convert #string #columns #lowercase
ADD COMMENT
Topic
Name
2+1 =