Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas dataframe add two columns int and string

df1 = df['1st Column Name'].map(str) + df['2nd Column Name'].map(str) + ...
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #pandas #dataframe #add #columns #int #string
ADD COMMENT
Topic
Name
3+8 =