Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas join two columns

df['FullName'] = df[['First_Name', 'Last_Name']].agg('-'.join, axis=1)
 
PREVIOUS NEXT
Tagged: #pandas #join #columns
ADD COMMENT
Topic
Name
5+7 =