Return a Timestream containing the last value in the window.
window
Computed for each key separately.
window (Optional[Window], default: None)
None
The window to use for the aggregation. Defaults to the entire Timestream.