Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to merge rows in pandas dataframe

df = dataframe.groupby(['date', 'sitename', 'name']).sum()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #merge #rows #pandas #dataframe
ADD COMMENT
Topic
Name
9+7 =