Timestream.first

Timestream.first(window=None)

Return a Timestream containing the first 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.