Skip to content

Instantly share code, notes, and snippets.

View BodonFerenc's full-sized avatar

Ferenc Bodon BodonFerenc

View GitHub Profile
rowCount: 100*1000
t: ([] bucket: string rowCount?`2; qty: rowCount?100; risk: rowCount?10; weight: rowCount?2.)
\t do[100; select NR: count i, TOTAL_QTY: sum qty, AVG_QTY: avg qty, TOTAL_RISK: sum risk, AVG_QTY: avg risk, W_AVG_QTY: weight wavg qty, W_AVG_RISK: weight wavg risk by bucket from t]
@BodonFerenc
BodonFerenc / AggregationByMultipleColumns.ipynb
Created June 17, 2018 17:54
Aggregation on multiple columns
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.