DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+2 =
Submit