MCPcopy Create free account
hub / github.com/datasweet/datatable / NumCols

Method NumCols

table.go:38–40  ·  view source on GitHub ↗

NumCols returns the number of visible columns in datatable

()

Source from the content-addressed store, hash-verified

36
37// NumCols returns the number of visible columns in datatable
38func (t *DataTable) NumCols() int {
39 return len(t.Columns())
40}
41
42// Columns returns the visible column names in datatable
43func (t *DataTable) Columns() []string {

Callers 7

TestNewTableFunction · 0.80
TestNewRowFunction · 0.80
checkTableFunction · 0.80
TestEmptyCopyFunction · 0.80
TestCopyFunction · 0.80
checkInputMethod · 0.80
ImportFunction · 0.80

Calls 1

ColumnsMethod · 0.95

Tested by 5

TestNewTableFunction · 0.64
TestNewRowFunction · 0.64
checkTableFunction · 0.64
TestEmptyCopyFunction · 0.64
TestCopyFunction · 0.64