Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
countResample
Description
TheResample
combinator can be applied to the count
aggregate function to count values of a specified key column in a fixed number
of intervals (N).
Example usage
Basic example
Let’s look at an example. We’ll create a table which contains thename, age and
wage of employees, and we’ll insert some data into it:
[30,60)
and [60,75) ([ is exclusive and ) is inclusive). Since we use integer
representation for age, we get ages in the intervals [30, 59] and [60,74].
To do so we apply the Resample combinator to the avg aggregate function.