content/flux/v0/stdlib/contrib/bonitoo-io/tickscript/compute.md
tickscript.compute() is an alias for tickscript.select() that changes a column’s name and
optionally applies an aggregate or selector function.
(<-tables: B, as: string, ?column: A, ?fn: (<-: B, column: A) => stream[C]) => stream[D] where A: Equatable, C: Record, D: Record
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) New column name.
Column to operate on. Default is _value.
Aggregate or selector function to apply.
Input data. Default is piped-forward data (<-).