User Tools

Site Tools


aggregations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
aggregations [2017/01/05 14:24]
vincenzo
aggregations [2017/01/05 14:24] (current)
vincenzo
Line 5: Line 5:
 <code python> <code python>
 # Define the aggregation procedure outside of the groupby operation # Define the aggregation procedure outside of the groupby operation
- 
 # In the dictionary you must put the actual name of the column of the df NOT the name of the function # In the dictionary you must put the actual name of the column of the df NOT the name of the function
 +
 aggregations = { aggregations = {
     '​duration':'​sum',​     '​duration':'​sum',​
aggregations.txt ยท Last modified: 2017/01/05 14:24 by vincenzo