Create a gist now

Instantly share code, notes, and snippets.

Data Brewery - Aggregate a Remote CSV File
Data Brewery Example
Aggregate a remote CSV file.
import brewery
main = brewery.create_builder()
main.node.fields = brewery.FieldList([
["amount", "float"]
main.aggregate(keys=["year", "category"], measures=["amount"])
main.field_map(keep_fields=["year", "category", "amount_sum"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment