vl.nth_value(field, param, as)
A nth_value
window operation.
nth_value
Method Overviewnth_value
API Reference# nth_value.as(value)
The output name for the window operation.
# nth_value.field(value)
The data field for which to compute the aggregate or window function. This can be omitted for window functions that do not operate over a field such as "count"
, "rank"
, "dense_rank"
.
# nth_value.op(value)
The window or aggregation operation to apply within a window (e.g., "rank"
, "lead"
, "sum"
, "average"
or "count"
). See the list of all supported operations here.
# nth_value.param(value)
Parameter values for the window functions. Parameter values can be omitted for operations that do not accept a parameter.
See the list of all supported operations and their parameters here.