miller/internal/pkg/transformers/utils
John Kerl d341cc6dd3
DSL functions for summary stats over arrays / maps (#1364)
* DSL stats functions [WIP]

* refactor

* move percentile computation to bifs module; iterate

* mode and antimode

* percentile iterate

* percentile sketching

* neaten

* unit-test iterate

* unify old & new min & max functions

* unit-test cases

* code-dedupe between mode and antimode

* make mode/antimode ties deterministic via first-found-wins rule

* online help strings for new stats DSL functions

* artifacts from `make dev`

* help info on how min/max now recurse into collections

* artifacts from `make dev`

* typofix
2023-08-26 16:02:30 -04:00
..
doc.go Standardize Go-package structure (#746) 2021-11-11 14:15:13 -05:00
join_bucket.go replace - with _ in *.go filenames 2022-01-23 23:22:55 -05:00
join_bucket_keeper.go Add --left-keep-fields option for mlr join (#967) 2022-02-23 23:32:19 -05:00
percentile_keeper.go DSL functions for summary stats over arrays / maps (#1364) 2023-08-26 16:02:30 -04:00
README.md Standardize Go-package structure (#746) 2021-11-11 14:15:13 -05:00
stats1_accumulators.go DSL functions for summary stats over arrays / maps (#1364) 2023-08-26 16:02:30 -04:00
stats2_accumulators.go Use int64 wherever "64-bit integer" is assumed (#902) 2022-01-27 12:06:25 -05:00
top_keeper.go Use int64 wherever "64-bit integer" is assumed (#902) 2022-01-27 12:06:25 -05:00
window_keeper.go replace - with _ in *.go filenames 2022-01-23 23:22:55 -05:00
window_keeper_test.go Implement shift-lead option for mlr step (#893) 2022-01-23 00:54:39 -05:00

These are data structures used by various verbs including join,stats1, and `top.