Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

clean column names pandas

df=df.rename(columns=lambda x:x.lower().replace(' ','_'))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clean #column #names #pandas
ADD COMMENT
Topic
Name
8+7 =