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

Method AddStringColumn

tensor/table/table.go:239–241  ·  view source on GitHub ↗

AddStringColumn adds a new String column with given name. The cells of this column hold a single string value.

(name string)

Source from the content-addressed store, hash-verified

237// AddStringColumn adds a new String column with given name.
238// The cells of this column hold a single string value.
239func (dt *Table) AddStringColumn(name string) *tensor.String {
240 return AddColumn[string](dt, name).(*tensor.String)
241}
242
243// AddFloat64Column adds a new float64 column with given name.
244// The cells of this column hold a single scalar value.

Callers 14

NewTestTableFunction · 0.95
NewSliceTableFunction · 0.95
TestPCAIrisFunction · 0.95
TestSVDIrisFunction · 0.95
AggsToTableMethod · 0.80
AggsToTableCopyMethod · 0.80
TestAggFunction · 0.80
TestAggEmptyFunction · 0.80
TestPermutedFunction · 0.80
DescAllFunction · 0.80
DescIndexFunction · 0.80
PlotFunction · 0.80

Implementers 1

_cogentcore_org_core_plot_plots_Tableyaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by 6

NewTestTableFunction · 0.76
TestPCAIrisFunction · 0.76
TestSVDIrisFunction · 0.76
TestAggFunction · 0.64
TestAggEmptyFunction · 0.64
TestPermutedFunction · 0.64