Adds various metrics aggregation to search contexts, specifically, "min", "max", "avg", "sum", "stats", "extended_stats",
"percentiles", "value_count" and "cardinality". These are accessed through the metrics member on class SearchContext. See examples in examples/metrics.ipynb.
Pre-review checklist
[x] Read through all changes. No redundant print() statements, commented-out code, or other remnants from the development. ๐
[x] Make sure tests pass after every commit. โ
[x] New/refactored code is following same conventions as the rest of the code base. ๐งฌ
Issue
N/A
Short description
Adds various metrics aggregation to search contexts, specifically, "min", "max", "avg", "sum", "stats", "extended_stats", "percentiles", "value_count" and "cardinality". These are accessed through the
metrics
member on classSearchContext
. See examples inexamples/metrics.ipynb
.Pre-review checklist
print()
statements, commented-out code, or other remnants from the development. ๐Pre-merge checklist