Hacker News new | ask | show | jobs
by theghostofjr 3347 days ago
You can supply a map to agg, something like {col1:'sum', col2: 'mean',...}
1 comments

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))