How To Merge Rows In Pandas Dataframe Code Example

Snippet 1

  df = dataframe.groupby(['date', 'sitename', 'name']).sum() 

Copyright © Code Fetcher 2020

 

 

Leave a comment

Your email address will not be published. Required fields are marked *