Table operations overview

A quick reference for table operations

For the concepts behind table operations — immutability, formulas, dependencies — see Understanding the Table API. This page is a quick-reference index of what's available; each guide linked below covers its operation in full, with examples.

Quick reference

I want to...Use this
Keep rows matching a conditionwhere("condition")
Get first/last N rowshead(n) / tail(n)
Add columns (stored)update(["NewColumn = formula"])
Add columns (computed on demand)update_view(["NewColumn = formula"])
Keep only specific columnsselect(["Column1", "Column2"])
Compute specific columns on demand, dropping the restview(["Column1", "NewColumn = formula"])
Sort by columnsort("Column")
Sort in reverse ordersort_descending("Column")
Join lookup datanatural_join(other, on=["Key"])
Join requiring exactly one matchexact_join(other, on=["Key"])
Cross or key-matched joinjoin(other, on=["Key"])
Match on a timestamp/ordered keyaj(other, on=["Key"])
Aggregate by groupsagg_by([agg.sum_(...)], by=["Key"])

Diving deeper: API references

When you need complete method signatures, parameter details, or edge case behavior:

  • Pydocdeephaven.table.Table: All Python Table methods with type hints and docstrings
  • JavadocTableOperations: The operation contracts that define behavior across all languages

The reference documentation for each operation (e.g., where, update) also links to the relevant Pydoc and Javadoc.