Timestream.last

Timestream.last(window=None)

Return a Timestream containing the last value in the window.

Computed for each key separately.

Parameters:

window (Optional[Window], default: None)

The window to use for the aggregation. Defaults to the entire Timestream.