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

Method DeleteAll

tensor/table/table.go:304–309  ·  view source on GitHub ↗

DeleteAll deletes all columns -- full reset

()

Source from the content-addressed store, hash-verified

302
303// DeleteAll deletes all columns -- full reset
304func (dt *Table) DeleteAll() {
305 dt.Columns = nil
306 dt.ColumnNames = nil
307 dt.Rows = 0
308 dt.ColumnNameMap = nil
309}
310
311// AddRows adds n rows to each of the columns
312func (dt *Table) AddRows(n int) { //types:add

Callers 6

ReadCSVMethod · 0.95
F64TableFunction · 0.45
F32TableFunction · 0.45
PlotFunction · 0.45
ProjectColToTableMethod · 0.45
ProjectColToTableMethod · 0.45

Implementers 1

_cogentcore_org_core_plot_plots_Tableyaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by

no test coverage detected