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

Method AddIntColumn

tensor/table/table.go:273–275  ·  view source on GitHub ↗

AddIntColumn adds a new int column with given name. The cells of this column hold a single scalar value.

(name string)

Source from the content-addressed store, hash-verified

271// AddIntColumn adds a new int column with given name.
272// The cells of this column hold a single scalar value.
273func (dt *Table) AddIntColumn(name string) *tensor.Int {
274 return AddColumn[int](dt, name).(*tensor.Int)
275}
276
277// AddIntTensorColumn adds a new n-dimensional int column with given name
278// and dimensionality of each _cell_.

Callers 1

NewTestTableFunction · 0.95

Implementers 1

_cogentcore_org_core_plot_plots_Tableyaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by 1

NewTestTableFunction · 0.76