Comment
Comment by RodgerTheGreat
In Lil, the readcsv[] function takes an optional string specifying a type for each column to decode:
Summing a column:
To create a summary, we need to reduce each group to a single row:
Discounting:
Lil doesn't have a "median" primitive. Decks can contain multiple modules, but we happen to know this one is alone. Your path will vary:
Calculating the median within each group is merely a matter of reordering clauses: