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
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
COMMENT
Name
7+2 =
Submit