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

Method SetLevels

tensor/table/splits.go:387–389  ·  view source on GitHub ↗

SetLevels sets the Levels index names -- must match actual index dimensionality of the Values. This is automatically done by e.g., GroupBy, but must be done manually if creating custom indexes.

(levels ...string)

Source from the content-addressed store, hash-verified

385// of the Values. This is automatically done by e.g., GroupBy, but must be done
386// manually if creating custom indexes.
387func (spl *Splits) SetLevels(levels ...string) {
388 spl.Levels = levels
389}
390
391// use these for arg to ArgsToTable*
392const (

Callers 2

PermutedFunction · 0.95
AnalyzePlanetsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected