Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
theghostofjr
· 9y ago · 0 comments
You can supply a map to agg, something like {col1:'sum', col2: 'mean',...}
Comments
[–]
closed
9y ago
Yes, but it is still applying that function to a single column (the summarise example I gave could aggregate multiple columns into a single result, e.g. sum(col1 / col2))