Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

replace space with _ in pandas

data.columns = data.columns.str.replace(' ','_')
 
PREVIOUS NEXT
Tagged: #replace #space #pandas
ADD COMMENT
Topic
Name
5+3 =