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

Function NewTable

tensor/table/table.go:41–47  ·  view source on GitHub ↗
(name ...string)

Source from the content-addressed store, hash-verified

39}
40
41func NewTable(name ...string) *Table {
42 et := &Table{}
43 if len(name) > 0 {
44 et.SetMetaData("name", name[0])
45 }
46 return et
47}
48
49// IsValidRow returns true if the row is valid
50func (dt *Table) IsValidRow(row int) bool {

Callers 15

TestTablePlotEditorFunction · 0.92
AvgByColumnFunction · 0.92
AnalyzePlanetsFunction · 0.92
mainFunction · 0.92
TestAggFunction · 0.92
TestAggEmptyFunction · 0.92
TestPermutedFunction · 0.92
TestIndexViewFunction · 0.92
DescAllFunction · 0.92
DescIndexFunction · 0.92
TestHistogram32Function · 0.92
TestHistogram64Function · 0.92

Calls 1

SetMetaDataMethod · 0.95

Tested by 12

TestTablePlotEditorFunction · 0.74
TestAggFunction · 0.74
TestAggEmptyFunction · 0.74
TestPermutedFunction · 0.74
TestIndexViewFunction · 0.74
TestHistogram32Function · 0.74
TestHistogram64Function · 0.74
TestPCAIrisFunction · 0.74
TestSVDIrisFunction · 0.74
TestAdd3DColFunction · 0.56
NewTestTableFunction · 0.56
TestTableHeadersFunction · 0.56