Skip to main content

Aggregators

An aggregator defines how a column reduces multiple values to a single number. Aggregators are used in Frequency Tables (Shift+F), Pivot Tables (Shift+W), and the Describe Sheet (Shift+I). You can also compute an aggregate instantly in the status bar without opening any sheet.

Learning Focus

Use + <aggregator> to set a column's aggregator before opening a Frequency or Pivot table. Use z+ <aggregator> for instant results right in the status bar.

Set an Aggregator

+ <aggregator> set aggregator for current column
z+ <aggregator> set aggregator AND show result instantly in status bar
g+ <aggregator> set aggregator for selected columns (in Columns Sheet)

Examples:

# Set salary aggregator to mean
# Move to 'salary' column (cast to float first: %)
+ mean

# Now open Frequency Table on 'department'
# Move to 'department' column
Shift+F
# → shows mean salary per department

Instant Status Bar Calculation (z+)

Use z+ as a quick calculator — no sheet needed.

# Move to 'salary' column
z+ sum
# Status bar shows: sum: 390000

z+ mean
# Status bar shows: mean: 78000

z+ max
# Status bar shows: max: 90000

z+ min
# Status bar shows: min: 65000

z+ count
# Status bar shows: count: 5

z+ stdev
# Status bar shows: stdev: 9560.43

The calculation applies to all currently visible rows. If rows are selected, it applies only to the selection.

Aggregator Reference

AggregatorDescriptionCompatible Types
sumSum of all valuesint, float, currency
meanArithmetic meanint, float, currency
medianMedian valueint, float, currency
minMinimum valueint, float, date, str
maxMaximum valueint, float, date, str
countCount of non-null valuesAny
stdevStandard deviationint, float
distinctSet of distinct valuesAny
listAll values as a Python listAny
most_commonMost frequent valueAny
q3 / q4 / q5Quantile bins (tertile/quartile/quintile)int, float

Bulk Set Aggregators (Columns Sheet)

Set aggregators on multiple columns at once:

Shift+C # open Columns Sheet

# Select numeric column rows
| # regex select
# Enter: salary|amount|cost|price

# Set mean aggregator for all selected
g+ mean

q # return to source sheet

See Columns Sheet Operations for details.

Aggregators in Analysis Sheets

  • Frequency Table (Shift+F): shows the aggregator value for each group in the current column
  • Pivot Table (Shift+W): shows aggregator values for row × column intersections
  • Describe Sheet (Shift+I): profiles each column with multiple aggregators automatically

For detailed workflows, see:

Quick Reference

KeyAction
+ <agg>Set aggregator on current column
z+ <agg>Set aggregator and show result in status bar
g+ <agg>Set aggregator on selected columns (Columns Sheet)

What's Next