MCPcopy Create free account
hub / github.com/cogentcore/core / AggAllNumericCols

Function AggAllNumericCols

tensor/stats/split/agg.go:54–62  ·  view source on GitHub ↗

AggAllNumericCols performs aggregation using given standard aggregation function across all splits, for all number-valued columns in the table.

(spl *table.Splits, stat stats.Stats)

Source from the content-addressed store, hash-verified

52// AggAllNumericCols performs aggregation using given standard aggregation function across
53// all splits, for all number-valued columns in the table.
54func AggAllNumericCols(spl *table.Splits, stat stats.Stats) {
55 dt := spl.Table()
56 for ci, cl := range dt.Columns {
57 if cl.IsString() {
58 continue
59 }
60 AggIndex(spl, ci, stat)
61 }
62}
63
64///////////////////////////////////////////////////
65// Desc

Callers

nothing calls this directly

Calls 3

AggIndexFunction · 0.85
TableMethod · 0.80
IsStringMethod · 0.65

Tested by

no test coverage detected