Timestream.count_if

Timestream.count_if(window=None)

Return a Timestream containing the count of true values in window.

Computed for each key separately.

Parameters:

window (Optional[Window], default: None)

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