Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

merge two columns name in one header pandas

df['A'] = df[a_cols].apply(' '.join, axis=1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #merge #columns #header #pandas
ADD COMMENT
Topic
Name
5+1 =