Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas dataframe add two columns int and string

df = df['Day'].map(str) + '-' + df['Month'].map(str) + '-' + df['Year'].map(str)
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #pandas #dataframe #add #columns #int #string
ADD COMMENT
Topic
Name
3+4 =