last
for filters
Return only the last several rows of the input. Counterpart of `first`. Opposite of `drop`.
Signature
> last (rows)
Parameters
rows
: starting from the back, the number of rows to return
Examples
Get the last 2 items
> [1,2,3] | last 2
╭───┬───╮
│ 0 │ 2 │
│ 1 │ 3 │
╰───┴───╯
Get the last item
> [1,2,3] | last
3