Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

combine column in csv python pandas

df['period'] = df[['Year', 'quarter', ...]].agg('-'.join, axis=1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #combine #column #csv #python #pandas
ADD COMMENT
Topic
Name
4+1 =