flowstdlib 1.0.0

The standard library of functions and flows for 'flow' programs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
## Bin Count (//flowstdlib/data/bin_count)
Count occurrences of each value in a stream. Each input value is used as
an index into a bins array, incrementing the count at that position.

On null input (EOF), outputs the final bins array on the `bins` output.
On non-null input, outputs updated partial bins on `partial` for loopback.

Useful for histograms, frequency analysis, categorical counting.

### Include using
```toml
[[process]]
source = "lib://flowstdlib/data/bin_count"
```