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