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

Method AddRows

tensor/table/table.go:312–314  ·  view source on GitHub ↗

AddRows adds n rows to each of the columns

(n int)

Source from the content-addressed store, hash-verified

310
311// AddRows adds n rows to each of the columns
312func (dt *Table) AddRows(n int) { //types:add
313 dt.SetNumRows(dt.Rows + n)
314}
315
316// SetNumRows sets the number of rows in the table, across all columns
317// if rows = 0 then effective number of rows in tensors is 1, as this dim cannot be 0

Callers 1

AppendRowsMethod · 0.95

Implementers 1

_cogentcore_org_core_plot_plots_Tableyaegicore/symbols/cogentcore_org-core-

Calls 1

SetNumRowsMethod · 0.95

Tested by

no test coverage detected