Returns the bounding box of a value's occurrences, in the coordinates of the scanned grid.
The value to look up
The smallest rectangle containing every occurrence, or null when the value was
not found, is blank, or the frequencies were merged from several ranges (no single grid).
Tracked by the same scan that counts, so it costs nothing extra. A box whose cell count equals getFrequency is a contiguous block — the value lives in exactly that rectangle; a larger box means the occurrences are scattered within it.
Returns the frequency (occurrence count) of a specific value.
The value to look up
Number of times the value appears, or 0 if not found
Total count of values in the range (respecting options).
Total count of distinct values in the range (respecting options).
Returns an iterator of distinct values found (respecting options).
Returns unique values with their frequencies as an iterator.
Optionaloptions: { descending?: boolean; sortBy?: "value" | "frequency" }
Optionaldescending?: booleanSort direction
OptionalsortBy?: "value" | "frequency"How to sort results
Iterator of [value, count] tuples, sorted by frequency (descending) by default
Frequency distribution results for a range.
Remarks
Provides pandas-like value_counts() functionality.